Shawn M Moore > Jifty-DBI-0.59 > Jifty::DBI::Filter::Boolean

Download:
Jifty-DBI-0.59.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View Bugs
Report a bug
Source  

NAME ^

Jifty::DBI::Filter::Boolean - Encodes booleans

DESCRIPTION ^

decode

Transform the value into 1 or 0 so Perl's concept of the boolean's value agrees with the database's concept of the boolean's value. (For example, 't' and 'f' might be used -- 'f' is true in Perl)

encode

Transform the value to the canonical true or false value as expected by the database.

SEE ALSO ^

Jifty::DBI::Filter