The interface that data source adapters must follow.
package | Cactus |
---|---|
author | Dave Widmer |
delete(string $query, array $params) : int
string
The query to run
array
A list of parameters to bind to the query
int
The number of deleted rowsgetQueries() : array
array
insert(string $query, array $params) : array
string
The query to run.
array
A list of parameters to bind to the query
array
array($insert_id, $affected_rows);query(string $query) : boolean
string
The query
boolean
Successselect(string $query, array $params) : array
string
The query to run.
array
A list of parameters to bind to the query
array
The result set from the queryupdate(string $query, array $params) : int
string
The query to run
array
A list of parameters to bind to the query
int
The number of affected rows