lithium\data\Source::update()

abstract public method

Updates a set of records in a concrete data store.

Parameters

  • mixed $query

    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.

  • array $options

    Options to execute, which are defined by the concrete implementation.

Returns

boolean

Returns true if the update operation was a success, otherwise false.

Source

	abstract public function update($query, array $options = []);