pclib  2.3.2
Lightweight PHP framework
PdoSqliteDriver Class Reference

SQLite database driver. More...

Inheritance diagram for PdoSqliteDriver:
PdoDriver AbstractDriver

Additional Inherited Members

- Public Member Functions inherited from AbstractDriver
 setLimit ($numRows, $offset=0)
 The portable way to perform limit. More...
 
 connect ($ds)
 Connect to database. More...
 
 close ()
 Close database connection. More...
 
 seek ($res, $rowno)
 Seek resource $res to position $rowno. More...
 
 getInsertId ()
 Return last insert id.
 
 numRows ($res=null)
 Return number of rows in result $res.
 
 affectedRows ($res=null)
 Return number of rows affected. More...
 
 query ($sql)
 Execute query $sql.
 
 fetch ($res=null, $fmt= 'a')
 Fetch one row from query result. More...
 
 lastError ()
 Return last driver error message.
 
 codePage ($cp)
 Set connection character set. More...
 
 dbName ()
 Return current database name.
 
 columns ($table)
 Return columns metadata (name,size,type,nullable,default) of table $table as associative array. More...
 
 indexes ($table)
 Return indexes of table $table as associative array.
 
 quote ($str)
 Quote identifier. More...
 
 escape ($str, $type= 'string')
 Escape parameters for usage in database query. More...
 
- Data Fields inherited from AbstractDriver
 $connection
 Active database connection link. More...
 
 $error
 Contains last error message - test it after calling any db-function to check if any error occurs.
 
 $res
 Store last query result resource. More...
 
 $forceReconnect = true
 Create new connection even if connection with same params exists.
 
 $extension
 Required PHP extension - such as 'mysql'. More...
 
 $verboseErrors = false
 Include internal details (such as SQL code) into error messages. More...
 
- Protected Attributes inherited from AbstractDriver
 $limit
 Store portable limit clausule.
 

Detailed Description

SQLite database driver.

Implements support of sqlite database engine.


The documentation for this class was generated from the following file: