- class
SqlConnection
(php\sql\SqlConnection
) - source
php/sql/SqlConnection.php
Description
Class SqlConnection
->
autoCommit
:bool
- Disable this to use transaction mode.->
readOnly
:bool
->
transactionIsolation
:int
- See SqlConnection::TRANSACTION* constants_->
catalog
:string
->
schema
:string
->
identifier()
->
query()
->
commit()
- Makes all changes made since the previous->
rollback()
- Undoes all changes made in the current transaction->
close()
->
getCatalogs()
->
getSchemas()
->
getMetaData()
identifier(string $name): string
query(string $sql, array $arguments): SqlStatement
commit(): void
Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by this Connection object.
rollback(): void
Undoes all changes made in the current transaction and releases any database locks currently held by this Connection object.
close(): void
getCatalogs(): array
getSchemas(): array
getMetaData(): array