->whereAdd()

->whereAdd() -- Add WHERE statement

Synopsis

void $DB_DataObject->whereAdd ([string $where [, string $logic]])

Description

Adds items to the where part of a SQL query. Calling this without any arguments clears the where condition. The default behavior is to add 'AND' to the existing conditions, use the $logic parameter to append OR conditions.

Parameter

Note

This function can not be called statically.

See

Example