Hello,

Is there a conceptual obstacle to introduce NOT operator, that accepts
hashref as an argument, like this:

  my ($where, @bind) = $sql->where(
      {
          -not => {
              id => {
                  '>' => 5,
                  '<' => 10,
              }
          }
      }
  );
  is_deeply(
      [$where, @bind],
      [' WHERE ( NOT ( ( id < ? AND id > ? ) ) )', 10, 5],
      '-not');


Regards,
Ivan

_______________________________________________
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]

Reply via email to