spoof
|
Public Member Functions | |
select (\lib360\db\connection\IConnection $db, $query, array $values=NULL, $name=NULL) | |
update (\lib360\db\connection\IConnection $db, $query, array $values=NULL) | |
insert (\lib360\db\connection\IConnection $db, $query, array $values=NULL) | |
delete (\lib360\db\connection\IConnection $db, $query, array $values=NULL) | |
query (\lib360\db\connection\IConnection $db, $query, array $values=NULL) | |
bindValues (\PDOStatement $sth, array $values=NULL) |
Static Public Attributes | |
static | $typeMap |
PDO executor implementation
bindValues | ( | \PDOStatement | $sth, |
array | $values = NULL |
||
) |
Binds values to PDOStatement.
\PDOStatement | $sth | PDO statement object to which values will be bound |
array | $values | optional array of values ( or primitive types) for prepared statement |
delete | ( | \lib360\db\connection\IConnection | $db, |
$query, | |||
array | $values = NULL |
||
) |
Executes database delete.
\lib360\db\connection\IConnection | $db | database connection object |
string | $query | prepared query statement |
array | $values | optional array of values for prepared statement |
PreparedQueryException | when database error occurs during query execution |
Implements IExecutor.
insert | ( | \lib360\db\connection\IConnection | $db, |
$query, | |||
array | $values = NULL |
||
) |
Executes database insert.
\lib360\db\connection\IConnection | $db | object |
string | $query | prepared query statement |
array | $values | optional array of values for prepared statement |
PreparedQueryException | when database error occurs during query execution |
Implements IExecutor.
query | ( | \lib360\db\connection\IConnection | $db, |
$query, | |||
array | $values = NULL |
||
) |
Executes a generic database query.
\lib360\db\connection\IConnection | $db | database connection object |
string | $query | prepared query statement |
array | $values | optional array of values for prepared statement |
PreparedQueryException | when database error occurs during query execution |
Implements IExecutor.
select | ( | \lib360\db\connection\IConnection | $db, |
$query, | |||
array | $values = NULL , |
||
$name = NULL |
|||
) |
Executes database select.
\lib360\db\connection\IConnection | $db | database connection object |
string | $query | prepared query statement |
array | $values | optional array of values for prepared statement |
string | $name | optional name to use for identifying records |
\lib360\db\executor\PreparedQueryException | when database error occurs during query execution |
Implements IExecutor.
update | ( | \lib360\db\connection\IConnection | $db, |
$query, | |||
array | $values = NULL |
||
) |
Executes database update.
\lib360\db\connection\IConnection | $db | database connection object |
string | $query | prepared query statement |
array | $values | optional array of values for prepared statement |
PreparedQueryException | when database error occurs during query execution |
Implements IExecutor.
|
static |
Maps types to PDO parameter types