SqlConnection¶
-
php\sql\SqlConnection
abstract class
Constants
Properties
Methods
identifier
($name)¶throws php\sql\SqlException
Параметры:
- $name –
string
Результат:
string
query
($sql, $arguments = null)¶
Параметры:
- $sql –
string
- $arguments –
array
Результат:
commit
()¶Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by this Connection object.
throws php\sql\SqlException
rollback
()¶Undoes all changes made in the current transaction and releases any database locks currently held by this Connection object.
throws php\sql\SqlException
close
()¶throws php\sql\SqlException
getCatalogs
()¶
Результат: array
getSchemas
()¶
Результат: array
getMetaData
()¶
Результат: array