mirror of
https://github.com/php/doc-ja.git
synced 2026-04-27 01:48:12 +02:00
ab3f7b9839
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@297032 c90b9560-bf6c-de11-be94-00142212c4b1
110 lines
3.1 KiB
XML
110 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: hirokawa Status: ready -->
|
|
<refentry xml:id="function.dbplus-find" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>dbplus_find</refname>
|
|
<refpurpose>リレーションに拘束を設定する</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>dbplus_find</methodname>
|
|
<methodparam><type>resource</type><parameter>relation</parameter></methodparam>
|
|
<methodparam><type>array</type><parameter>constraints</parameter></methodparam>
|
|
<methodparam><type>mixed</type><parameter>tuple</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
指定したリレーション <parameter>relation</parameter>
|
|
に拘束を設定します。
|
|
</para>
|
|
<para>
|
|
この後、<function>dbplus_curr</function> または
|
|
<function>dbplus_next</function> のような関数をコールすると、
|
|
指定した拘束にマッチするタプルのみが取得されます。
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>relation</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
<function>dbplus_open</function> でオープンしたリレーション。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>constraints</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
拘束は、ドメイン名、比較演算子、比較値を含む複合文字列です。
|
|
パラメータ配列 <parameter>constraints</parameter> は文字列の配列で、
|
|
この各要素は、ドメイン、演算子、値を含むか、
|
|
複数の三要素からなる文字列の配列です。
|
|
</para>
|
|
<para>
|
|
比較演算子は、以下の文字列のどれかとなります。
|
|
正規表現による検索には、'==', '>', '>=', '<', '<=',
|
|
'!=', '~'、ビット演算には 'BAND' または 'BOR' を使用します。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>tuple</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="notes">
|
|
&reftitle.notes;
|
|
&warn.experimental.func;
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><function>dbplus_unselect</function></member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|