NAME
DB::Object::OR - OR Operator Object
SYNOPSIS
my $op = $dbh->OR( login => 'joe', login => 'john' );
# will produce:
WHERE login = 'joe' OR login = 'john'
DESCRIPTION
This is the OR
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 OR
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
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.