Method |
Description |
|
__construct ( PDO $pdo = null, string $dbengine = '' ) |
Dependency-Injectable constructor |
|
beginTransaction ( ) : boolean |
|
|
column ( string $statement, array $params = [], integer $offset ) |
|
|
commit ( ) : boolean |
|
|
escapeValueSet ( array $values, string $type = 'string' ) : string |
|
|
expect ( string $statement = '', null $result = null ) : self |
|
|
factory ( $dsn, string $username = '', string $password = '', $options = [] ) : Database |
|
|
getExpected ( string $statement = '' ) : mixed |
|
|
insert ( string $table, array $map = [] ) |
|
|
insertGet ( string $table, array $map, string $field ) |
|
|
insertMany ( string $table, array $maps ) : boolean |
|
|
row ( string $statement, $params ) |
|
|
run ( string $statement, $params ) |
|
|
safeQuery ( string $statement, array $params = [], integer $fetch_style = PDO::FETCH_ASSOC ) |
|
|
single ( string $statement, array $params = [] ) |
|
|
update ( string $table, array $changes, array $conditions ) |
|
|