Peter Karman > Search-Query > Search::Query::Field::SQL

Download:
Search-Query-0.304.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.304   Source  

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

syntax highlighting: