Jifty::DBI::Filter::Truncate(3p)

NAME
Jifty::DBI::Filter::Truncate - Truncates column values

DESCRIPTION
This filter truncates column values to the correct length for their type or to a defined max_length (for non-numeric columns).

  encode
If the column is a non-numeric type and has a max_length defined, encode will truncate to that length. If the column is of a type limited by definition (e.g. "char(13)"), encode will truncate the value to fit.

SEE ALSO
Jifty::DBI::Filter