Method |
Description |
|
__call ( $func, array $args ) : mixed |
Redirect call to PDO object |
|
__construct ( $dsn, $user = NULL, $pw = NULL, array $options = NULL ) |
Instantiate class |
|
begin ( ) : boolean |
Begin SQL transaction |
|
commit ( ) : boolean |
Commit SQL transaction |
|
count ( ) : integer |
Return number of rows affected by last query |
|
driver ( ) : string |
Return database engine |
|
exec ( $cmds, $args = NULL, $ttl, $log = TRUE, $stamp = FALSE ) : array | integer | FALSE |
Execute SQL statement(s) |
|
log ( $flag = TRUE ) : string |
Return SQL profiler results (or disable logging) |
|
name ( ) : string |
Return database name |
|
pdo ( ) : db\PDO |
Return parent object |
|
quote ( $val, $type = PDO::PARAM_STR ) : string |
Quote string |
|
quotekey ( $key, boolean $split = TRUE ) : string |
Return quoted identifier name |
|
rollback ( ) : boolean |
Rollback SQL transaction |
|
schema ( $table, $fields = NULL, $ttl ) : array | FALSE |
Retrieve schema of SQL table |
|
trans ( ) : boolean |
Return transaction flag |
|
type ( $val ) : integer |
Map data type of argument to a PDO constant |
|
uuid ( ) : string |
Return UUID |
|
value ( $type, $val ) : scalar |
Cast value to PHP type |
|
version ( ) : string |
Return server version |
|