Executes an UPDATE statement on the specified table.
public update ( string $table, array $data, array $conditions = [], array $types = [] ) : Cake\Database\StatementInterface | ||
$table | string | the table to update rows from |
$data | array | values to be updated |
$conditions | array | conditions to be set for update statement |
$types | array | list of associative array containing the types to be used for casting |
return | Cake\Database\StatementInterface |