From Aspen Documentation
Adds a new select statement to our query.
Since 1.0
Arguments
void select ([string $table = false], [array $fields = false], [boolean $distinct = false])
- table
- Database table name.
- fields
- An array of fields to select. If false, an asterisk will be used.
- distinct
- Toggles returning distinct values.
Returns
This function does not return any values.
Notes
- This function automatically runs the openTable command on the table.
Examples
Example:
$this->APP->model->select('blog');