GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  JIFTY::DBI::FILTER::TRUNCATE (3)

.ds Aq ’

NAME

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

CONTENTS

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JIFTY::DBI::FILTER::TRUNCATE (3) 2014-05-29

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.