GoLang TokyoTyrantQuery::setLimit

request it (226)
GoLang replacement for PHP's TokyoTyrantQuery::setLimit [edit | history]



Do you know a GoLang replacement for PHP's TokyoTyrantQuery::setLimit? Write it!

PHP TokyoTyrantQuery::setLimit

PHP original manual for TokyoTyrantQuery::setLimit [ show | php.net ]

TokyoTyrantQuery::setLimit

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrantQuery::setLimitLimit results

Description

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

Set the maximum amount of records to return on a query.

Parameters

max

Maximum amount of records. Default: -1

skip

How many records to skip from the start. Default: -1

Return Values

This method returns the current object and throws TokyoTyrantException on failure.