System:Model:whereNot

From Aspen Documentation

Adds a standard where not condition.

Since 1.0

Arguments

void whereNot (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->whereNot('name', 'John');