TokyoTyrantQuery::setLimit
(PECL tokyo_tyrant >= 0.1.0)
TokyoTyrantQuery::setLimit — Limit results
Описание
public mixed TokyoTyrantQuery::setLimit
([
int $max
[,
int $skip
]] )
Список параметров
-
max
-
Maximum amount of records. Default: -1
-
skip
-
How many records to skip from the start. Default: -1
Возвращаемые значения
This method returns the current object and throws TokyoTyrantException on failure.