NAME
Webservice::InterMine::Constraint::Binary - A representation of a binary attribute constraint
SYNOPSIS
my $constraint = $query->add_constraint("symbol", "=", "zen");
ok($constraint->isa("Webservice::InterMine::Constraint::Binary"));
DESCRIPTION
Constraints are constructed by queries based on the arguments to add_constraint
, or a similar method (such as where
). Binary constraints constrain the values of attributes, and can have one of the following operators:
=
Equality. Allows wildcards with
*
(such assymbol = zen*
). All equality operations are case insensitive, sosymbol = zen
andsymbol = ZEN
are identical.!=
The inverse of
=
.<
,<=
,>
,>=
Numeric comparison. For strings, case sensitive alphanumeric sorting will be performed.
ATTIBUTES
value
the value this constraint constrains its attribute in relation to.
AUTHOR
Alex Kalderimis dev@intermine.org
BUGS
Please report any bugs or feature requests to dev@intermine.org
.
SUPPORT
You can find documentation for this distribution with the perldoc command.
perldoc Webservice::InterMine
You can also look for information at:
InterMine
Documentation
COPYRIGHT AND LICENSE
Copyright 2006 - 2011 FlyMine, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.