A gateway and abstraction layer for SQLite
Located in /Db/Gateway/Pdo/Sqlite.php (line 28)
Xyster_Db_Gateway_Abstract | --Xyster_Db_Gateway_Pdo_Sqlite
Creates a new MySQL DB gateway
Drops a column
SQLite does not support dropping columns
Lists all foreign keys
The return value is an associative array keyed by the key name, as returned by the RDBMS.
The value of each array element is an associative array with the following keys:
KEY_NAME => string; foreign key name SCHEMA_NAME => string; name of database or schema TABLE_NAME => string; name of table COLUMNS => array; An array of the column names ON_UPDATE => string; ON_DELETE => string;
Lists all indexes
The return value is an associative array keyed by the index name, as returned by the RDBMS. For now, we cannot easily calculate the primary key status in SQLite.
The value of each array element is an associative array with the following keys:
INDEX_NAME => string; index name SCHEMA_NAME => string; name of database or schema TABLE_NAME => string; name of table COLUMNS => array; An array of the column names PRIMARY => boolean; true if the index is a primary key UNIQUE => boolean; true if the index is a unique key
Renames a column
SQLite doesn't support renaming columns
Renames an index
Sets the database adapter
Sets the default value for a column
SQLite does not support setting column default values
Creates a unique index on a column or columns
SQLite doesn't allow you to add unique indexes in this way after the fact; you should instead use the createIndex method.
Whether the database supports foreign keys
Gets the SQL statement to add a primary key to a table
SQLite doesn't support adding primary keys after table creation
Gets the SQL statement to create an index
Gets the SQL statement to drop an index
Gets the SQL statement to drop a primary key from a table
Dropping a primary key is not supported by SQLite
Gets the SQL statement to list the sequences
Gets the SQL statement to rename a column in a table
SQLite does not support renaming of columns; an exception will always be thrown.
Gets the SQL statement to rename an index
This method is left empty because in this class we overwrite the renameIndex method in the abstract gateway, which calls this one.
Gets the SQL statement to rename a table
Gets the SQL statement to set a column's NULL status
SQLite does not support altering the nullability of a column.
Gets the SQL statement to set the data type of a column
SQLite does not support altering the type of a column
Translates a DataType enum into the correct SQL syntax
SQLite has very interesting data type implemetation. As such, we have tried to convert the expected SQL:2003 data types into SQLite's type affinities. Date times are part of the TEXT type, boolean part of INTEGER.
Inherited From Xyster_Db_Gateway_Abstract
Xyster_Db_Gateway_Abstract::__construct()
Xyster_Db_Gateway_Abstract::addColumn()
Xyster_Db_Gateway_Abstract::addForeign()
Xyster_Db_Gateway_Abstract::addPrimary()
Xyster_Db_Gateway_Abstract::createIndex()
Xyster_Db_Gateway_Abstract::createSequence()
Xyster_Db_Gateway_Abstract::createTable()
Xyster_Db_Gateway_Abstract::dropColumn()
Xyster_Db_Gateway_Abstract::dropForeign()
Xyster_Db_Gateway_Abstract::dropIndex()
Xyster_Db_Gateway_Abstract::dropPrimary()
Xyster_Db_Gateway_Abstract::dropSequence()
Xyster_Db_Gateway_Abstract::dropTable()
Xyster_Db_Gateway_Abstract::executeIndexBuilder()
Xyster_Db_Gateway_Abstract::executeTableBuilder()
Xyster_Db_Gateway_Abstract::getAdapter()
Xyster_Db_Gateway_Abstract::listForeignKeys()
Xyster_Db_Gateway_Abstract::listIndexes()
Xyster_Db_Gateway_Abstract::listSequences()
Xyster_Db_Gateway_Abstract::renameColumn()
Xyster_Db_Gateway_Abstract::renameIndex()
Xyster_Db_Gateway_Abstract::renameSequence()
Xyster_Db_Gateway_Abstract::renameTable()
Xyster_Db_Gateway_Abstract::setDefault()
Xyster_Db_Gateway_Abstract::setNull()
Xyster_Db_Gateway_Abstract::setType()
Xyster_Db_Gateway_Abstract::setUnique()
Xyster_Db_Gateway_Abstract::supportsForeignKeys()
Xyster_Db_Gateway_Abstract::supportsSequences()
Xyster_Db_Gateway_Abstract::_getAddColumnSql()
Xyster_Db_Gateway_Abstract::_getAddForeignSql()
Xyster_Db_Gateway_Abstract::_getAddPrimarySql()
Xyster_Db_Gateway_Abstract::_getCreateIndexSql()
Xyster_Db_Gateway_Abstract::_getCreateSequenceSql()
Xyster_Db_Gateway_Abstract::_getCreateTableSql()
Xyster_Db_Gateway_Abstract::_getDropColumnSql()
Xyster_Db_Gateway_Abstract::_getDropForeignSql()
Xyster_Db_Gateway_Abstract::_getDropIndexSql()
Xyster_Db_Gateway_Abstract::_getDropPrimarySql()
Xyster_Db_Gateway_Abstract::_getDropSequenceSql()
Xyster_Db_Gateway_Abstract::_getDropTableSql()
Xyster_Db_Gateway_Abstract::_getListSequencesSql()
Xyster_Db_Gateway_Abstract::_getRenameColumnSql()
Xyster_Db_Gateway_Abstract::_getRenameIndexSql()
Xyster_Db_Gateway_Abstract::_getRenameSequenceSql()
Xyster_Db_Gateway_Abstract::_getRenameTableSql()
Xyster_Db_Gateway_Abstract::_getSetDefaultSql()
Xyster_Db_Gateway_Abstract::_getSetNullSql()
Xyster_Db_Gateway_Abstract::_getSetTypeSql()
Xyster_Db_Gateway_Abstract::_getSetUniqueSql()
Xyster_Db_Gateway_Abstract::_makeArray()
Xyster_Db_Gateway_Abstract::_quote()
Xyster_Db_Gateway_Abstract::_setAdapter()
Xyster_Db_Gateway_Abstract::_translateType()
Documentation generated on Mon, 19 May 2008 17:08:34 -0400 by phpDocumentor 1.4.2