Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Jifty::DBI::Filter::TrUsertContributed Perl DocJifty::DBI::Filter::Truncate(3)

NAME
       Jifty::DBI::Filter::Truncate - Filter used to enforce max_length	column
       trait

DESCRIPTION
       You do not need to use this filter explicitly. This filter is used
       internally to enforce the "max_length" in Jifty::DBI::Schema
       restrictions on columns:

	 column	name =>
	     type is 'text',
	     max_length	is 10;

       In this case, the filter	would be automatically added to	the column
       named "name" and	any value put into the column longer than 10
       characters would	be truncated to	10 characters.

METHODS
   encode
       This method performs the	work of	performing truncation, when necessary.

LICENSE
       Jifty::DBI is Copyright 2005-2007 Best Practical	Solutions, LLC.
       Jifty::DBI is distributed under the same	terms as Perl itself.

perl v5.32.1			  2014-05-29   Jifty::DBI::Filter::Truncate(3)

NAME | DESCRIPTION | METHODS | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Jifty::DBI::Filter::Truncate&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help