Interface ISupplementalDriver
Supplemental PDO database driver.
Direct Known Implementers
NPdoMsSqlDriver, NPdoMySqlDriver, NPdoOciDriver, NPdoOdbcDriver, NPdoPgSqlDriver, NPdoSqliteDriver
public
string
|
#
delimite(
string
$name
)
Delimites identifier for use in a SQL statement. Delimites identifier for use in a SQL statement. Parameters$name string |
public
string
|
#
formatDateTime(
DateTime
$value
)
Formats date-time for use in a SQL statement. Formats date-time for use in a SQL statement. Parameters$value NDateTime |
public
string
|
#
formatLike(
string
$value,
int
$pos
)
Encodes string for use in a LIKE statement. Encodes string for use in a LIKE statement. Parameters$value string$pos int |
public
void
|
#
applyLimit(
string
& $sql,
int
$limit,
int
$offset
)
Injects LIMIT/OFFSET to the SQL query. Injects LIMIT/OFFSET to the SQL query. Parameters$sql string SQL query that will be modified.$limit int$offset int |
public
array
|
#
normalizeRow(
array
$row,
NStatement
$statement
)
Normalizes result row. Normalizes result row. Parameters$row array$statement NStatement |