X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fsqlmaker%2Fsqlite.t;fp=t%2Fsqlmaker%2Fsqlite.t;h=86fcc82d9c1aa35530b43ce4dbbda6474119da35;hb=d5dedbd62928f65a9071b4d9b6d56c6b663a073b;hp=0000000000000000000000000000000000000000;hpb=2149a4e91f82d2f77657c18d4a0b312327987d5d;p=dbsrgits%2FDBIx-Class.git diff --git a/t/sqlmaker/sqlite.t b/t/sqlmaker/sqlite.t new file mode 100644 index 0000000..86fcc82 --- /dev/null +++ b/t/sqlmaker/sqlite.t @@ -0,0 +1,16 @@ +use strict; +use warnings; + +use Test::More; +use lib qw(t/lib); +use DBICTest; +use DBIC::SqlMakerTest; + +my $schema = DBICTest->init_schema; + +is_same_sql_bind( + $schema->resultset('Artist')->search ({}, {for => 'update'})->as_query, + '(SELECT me.artistid, me.name, me.rank, me.charfield FROM artist me)', [], +); + +done_testing;