Database independent query interface definition for the SQLite PECL extension.
Located in /maintenance/libraries/pear/DB/sqlite.php (line 35)
PEAR | --DB_common | --DB_sqlite
Inherited from DB_common
DB_common::$dbh
DB_common::$errorcode_map
DB_common::$features
DB_common::$fetchmode
DB_common::$fetchmode_object_class
DB_common::$last_query
DB_common::$options
DB_common::$prepared_queries
DB_common::$prepare_maxstmt
Constructor for this class.
Error codes according to sqlite_exec. Error Codes specification is in the online manual.
This errorhandling based on sqlite_exec is not yet implemented.
Gets the number of rows affected by a query.
Connect to a database represented by a file.
Creates a new sequence
Log out and disconnect from the database.
Deletes a sequence
Determine PEAR::DB error code from the database's text error message.
Get the native error string of the last error (if any) that occured on the current connection.
This is used to retrieve more meaningfull error messages DB_pgsql way since sqlite_last_error() does not provide adequate info.
Escape a string according to the current DBMS's standards
In SQLite, this makes things safe for inserts/updates, but may cause problems when performing text comparisons against columns containing binary data. See the PHP manual for more info.
Fetch a row and insert the data into an existing array.
Formating of the array and the data therein are configurable. See DB_result::fetchInto() for more information.
Free the internal resources associated with $result.
Get the file stats for the current database.
Possible arguments are dev, ino, mode, nlink, uid, gid, rdev, size, atime, mtime, ctime, blksize, blocks or a numeric key between
Returns the query needed to get some backend info.
Refer to the online manual at http://sqlite.org/sqlite.html.
Returns the next free id in a sequence
Move the internal sqlite result pointer to the next available result.
Gets the number of columns in a result set.
Gets the number of rows affected by a query.
Send a query to SQLite and returns the results as a SQLite resource identifier.
Gather information about an error, then use that info to create a DB error object and finally return that object.
"DELETE FROM table" gives 0 affected rows in SQLite.
This little hack lets you know how many rows were deleted.
Inherited From DB_common
DB_common::DB_common()
DB_common::affectedRows()
DB_common::autoCommit()
DB_common::autoExecute()
DB_common::autoPrepare()
DB_common::buildManipSQL()
DB_common::commit()
DB_common::createSequence()
DB_common::dropSequence()
DB_common::errorCode()
DB_common::errorMessage()
DB_common::errorNative()
DB_common::escapeSimple()
DB_common::execute()
DB_common::executeEmulateQuery()
DB_common::executeMultiple()
DB_common::freePrepared()
DB_common::getAll()
DB_common::getAssoc()
DB_common::getCol()
DB_common::getListOf()
DB_common::getOne()
DB_common::getOption()
DB_common::getRow()
DB_common::getSequenceName()
DB_common::getSpecialQuery()
DB_common::getTables()
DB_common::limitQuery()
DB_common::modifyLimitQuery()
DB_common::modifyQuery()
DB_common::nextId()
DB_common::numRows()
DB_common::prepare()
DB_common::provides()
DB_common::query()
DB_common::quote()
DB_common::quoteIdentifier()
DB_common::quoteSmart()
DB_common::quoteString()
DB_common::raiseError()
DB_common::rollback()
DB_common::setFetchMode()
DB_common::setOption()
DB_common::tableInfo()
DB_common::toString()
DB_common::_convertNullArrayValuesToEmpty()
DB_common::_rtrimArrayValues()
Documentation generated on Fri, 10 Dec 2004 18:26:29 +0000 by phpDocumentor 1.3.0RC3