A builder for indexes
Located in /Db/Gateway/IndexBuilder.php (line 32)
Xyster_Db_Gateway_Builder | --Xyster_Db_Gateway_IndexBuilder
Executes the create table statement
Sets the index to be full text
An index cannot be both full text and unique
Gets the columns in the index
Gets the table name
Whether the index is full text
Whether the index is UNIQUE
Assigns the index to reference a table and columns
The schema name should be specified in the IndexBuilder constructor.
The columns array should either be an array with column names as values or an array with column names as keys and either "ASC" or "DESC" for each value (indicating the sort order of the index). You can actually mix and match:
array( 'my_column', 'another_column' => 'DESC', 'foobar_column', 'final_column' => 'ASC', );
Sets the index to be UNIQUE
An index cannot be both full text and unique
Inherited From Xyster_Db_Gateway_Builder
Xyster_Db_Gateway_Builder::__construct()
Xyster_Db_Gateway_Builder::execute()
Xyster_Db_Gateway_Builder::getName()
Xyster_Db_Gateway_Builder::getSchema()
Xyster_Db_Gateway_Builder::_getGateway()
Documentation generated on Mon, 19 May 2008 17:08:22 -0400 by phpDocumentor 1.4.2