$dialect
$dialect :
Properties
Database wrapper, provides a database API for the framework but hides details of implementation.
update(string $table, array $columns, array $values = null, array $where = null) : void
Build an update-query.
string | $table | the table name. |
array | $columns | to update or key=>value with columns and values. |
array | $values | to update or empty if $columns has bot columns and values. |
array | $where | limit which rows are updated. |
execute(string $query = null, array $params = array()) : boolean
Execute a SQL-query and ignore the resultset.
string | $query | the SQL query with ?. |
array | $params | array which contains the argument to replace ?. |
when failing to prepare question.
returns TRUE on success or FALSE on failure.
expandParamArray(string $query, array $params) : array
Extend params array to support arrays in it, extract array items and add to $params and insert ? for each entry.
string | $query | as the query to prepare. |
array | $params | the parameters that may contain arrays. |
with query and params.