beginTransaction()
beginTransaction() : \Pop\Db\Adapter\AdapterInterface
Begin a transaction
Db adapter interface
beginTransaction() : \Pop\Db\Adapter\AdapterInterface
Begin a transaction
commit() : \Pop\Db\Adapter\AdapterInterface
Commit a transaction
rollback() : \Pop\Db\Adapter\AdapterInterface
Rollback a transaction
query(string $sql) : \Pop\Db\Adapter\AdapterInterface
Execute a SQL query directly
string | $sql |
prepare(string $sql) : \Pop\Db\Adapter\AdapterInterface
Prepare a SQL query.
string | $sql |
bindParams(array $params) : \Pop\Db\Adapter\AdapterInterface
Bind parameters to a prepared SQL query
array | $params |
execute() : \Pop\Db\Adapter\AdapterInterface
Execute a prepared SQL query
listen(mixed $listener) : \Pop\Db\Adapter\AdapterInterface
Add query listener to the adapter
mixed | $listener |
setProfiler(\Pop\Db\Adapter\Profiler\Profiler $profiler) : \Pop\Db\Adapter\AdapterInterface
Set query profiler
\Pop\Db\Adapter\Profiler\Profiler | $profiler |
getProfiler() : \Pop\Db\Adapter\Profiler\Profiler
Get query profiler
clearProfiler() : \Pop\Db\Adapter\AdapterInterface
Clear query profiler
setError(string $error) : \Pop\Db\Adapter\AdapterInterface
Set the error
string | $error |
clearError() : \Pop\Db\Adapter\AdapterInterface
Clear the error