DBIx::SQLEngine::Criteria::StringComparison - Equality or Wildcard Criteria


NAME

DBIx::SQLEngine::Criteria::StringComparison - Equality or Wildcard Criteria


SYNOPSIS

  my $crit = DBIx::SQLEngine::Criteria::StringComparison->new( $expr, $value );


DESCRIPTION

DBIx::SQLEngine::Criteria::StringComparison objects behave as either Equality or Like objects, depending on whether the value they're matching against contains a SQL wildcard "%" character.

sql_comparator()

Returns "like" or "=".


SEE ALSO

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

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

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