Commit | Line | Data |
---|---|---|
b8b55c8e | 1 | package # hide from PAUSE |
2 | DBICTest::Schema::CustomSql; | |
3 | ||
4 | use base qw/DBICTest::Schema::Artist/; | |
5 | ||
6 | __PACKAGE__->table('dummy'); | |
7 | ||
8 | __PACKAGE__->result_source_instance->name(\<<SQL); | |
9 | ( SELECT a.*, cd.cdid AS cdid, cd.title AS title, cd.year AS year | |
10 | FROM artist a | |
11 | JOIN cd ON cd.artist = a.artistid | |
12 | WHERE cd.year = ?) | |
13 | SQL | |
14 | ||
15 | 1; |