$connection
$connection : mixed
Database connection object/resource
SQL Server database adapter class
$profiler : \Pop\Db\Adapter\Profiler\Profiler
Query profiler
beginTransaction() : \Pop\Db\Adapter\Sqlsrv
Begin a transaction
commit() : \Pop\Db\Adapter\Sqlsrv
Commit a transaction
rollback() : \Pop\Db\Adapter\Sqlsrv
Rollback a transaction
query(mixed $sql) : \Pop\Db\Adapter\Sqlsrv
Execute a SQL query directly
mixed | $sql |
prepare(mixed $sql) : \Pop\Db\Adapter\Sqlsrv
Prepare a SQL query
mixed | $sql |
bindParams(array $params, mixed $options = null) : \Pop\Db\Adapter\Sqlsrv
Bind parameters to a prepared SQL query
array | $params | |
mixed | $options |
execute() : \Pop\Db\Adapter\Sqlsrv
Execute a prepared SQL query
createSql() : \Pop\Db\Sql
Create SQL builder
createSchema() : \Pop\Db\Sql\Schema
Create Schema builder
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