Take me over?
NAME
Fey::Role::SQL::HasWhereClause - A role for queries which can include a WHERE clause
VERSION
version 0.43
SYNOPSIS
use Moose 2.1200;
with 'Fey::Role::SQL::HasWhereClause';
DESCRIPTION
Classes which do this role represent a query which can include a WHERE
clause.
METHODS
This role provides the following methods:
$query->where(...)
See the Fey::SQL section on WHERE Clauses for more details.
$query->and(...)
See the Fey::SQL section on WHERE Clauses for more details.
$query->where_clause( $dbh, $skip_where )
Returns the WHERE
clause portion of the SQL statement as a string. The first argument, a database handle, is required. If the second argument is true, the string returned will not start with "WHERE", it will simply start with the where clause conditions.
BUGS
See Fey for details on how to report bugs.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 - 2015 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)