Is it possible to do a search on a field where it is not equal to a list
of values.
For example, the sql I would like to produce is as follows:
WHERE id NOT IN (?,?,?)
however doing:
->search({
id => { '!=', \...@id_list }
});
doesn't do the right thing as you get:
WHERE id != ? OR id != ? OR id != ?
the only other way I can think is to do a search_literal with some
string concatenation.
Any help would be great,
Stuart.
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]