Class for connecting to SQLite2 and SQLite3 databases and performing common operations.
Located in /Db/Adapter/Pdo/Sqlite.php (line 39)
Zend_Db_Adapter_Abstract | --Zend_Db_Adapter_Pdo_Abstract | --Zend_Db_Adapter_Pdo_Sqlite
Keys are UPPERCASE SQL datatypes or the constants Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, or Zend_Db::FLOAT_TYPE.
Values are:
PDO type
Inherited from Zend_Db_Adapter_Pdo_Abstract
Zend_Db_Adapter_Pdo_Abstract::$_defaultStmtClass
Inherited from Zend_Db_Adapter_Abstract
Zend_Db_Adapter_Abstract::$_allowSerialization
Zend_Db_Adapter_Abstract::$_autoQuoteIdentifiers
Zend_Db_Adapter_Abstract::$_autoReconnectOnUnserialize
Zend_Db_Adapter_Abstract::$_caseFolding
Zend_Db_Adapter_Abstract::$_config
Zend_Db_Adapter_Abstract::$_connection
Zend_Db_Adapter_Abstract::$_defaultProfilerClass
Zend_Db_Adapter_Abstract::$_fetchMode
Zend_Db_Adapter_Abstract::$_profiler
Constructor.
$config is an array of key/value pairs containing configuration options. Note that the SQLite options are different than most of the other PDO adapters in that no username or password are needed. Also, an extra config key "sqlite2" specifies compatibility mode.
dbname => (string) The name of the database to user (required, use :memory: for memory-based database)
sqlite2 => (boolean) PDO_SQLITE defaults to SQLite 3. For compatibility with an older SQLite 2 database, set this to TRUE.
Returns the column descriptions for a table.
The return value is an associative array keyed by the column name, as returned by the RDBMS.
The value of each array element is an associative array with the following keys:
SCHEMA_NAME => string; name of database or schema TABLE_NAME => string; COLUMN_NAME => string; column name COLUMN_POSITION => number; ordinal position of column in table DATA_TYPE => string; SQL datatype name of column DEFAULT => string; default expression of column, null if none NULLABLE => boolean; true if column can have nulls LENGTH => number; length of CHAR/VARCHAR SCALE => number; scale of NUMERIC/DECIMAL PRECISION => number; precision of NUMERIC/DECIMAL UNSIGNED => boolean; unsigned property of an integer type PRIMARY => boolean; true if column is part of the primary key PRIMARY_POSITION => integer; position of column in primary key IDENTITY => integer; true if column is auto-generated with unique values
Adds an adapter-specific LIMIT clause to the SELECT statement.
Returns a list of the tables in the database.
Check for config options that are mandatory.
Throw exceptions if any are missing.
Special configuration for SQLite behavior: make sure that result sets contain keys like 'column' instead of 'table.column'.
DSN builder
Inherited From Zend_Db_Adapter_Pdo_Abstract
Zend_Db_Adapter_Pdo_Abstract::closeConnection()
Zend_Db_Adapter_Pdo_Abstract::exec()
Zend_Db_Adapter_Pdo_Abstract::getServerVersion()
Zend_Db_Adapter_Pdo_Abstract::isConnected()
Zend_Db_Adapter_Pdo_Abstract::lastInsertId()
Zend_Db_Adapter_Pdo_Abstract::prepare()
Zend_Db_Adapter_Pdo_Abstract::query()
Zend_Db_Adapter_Pdo_Abstract::setFetchMode()
Zend_Db_Adapter_Pdo_Abstract::supportsParameters()
Zend_Db_Adapter_Pdo_Abstract::_beginTransaction()
Zend_Db_Adapter_Pdo_Abstract::_commit()
Zend_Db_Adapter_Pdo_Abstract::_connect()
Zend_Db_Adapter_Pdo_Abstract::_dsn()
Zend_Db_Adapter_Pdo_Abstract::_quote()
Zend_Db_Adapter_Pdo_Abstract::_rollBack()
Inherited From Zend_Db_Adapter_Abstract
Zend_Db_Adapter_Abstract::__construct()
Zend_Db_Adapter_Abstract::beginTransaction()
Zend_Db_Adapter_Abstract::closeConnection()
Zend_Db_Adapter_Abstract::commit()
Zend_Db_Adapter_Abstract::delete()
Zend_Db_Adapter_Abstract::describeTable()
Zend_Db_Adapter_Abstract::fetchAll()
Zend_Db_Adapter_Abstract::fetchAssoc()
Zend_Db_Adapter_Abstract::fetchCol()
Zend_Db_Adapter_Abstract::fetchOne()
Zend_Db_Adapter_Abstract::fetchPairs()
Zend_Db_Adapter_Abstract::fetchRow()
Zend_Db_Adapter_Abstract::foldCase()
Zend_Db_Adapter_Abstract::getConfig()
Zend_Db_Adapter_Abstract::getConnection()
Zend_Db_Adapter_Abstract::getFetchMode()
Zend_Db_Adapter_Abstract::getProfiler()
Zend_Db_Adapter_Abstract::getQuoteIdentifierSymbol()
Zend_Db_Adapter_Abstract::getServerVersion()
Zend_Db_Adapter_Abstract::getStatementClass()
Zend_Db_Adapter_Abstract::insert()
Zend_Db_Adapter_Abstract::isConnected()
Zend_Db_Adapter_Abstract::lastInsertId()
Zend_Db_Adapter_Abstract::lastSequenceId()
Zend_Db_Adapter_Abstract::limit()
Zend_Db_Adapter_Abstract::listTables()
Zend_Db_Adapter_Abstract::nextSequenceId()
Zend_Db_Adapter_Abstract::prepare()
Zend_Db_Adapter_Abstract::query()
Zend_Db_Adapter_Abstract::quote()
Zend_Db_Adapter_Abstract::quoteColumnAs()
Zend_Db_Adapter_Abstract::quoteIdentifier()
Zend_Db_Adapter_Abstract::quoteInto()
Zend_Db_Adapter_Abstract::quoteTableAs()
Zend_Db_Adapter_Abstract::rollBack()
Zend_Db_Adapter_Abstract::select()
Zend_Db_Adapter_Abstract::setFetchMode()
Zend_Db_Adapter_Abstract::setProfiler()
Zend_Db_Adapter_Abstract::setStatementClass()
Zend_Db_Adapter_Abstract::supportsParameters()
Zend_Db_Adapter_Abstract::update()
Zend_Db_Adapter_Abstract::_beginTransaction()
Zend_Db_Adapter_Abstract::_checkRequiredOptions()
Zend_Db_Adapter_Abstract::_commit()
Zend_Db_Adapter_Abstract::_connect()
Zend_Db_Adapter_Abstract::_quote()
Zend_Db_Adapter_Abstract::_quoteIdentifier()
Zend_Db_Adapter_Abstract::_quoteIdentifierAs()
Zend_Db_Adapter_Abstract::_rollBack()
Zend_Db_Adapter_Abstract::_whereExpr()
Zend_Db_Adapter_Abstract::__sleep()
Zend_Db_Adapter_Abstract::__wakeup()
Documentation generated on Mon, 21 Jun 2010 15:46:07 -0400 by phpDocumentor 1.4.3