->find()
Описание
The find method builds and executes the current Query, based on the object variables and any WhereAdd() conditions , If the AutoFetch is TRUE, then it will also call the fetch method automatically.
Возвращаемое значение
int - number of rows found, only if the database backend supports the numRows() method. Otherwise 1 (or in versions after 1.7.13, true will returned)
Пример
Пример 35-1. Simple find() of data based on Object Vars
|
Пример 35-2. Resulting SQL
|
Пред. | Начало | След. |
{Child Class}::staticGet() | Уровень выше | ->fetch() |