☻ 唐鳳 ☺ > Jifty-DBI-0.39_999 > Jifty::DBI::Filter

Download:
Jifty-DBI-0.39_999.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View Bugs
Report a bug
Source   Latest Release: Jifty-DBI-0.59

new

Takes

value_ref

A reference to the current value you're going to be massaging. encode works in place, massaging whatever value_ref refers to.

column

A Jifty::DBI::Column object, whatever sort of column we're working with here.

encode

encode takes data that users are handing to us and marshals it into a form suitable for sticking it in the database. This could be anything from flattening a DateTime object into an ISO date to making sure that data is utf8 clean.

decode

decode takes data that the database is handing back to us and gets it into a form that's OK to hand back to the user. This could be anything from flattening a DateTime object into an ISO date to making sure that data is utf8 clean.