search_literal
Arguments: $sql_fragment, @bind_valuesReturn Value: $resultset (scalar context), @row_objs (list context)
Pass a literal chunk of SQL to be added to the conditional part of the resultset query.my @cds = $cd_rs->search_literal('year = ? AND title = ?', qw/2001 R +eload/); my $newrs = $artist_rs->search_literal('name = ?', 'Metallica');
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
In reply to Re: Migrating to DBIx::Class
by CountZero
in thread Migrating to DBIx::Class
by DBX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |