From Aspen Documentation
Generates and executes a select query
Since 1.0
Arguments
boolean delete ([string $table = false], [integer $id = false], [string $field_name = false])
- table
- Database table name.
- id
- Record id or value to match field to.
- field_name
- Field to match id to. If false, primary key is assumed.
Examples
Example:
$this->APP->model->delete('blog', 1);