in reply to SQL WHERE clauses with DBIx::Class, using NOT and IN
As you are not typing the SQL statements, but generate it (actually using the power of SQL::Abstract), this way can be much easier than implementing NOT IN.SELECT * FROM my_table WHERE (id <> 12) AND (id <> 13 AND (id <> 17)
|
|---|