downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

TokyoTyrantQuery::setOrder> <TokyoTyrantQuery::search
[edit] Last updated: Fri, 25 May 2012

view this page in

TokyoTyrantQuery::setLimit

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrantQuery::setLimit結果を制限する

説明

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

クエリが返す結果の最大数を設定します。

パラメータ

max

レコードの最大数。デフォルトは -1 です。

skip

先頭から何件のレコードを読み飛ばすか。デフォルトは -1 です。

返り値

このメソッドは現在のオブジェクトを返します。失敗した場合は TokyoTyrantException をスローします。



add a note add a note User Contributed Notes TokyoTyrantQuery::setLimit
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites