Class describing a database field of a Postgres table.
Located in /pg-schema-defs.php (line 426)
SchemaObject | --dbfield | --DB_dbfield
Whether this field is an array of values
Inherited from dbfield
dbfield::$constraints
dbfield::$defaultval
dbfield::$ispkey
dbfield::$notnull
dbfield::$num
dbfield::$type
Inherited from SchemaObject
SchemaObject::$name
SchemaObject::$schema
Dump field description to stdout.
Return the generic type of the field. The generic types are as
follows: text Fixed or varying length strings numeric Integers, real numbers or money datetime Times, dates date-times logical Boolean or bit field (true/false)
You should override this method to return the appropriate generic field types from this list, for your database type. NB: Override this function to get schema info per DB type.
Return true if the field is of an integer class. We exclude the serial types due to the initial purpose of this method - to determine fields which are standalone integer types, without attached sequences.
NB: Override this function to get schema info per DB type.
Return true if the field is of a 'serial' class. This is a pseudo class of types which encapsulates integer fields which are able to auto-increment themselves when records are inserted.
NB: Override this function to get schema info per DB type.
Inherited From dbfield
dbfield::dbfield()
dbfield::constraints_match()
dbfield::create()
dbfield::create_constraints()
dbfield::drop()
dbfield::dump()
dbfield::generic_type()
dbfield::is_integer_class()
dbfield::is_serial_class()
Inherited From SchemaObject
SchemaObject::SchemaObject()
Documentation generated by phpDocumentor 1.3.0RC3