The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use strict;
use lib qw(t/lib);
use DBICTest ':DiffSQL';
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;