Méthode |
Description |
|
__construct ( Connection $connection, array $options ) |
|
|
applyLimit ( &$sql, $limit, $offset ) |
Injects LIMIT/OFFSET to the SQL query. |
|
convertException ( PDOException $e ) |
|
|
delimite ( $name ) |
Delimites identifier for use in a SQL statement. |
|
formatBool ( $value ) |
Formats boolean for use in a SQL statement. |
|
formatDateInterval ( DateInterval $value ) |
Formats date-time interval for use in a SQL statement. |
|
formatDateTime ( $value ) |
Formats date-time for use in a SQL statement. |
|
formatLike ( $value, $pos ) |
Encodes string for use in a LIKE statement. |
|
getColumnTypes ( PDOStatement $statement ) |
Returns associative array of detected types (IReflection::FIELD_*) in result set. |
|
getColumns ( $table ) |
Returns metadata for all columns in a table. |
|
getForeignKeys ( $table ) |
Returns metadata for all foreign keys in a table. |
|
getIndexes ( $table ) |
Returns metadata for all indexes in a table. |
|
getTables ( ) |
Returns list of tables. |
|
isSupported ( $item ) : boolean |
|
|
normalizeRow ( $row ) |
Normalizes result row. |
|