Method |
Description |
|
__construct ( $dsn, $user = NULL, $password = NULL, array $options = NULL ) |
|
|
beginTransaction ( ) : void |
|
|
commit ( ) : void |
|
|
connect ( ) : void |
|
|
disconnect ( ) : void |
|
|
fetch ( $sql, $params ) : Nette\Database\Row |
Shortcut for query()->fetch() |
|
fetchAll ( $sql, $params ) : array |
Shortcut for query()->fetchAll() |
|
fetchField ( $sql, $params ) : mixed |
Shortcut for query()->fetchField() |
|
fetchPairs ( $sql, $params ) : array |
Shortcut for query()->fetchPairs() |
|
getDsn ( ) : string |
|
|
getInsertId ( $name = NULL ) : string |
|
|
getPdo ( ) : PDO |
|
|
getSupplementalDriver ( ) : Nette\Database\ISupplementalDriver |
|
|
literal ( $value, $params ) : SqlLiteral |
|
|
preprocess ( $sql, $params ) : [string, |
|
|
query ( $sql, $params ) : ResultSet |
Generates and executes SQL query. |
|
queryArgs ( $sql, array $params ) : ResultSet |
|
|
quote ( $string, $type = PDO::PARAM_STR ) : string |
|
|
reconnect ( ) : void |
|
|
rollBack ( ) : void |
|
|