PHP - Manual: TokyoTyrantQuery::setLimit
2024-11-15
(PECL tokyo_tyrant >= 0.1.0)
TokyoTyrantQuery::setLimit — Limit results
Set the maximum amount of records to return on a query.
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.
官方地址:https://www.php.net/manual/en/tokyotyrantquery.setlimit.php