lithium\data\Source::update PHP Method

update() abstract public method

Updates a set of records in a concrete data store.
abstract public update ( mixed $query, array $options = [] ) : boolean
$query mixed An object which defines the update operation(s) that should be performed against the data store. This can be a `Query`, a `RecordSet`, a `Record`, or a subclass of one of the three. Alternatively, `$query` can be an adapter-specific query string.
$options array Options to execute, which are defined by the concrete implementation.
return boolean Returns true if the update operation was a success, otherwise false.
    public abstract function update($query, array $options = array());