SqlConnection¶
-
php\sql\SqlConnection
abstract class
Constants
Properties
Methods
identifier
($name)¶throws php\sql\SqlException
Parameters:
- $name – string
Returns: string
query
($sql, $arguments = null)¶
Parameters:
- $sql – string
- $arguments – array
Returns:
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
()¶
Returns: array
getSchemas
()¶
Returns: array
getMetaData
()¶
Returns: array