NAME

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

SYNOPSIS

  use Moose;

  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()

Returns the WHERE clause portion of the SQL statement as a string.

AUTHOR

Dave Rolsky, <autarch@urth.org>

BUGS

See Fey for details on how to report bugs.

COPYRIGHT & LICENSE

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.