->escape() (Previous) (Next) ->orderBy()

View this page in Last updated: Sun, 07 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

->limit()

->limit() -- 制限をセットします

説明

クエリの制限をセットします (これは LIMIT 句をサポートしているデータベースでのみ動作します) 。 パラメータがない場合、現在の制限がクリアされます。

パラメータ

  • int $from - 制限の開始 (あるいは数値)、 あるいはリセットのためのブランクを指定します

  • int $number - 結果の数の制限を指定します

注意

この関数は、スタティックにコールする ことはできません。

postgres と mysqlのみ制限を直接サポートしていますので、 サポートされてないデータベースでこのメソッドをコールすると PEAR::Error が投げられ、終了します。

->escape() (Previous) (Next) ->orderBy()

Download Documentation Last updated: Sun, 07 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.