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