Trailing WS crusade - got to save them bits
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / CustomSql.pm
CommitLineData
8273e845 1package # hide from PAUSE
b8b55c8e 2 DBICTest::Schema::CustomSql;
3
4use base qw/DBICTest::Schema::Artist/;
5
6__PACKAGE__->table('dummy');
7
8__PACKAGE__->result_source_instance->name(\<<SQL);
8273e845 9 ( SELECT a.*, cd.cdid AS cdid, cd.title AS title, cd.year AS year
b8b55c8e 10 FROM artist a
11 JOIN cd ON cd.artist = a.artistid
12 WHERE cd.year = ?)
13SQL
14
39be4120 15sub sqlt_deploy_hook { $_[1]->schema->drop_table($_[1]) }
16
b8b55c8e 171;