System:Model:update
From Aspen Documentation
Generates an UPDATE query and auto-executes it.
Since 1.0
Arguments
boolean update ([string $table = false], [array $fields = false])
- table
- Database table name.
- fields
- Array of field names => values to insert.
Examples
Example:
$this->APP->model->update('blog', array('title'=>'Hello World','body'=>'My first post!'), 1);