|
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) | |
This defines interface for executor implementations. Executors are used to execute queries against database systems.
| 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 |
| \lib360\db\Exception | when database error occurs during query execution |
Implemented in PDO.
| 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 |
| \lib360\db\Exception | when database error occurs during query execution |
Implemented in PDO.
| 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 |
| \lib360\db\Exception | when database error occurs during query execution |
Implemented in PDO.
| 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\Exception | when database error occurs during query execution |
Implemented in PDO.
| 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 |
| \lib360\db\Exception | when database error occurs during query execution |
Implemented in PDO.