| Fey documentation | Contained in the Fey distribution. |
Fey::SQL::Where - Represents a "stand-alone" WHERE clause
version 0.40
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.
This class provides the following methods:
To construct an object of this class, call $query->where() on
a Fey::SQL object.
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.
See Fey for details on how to report bugs.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
| Fey documentation | Contained in the Fey distribution. |
package Fey::SQL::Where; BEGIN { $Fey::SQL::Where::VERSION = '0.40'; } use strict; use warnings; use namespace::autoclean; use Fey::Types; use Moose; use MooseX::SemiAffordanceAccessor; use MooseX::StrictConstructor; with 'Fey::Role::SQL::HasWhereClause'; with 'Fey::Role::SQL::HasBindParams' => { -excludes => 'bind_params' }; with 'Fey::Role::SQL::Cloneable'; __PACKAGE__->meta()->make_immutable(); 1; # ABSTRACT: Represents a "stand-alone" WHERE clause
__END__