NAME

DB::Object::NOT - NOT Operator Object

SYNOPSIS

my $op = $dbh->AND( login => 'joe', status => $dbh->NOT( 'active' ) );
# will produce:
WHERE login = 'joe' AND status != 'active'

DESCRIPTION

This is the NOT object class inheriting from DB::Object::Operator

METHODS

new

Takes a list of values that are saved in the newly created object returned.

operator

Returns NOT

value

In list context, returns an array of those values passed to "new" and in scalar context, it returns those value as array reference.

SEE ALSO

DBI, Apache::DBI

AUTHOR

Jacques Deguest <jack@deguest.jp>

COPYRIGHT & LICENSE

Copyright (c) 2019-2021 DEGUEST Pte. Ltd.

You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.