Метод |
Описание |
|
adapterName ( ) : string |
|
|
addLock ( &$sql, array $options = [] ) |
SELECT . |
|
beginDbTransaction ( ) |
Begins the transaction (and turns off auto-committing). |
|
commitDbTransaction ( ) |
Commits the transaction (and turns on auto-committing). |
|
connect ( ) |
Connect to the db. |
|
emptyInsertStatement ( $tableName ) |
|
|
execute ( string $sql, mixed $arg1 = null, string $arg2 = null ) |
Executes the SQL statement in the context of this connection. |
|
rollbackDbTransaction ( ) |
Rolls back the transaction (and turns on auto-committing). Must be
done if the transaction block raises an exception or returns false. |
|
supportsAutoIncrement ( ) |
|
|
supportsCountDistinct ( ) : boolean |
Does this adapter support using DISTINCT within COUNT? This is +true+
for all adapters except sqlite. |
|
supportsInterval ( ) : boolean |
Does this adapter support using INTERVAL statements? This is +true+
for all adapters except sqlite. |
|
supportsMigrations ( ) : boolean |
|
|