GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DBIX::SQLENGINE::CRITERIA::HASHGROUP (3)

.ds Aq ’

NAME

DBIx::SQLEngine::Criteria::HashGroup - A group of string criteria

CONTENTS

SYNOPSIS



  my $crit = DBIx::SQLEngine::Criteria::HashGroup->new(
    customer => Acme Inc., status => [ open, pending ]
  );



DESCRIPTION

DBIx::SQLEngine::Criteria::HashGroup objects provide a convenient way to bundle several criteria together in a Perl hash structure.

Each key-value pair is converted to a StringComparison Criteria, except if the value is an array reference, which produces an Or group of StringComparisons that will match any one of the provided values.

    Evaluation

sql_where () $sql_where_expression


  $criteria->sql_where() : $sql, @params



Generates SQL criteria expression.

normalized() Called by sql_where to convert the hash structure into simpler criteria objects.

SEE ALSO

See DBIx::SQLEngine::Criteria and DBIx::SQLEngine::Criteria::Comparison for more information on using these objects.

See DBIx::SQLEngine for the overall interface and developer documentation.

See DBIx::SQLEngine::Docs::ReadMe for general information about this distribution, including installation and license information.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SQLENGINE::CRITERIA::HASHGROUP (3) 2004-11-13

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.