Factor out bindattr resolver and tighten code a bit
[dbsrgits/DBIx-Class.git] / t / sqlmaker / sqlite.t
CommitLineData
09cedb88 1use strict;
2use warnings;
3
4use Test::More;
5use lib qw(t/lib);
6use DBICTest;
7use DBIC::SqlMakerTest;
8
9my $schema = DBICTest->init_schema;
10
11is_same_sql_bind(
dbc2b0e8 12 $schema->resultset('Artist')->search ({}, {for => 'update'})->as_query,
13 '(SELECT me.artistid, me.name, me.rank, me.charfield FROM artist me)', [],
14);
09cedb88 15
16done_testing;