Methods summary
public
|
|
public
DriverException
|
|
public
string
|
#
delimite( string $name )
Delimites identifier for use in a SQL statement.
Delimites identifier for use in a SQL statement.
Parameters
Returns
string string
Implementation of
|
public
mixed
|
#
formatBool( boolean $value )
Formats boolean for use in a SQL statement.
Formats boolean for use in a SQL statement.
Parameters
Returns
mixed mixed
Implementation of
|
public
string
|
#
formatDateTime( $value )
Formats date-time for use in a SQL statement.
Formats date-time for use in a SQL statement.
Returns
string string
Implementation of
|
public
|
|
public
string
|
#
formatLike( string $value, integer $pos )
Encodes string for use in a LIKE statement.
Encodes string for use in a LIKE statement.
Parameters
Returns
string string
Implementation of
|
public
|
#
applyLimit( string & $sql, integer|null $limit, integer|null $offset )
Injects LIMIT/OFFSET to the SQL query.
Injects LIMIT/OFFSET to the SQL query.
Parameters
- $sql
- query that will be modified.
- $limit
- $offset
Implementation of
|
public
array
|
#
normalizeRow( array $row )
Normalizes result row.
Parameters
Returns
array array
Implementation of
|
public
array
|
#
getTables( )
Returns list of tables.
Returns
array of [name [, (bool) view]]
Implementation of
|
public
array
|
#
getColumns( string $table )
Returns metadata for all columns in a table.
Returns metadata for all columns in a table.
Parameters
Returns
array of [name, nativetype, primary [, table, fullname, (int) size, (bool) nullable,
(mixed) default, (bool) autoincrement, (array) vendor]]
Implementation of
|
public
array
|
#
getIndexes( string $table )
Returns metadata for all indexes in a table.
Returns metadata for all indexes in a table.
Parameters
Returns
array of [name, (array of names) columns [, (bool) unique, (bool) primary]]
Implementation of
|
public
array
|
#
getForeignKeys( string $table )
Returns metadata for all foreign keys in a table.
Returns metadata for all foreign keys in a table.
Parameters
Returns
array array
Implementation of
|
public
array
|
#
getColumnTypes( PDOStatement $statement )
Returns associative array of detected types (IReflection::FIELD_*) in result
set.
Returns associative array of detected types (IReflection::FIELD_*) in result
set.
Parameters
Returns
array array
Implementation of
|
public
boolean
|
#
isSupported( string $item )
Parameters
Returns
boolean bool
Implementation of
|