Fey::Role::SQL::HasWhereClause(3)

NAME
Fey::Role::SQL::HasWhereClause - A role for queries which can include a WHERE clause

VERSION
version 0.44

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.

Bugs may be submitted at <https://github.com/ap/Fey/issues>.

SOURCE
The source code repository for Fey can be found at <https://github.com/ap/Fey>.

AUTHOR
Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 - 2025 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this distribution.