5 use DBIx::Class::Storage::DBI;
\r
9 my $sa = new DBIC::SQL::Abstract;
\r
11 $sa->limit_dialect( 'Top' );
\r
14 $sa->select( 'rubbish', [ 'foo.id', 'bar.id' ], undef, { order_by => 'artistid' }, 1, 3 ),
\r
19 SELECT TOP 4 foo.id, bar.id FROM rubbish ORDER BY artistid ASC
\r
21 ORDER BY artistid DESC
\r
23 ORDER BY artistid ASC
\r
25 "make sure limit_dialect( 'Top' ) is working okay"
\r