morgon has asked for the wisdom of the Perl Monks concerning the following question:
I have dabbled a bit in the excellent DBIx::Class but currently I am having problems with correlated subqueries..
As I can't really find good documentation, could someone please provide an example for me?
For simplicity I refer to the example-schema in DBIx::Class::Manual::Example (the well-known artists-cds-tracks setting).
To keep it simple, could someone please show me how to do a search on the artist-resultset that has an extra column containing the number of cds belonging to the artist.
I am sure it is easy, but I cannot figure it out (too much beer already?) - sp please enlighten me...
Many thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: correlated subqueries in DBIx::Class
by morgon (Priest) on Jan 16, 2011 at 05:20 UTC | |
by Anonymous Monk on Jan 20, 2014 at 00:00 UTC | |
by Anonymous Monk on Jan 20, 2014 at 00:07 UTC |