MDB_Common::freeResult() (Previous) (Next) MDB_Common::getAssoc()

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

MDB_Common::getAll()

MDB_Common::getAll() -- すべての行を取得する

説明

結果セット全体を取得し、それを入れ子状の配列で返します。 この関数はクエリを実行し、終了時に結果を開放します。

パラメータ

string $query

SQL クエリ。

array $types

指定した場合は、結果セットのカラムの型が取得したものに設定されます。

array $params

指定した場合は、 prepareQuery()/ executeQuery() はこの配列を実行時のパラメータとして使用します。

array $param_types

指定した場合は、$param の値を自動的にその型に設定します。

integer $fetchmode

使用する取得モード。デフォルトは MDB_FETCHMODE_DEFAULT です。

返り値

  • array - 入れ子状の配列、あるいは失敗した場合に MDB_Error を返します。

注意

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

MDB_Common::freeResult() (Previous) (Next) MDB_Common::getAssoc()

Download Documentation Last updated: Sun, 24 Aug 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.