|
NAMEJifty::DBI::Column - Encapsulates a single column in a Jifty::DBI::Record tableDESCRIPTIONThis class encapsulates a single column in a Jifty::DBI::Record table description. It replaces the _accessible method in Jifty::DBI::Record.It has the following accessors: "name type default validator boolean refers_to readable writable length". newis_numericReturns true if the column is of some numeric type, otherwise returns false.is_stringReturns true if this column is a text fieldis_booleanReturns true if this column is a booleanserialize_metadataReturns a hash describing this column object with enough detail to fully describe it in the database. Intentionally skips "record_class", all column attributes starting with "_", and all column attributes which are undefined. The "known" attributes in the "attributes" hash are flattened and returned as well. The list of known attributes are:
serialize_metadata2Returns a hash describing this column object with enough detail to fully describe it in the database. Intentionally skips "record_class", all column attributes starting with "_", and all column attributes which are undefined.validatorGets/sets the validator coderef for the column.readDEPRECATED. Use "$column->readable" instead.writeDEPRECATED. Use "$column->writable" instead.lengthDEPRECATED. Use "$column->max_length" instead.untilDEPRECATED. Use "$column->till" instead.activeReturns the a true value if the column method exists for the current application version. The current application version is determined by checking the "schema_version" in Jifty::DBI::Record of the column's "record_class". This method returns a false value if the column is not yet been added or has been dropped.This method returns a false value under these circumstances:
Otherwise, this method returns true.
Visit the GSP FreeBSD Man Page Interface. |