Method |
Description |
|
_query ( string $query, array $parameters = [] ) : PDOStatement |
Send a database query |
|
close ( ) |
Close the connection |
|
count ( string $field, string $table, string $conditions = "", array $parameters = [] ) : integer |
Count the number of rows in a table filtered by conditions |
|
countRows ( PDOStatement $statement ) : integer |
Count the number of affected rows by the given query |
|
fetchAssoc ( PDOStatement $statement ) : array |
Fetch one row as an associative array |
|
fetchFirstColumn ( PDOStatement $statement, integer $row ) : mixed |
Fetch the first column of a specific row |
|
fetchRow ( PDOStatement $statement ) : array |
Fetch one row as a numeric array |
|
getLastId ( ) : integer |
Get the last inserted auto increment id |
|
getServerVersion ( ) : string |
Get the database server version |
|
isConnected ( ) : boolean |
|
|
quote ( $value ) : string |
Implementation of \PDO::quote() |
|