Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SQLEngine::Criteria::HUserrContributed Perl DSQLEngine::Criteria::HashGroup(3)

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

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.

perl v5.32.0			  2004-11-13 SQLEngine::Criteria::HashGroup(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DBIx::SQLEngine::Criteria::HashGroup&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help