Matthew Simon Cavalletto

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 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.