$options
$options : mixed
Database connection options
SQLite database adapter class
$profiler : \Pop\Db\Adapter\Profiler\Profiler
Query profiler
connect(array $options = array()) : \Pop\Db\Adapter\Sqlite
Connect to the database
array | $options |
setOptions(array $options) : \Pop\Db\Adapter\Sqlite
Set database connection options
array | $options |
beginTransaction() : \Pop\Db\Adapter\Sqlite
Begin a transaction
commit() : \Pop\Db\Adapter\Sqlite
Commit a transaction
rollback() : \Pop\Db\Adapter\Sqlite
Rollback a transaction
query(mixed $sql) : \Pop\Db\Adapter\Sqlite
Execute a SQL query directly
mixed | $sql |
prepare(mixed $sql) : \Pop\Db\Adapter\Sqlite
Prepare a SQL query
mixed | $sql |
bindParams(array $params) : \Pop\Db\Adapter\Sqlite
Bind parameters to a prepared SQL query
array | $params |
execute() : \Pop\Db\Adapter\Sqlite
Execute a prepared SQL query
createSql() : \Pop\Db\Sql
Create SQL builder
createSchema() : \Pop\Db\Sql\Schema
Create Schema builder
listen(mixed $listener, mixed $params = null, \Pop\Db\Adapter\Profiler\Profiler $profiler = null) : mixed
Add query listener to the adapter
mixed | $listener | |
mixed | $params | |
\Pop\Db\Adapter\Profiler\Profiler | $profiler |
setProfiler(\Pop\Db\Adapter\Profiler\Profiler $profiler) : \Pop\Db\Adapter\AbstractAdapter
Set query profiler
\Pop\Db\Adapter\Profiler\Profiler | $profiler |
getProfiler() : \Pop\Db\Adapter\Profiler\Profiler
Get query profiler
clearProfiler() : \Pop\Db\Adapter\AbstractAdapter
Clear query profiler
setError(string $error) : \Pop\Db\Adapter\AbstractAdapter
Set the error
string | $error |
clearError() : \Pop\Db\Adapter\AbstractAdapter
Clear the error
bindParam(mixed $param, mixed $value, integer $type = SQLITE3_BLOB) : \Pop\Db\Adapter\Sqlite
Bind a parameter for a prepared SQL query
mixed | $param | |
mixed | $value | |
integer | $type |
bindValue(mixed $param, mixed $value, integer $type = SQLITE3_BLOB) : \Pop\Db\Adapter\Sqlite
Bind a value for a prepared SQL query
mixed | $param | |
mixed | $value | |
integer | $type |