System:Model:where

From Aspen Documentation

Adds a standard where condition.

Since 1.0

Arguments

void where (string $field, mixed $value, [string $match = 'AND'])

field
Database table field name.
value
Value to match.
match
Connecting operator to previous where statement. Default is AND.

Returns

This function does not return an array.

Examples

Example:

$this->APP->model->where('name', 'John');