Webservice::InterMine::Constraint::Binary - A representation of a binary attribute constraint
my $constraint = $query->add_constraint("symbol", "=", "zen"); ok($constraint->isa("Webservice::InterMine::Constraint::Binary"));
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:
add_constraint
where
=
Equality. Allows wildcards with * (such as symbol = zen*). All equality operations are case insensitive, so symbol = zen and symbol = ZEN are identical.
*
symbol = zen*
symbol = zen
symbol = ZEN
!=
The inverse of =.
<, <=, >, >=
<
<=
>
>=
Numeric comparison. For strings, case sensitive alphanumeric sorting will be performed.
the value this constraint constrains its attribute in relation to.
Alex Kalderimis dev@intermine.org
dev@intermine.org
Please report any bugs or feature requests to dev@intermine.org.
You can find documentation for this distribution with the perldoc command.
perldoc Webservice::InterMine
You can also look for information at:
InterMine
http://www.intermine.org
Documentation
http://intermine.org/wiki/PerlWebServiceAPI
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.
To install Webservice::InterMine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Webservice::InterMine
CPAN shell
perl -MCPAN -e shell install Webservice::InterMine
For more information on module installation, please visit the detailed CPAN module installation guide.