NAME

Search::Query::Field::SQL - query field representing a database column

SYNOPSIS

 my $field = Search::Query::Field::SQL->new( 
    name        => 'foo',
    alias_for   => [qw( bar bing )], 
 );

DESCRIPTION

Search::Query::Field::SQL implements field validation and aliasing in SQL search queries.

METHODS

This class is a subclass of Search::Query::Field. Only new or overridden methods are documented here.

BUILD

Available params are also standard attribute accessor methods.

type

The column type.

fuzzy_op
fuzzy_not_op
is_int

Set if type matches m/int|float|bool|time|date/.