class Sqlite2Driver extends SqliteDriver

Supplemental SQLite2 database driver.

Methods

string
formatLike($value, $pos)

Encodes string for use in a LIKE statement.

array
getForeignKeys($table)

Returns metadata for all foreign keys in a table.

array
getColumnTypes(PDOStatement $statement)

Returns associative array of detected types (IStructure::FIELD_*) in result set.

Details

at line 18
string formatLike($value, $pos)

Encodes string for use in a LIKE statement.

Parameters

$value
$pos

Return Value

string

at line 24
array getForeignKeys($table)

Returns metadata for all foreign keys in a table.

Parameters

$table

Return Value

array

of tuples [(string) name, (string) local, (string) table, (string) foreign]

at line 30
array getColumnTypes(PDOStatement $statement)

Returns associative array of detected types (IStructure::FIELD_*) in result set.

Parameters

PDOStatement $statement

Return Value

array