update : 2015.11.03
php.shukuma.com

검색:
 
 
Limit results

TokyoTyrantQuery::setLimit

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrantQuery::setLimitLimit results

설명

public mixed TokyoTyrantQuery::setLimit ([ int $max [, int $skip ]] )

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.