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

search for in the

dbplus_first> <dbplus_errno
Last updated: Fri, 10 Oct 2008

view this page in

dbplus_find

(PHP 4 >= 4.0.7, PECL dbplus:0.9)

dbplus_findリレーションに拘束を設定する

説明

int dbplus_find ( resource $relation , array $constraints , mixed $tuple )

指定したリレーション relation に拘束を設定します。

この後、dbplus_curr() または dbplus_next() のような関数をコールすると、 指定した拘束にマッチするタプルのみが取得されます。

パラメータ

relation

dbplus_open() でオープンしたリレーション。

constraints

拘束は、ドメイン名、比較演算子、比較値を含む複合文字列です。 パラメータ配列 constraints は文字列の配列で、 この各要素は、ドメイン、演算子、値を含むか、 複数の三要素からなる文字列の配列です。

比較演算子は、以下の文字列のどれかとなります。 正規表現による検索には、'==', '>', '>=', '<', '<=', '!=', '~'、ビット演算には 'BAND' または 'BOR' を使用します。

tuple

返り値

注意

警告

この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。



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

dbplus_first> <dbplus_errno
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites