Fey::SQL::Where - Represents a "stand-alone" WHERE clause
my $sql = Fey::SQL->new( dbh => $dbh ); # WHERE Machine.machine_id = 2 $sql->where( $machine_id, '=', 2 );
This class represents a stand-alone WHERE clause. This allows you pass a condition as part of an outer join.
WHERE
This class provides the following methods:
To construct an object of this class, call $query->where() on a Fey::SQL object.
$query->where()
Fey::SQL
See the Fey::SQL section on WHERE Clauses for more details.
See the Fey::SQL section on Bind Parameters for more details.
This class does Fey::Role::SQL::HasWhereClause role.
Fey::Role::SQL::HasWhereClause
Dave Rolsky, <autarch@urth.org>
See Fey for details on how to report bugs.
Copyright 2006-2009 Dave Rolsky, 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 Fey, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Fey
CPAN shell
perl -MCPAN -e shell install Fey
For more information on module installation, please visit the detailed CPAN module installation guide.