Fey::SQL::Where(3)

NAME
Fey::SQL::Where - Represents a "stand-alone" WHERE clause

VERSION
version 0.44

SYNOPSIS
  my $sql = Fey::SQL->new( dbh => $dbh );

  # WHERE Machine.machine_id = 2
  $sql->where( $machine_id, '=', 2 );

DESCRIPTION
This class represents a stand-alone "WHERE" clause. This allows you pass a condition as part of an outer join.

METHODS
This class provides the following methods:

  Constructor
To construct an object of this class, call "$query->where()" on a "Fey::SQL" object.

  $where->where()
See the Fey::SQL section on WHERE Clauses for more details.

  $where->bind_params()
See the Fey::SQL section on Bind Parameters for more details.

ROLES
This class does "Fey::Role::SQL::HasWhereClause" role.

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.