->limit()

->limit() -- Set limit

Synopsis

void $DB_DataObject->limit ([int $from [, int $number]])

Описание

Sets the limit for a query. (this only works on databases that support the LIMIT clause), without parameters, it will clear the current limit.

Параметр

Заметка

Эта функция не должна вызываться статически.

Since postgres and mysql only really support limit directly - calling this on an unsupported database will emit a PEAR::Error and die.

Пример


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ