DB_dbindexDefines a database index.
Located in /pg-schema-defs.php (line 174)
SchemaObject | --dbindex | --DB_dbindex
DB_dbindex
DB_dbindex
(mixed &$schema, mixed $name, mixed $tablename, [mixed $flds = ""], [mixed $primary = false], [mixed $unique = false], [mixed $clustered = false], [mixed $access = ""])
mixed
$access_method
= "" (line 178)
Access method, eg. btree, hash etc.
mixed
$clustered
= false (line 176)
True if index is clustered
mixed
$fieldnums
= array() (line 180)
Field numbers of fields in index
Inherited from dbindex
dbindex::$fieldnames
dbindex::$primary
dbindex::$tablename
dbindex::$unique
Inherited from SchemaObject
SchemaObject::$name
SchemaObject::$schema
Return SQL required to create this index.
Obtain index schema information.
NB: For indexes this only retrieves the fields as numeric offsets in the list of fields on the table the index is for. The $fieldnames array of this index must be populated by the dbtable descendant.
Inherited From dbindex
dbindex::dbindex()
dbindex::create()
dbindex::drop()
dbindex::dump()
dbindex::getschema()
dbindex::set()
Inherited From SchemaObject
SchemaObject::SchemaObject()
Documentation generated by phpDocumentor 1.3.0RC3