cvs: phpdoc-ja /reference/mongo/functions mongo-close.xml mongo-connect.xml mongo-find-one.xml mongo-gridfile-write.xml mongo-gridfs-init.xml
mongo-gridfs-store.xml mongo-has-next.xml mongo-insert.xml mongo-next.xml mongo-query.xml mongo-remove.xml mongo-update.xml
/reference/mongo/mongocollection group.xml /reference/mongo/mongocursor explain.xml key.xml

From: Date: Thu, 18 Jun 2009 03:51:00 +0000
Subject: cvs: phpdoc-ja /reference/mongo/functions mongo-close.xml mongo-connect.xml mongo-find-one.xml mongo-gridfile-write.xml mongo-gridfs-init.xml
mongo-gridfs-store.xml mongo-has-next.xml mongo-insert.xml mongo-next.xml mongo-query.xml mongo-remove.xml mongo-update.xml
/reference/mongo/mongocollection group.xml /reference/mongo/mongocursor explain.xml key.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-2483@lists.php.net to get a copy of this message
takagi Thu Jun 18 03:51:00 2009 UTC Added files: /phpdoc-ja/reference/mongo/mongocursor key.xml explain.xml /phpdoc-ja/reference/mongo/mongocollection group.xml Removed files: /phpdoc-ja/reference/mongo/functions mongo-update.xml mongo-remove.xml mongo-query.xml mongo-next.xml mongo-insert.xml mongo-has-next.xml mongo-gridfs-store.xml mongo-gridfs-init.xml mongo-gridfile-write.xml mongo-find-one.xml mongo-connect.xml mongo-close.xml Log: sync with en. http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/mongo/mongocursor/key.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/mongo/mongocursor/key.xml +++ phpdoc-ja/reference/mongo/mongocursor/key.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="mongocursor.key" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoCursor::key</refname> <refpurpose>現在の結果の _id を返す</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>MongoCursor::key</methodname> <void/> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> 現在の結果の _id を返します。 </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 sgml-parent-document:nil sgml-default-dtd-file:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/mongo/mongocursor/explain.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/mongo/mongocursor/explain.xml +++ phpdoc-ja/reference/mongo/mongocursor/explain.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="mongocursor.explain" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoCursor::explain</refname> <refpurpose>最適化やデバッグの際に有効な、クエリの explain を返す</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>MongoCursor::explain</methodname> <void/> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> クエリの explain を返します。 </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 sgml-parent-document:nil sgml-default-dtd-file:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/mongo/mongocollection/group.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/mongo/mongocollection/group.xml +++ phpdoc-ja/reference/mongo/mongocollection/group.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="mongocollection.group" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>MongoCollection::group</refname> <refpurpose>SQL の GROUP BY コマンドと似た処理を行う</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>MongoCollection::group</methodname> <methodparam><type>array</type><parameter>keys</parameter></methodparam> <methodparam><type>array</type><parameter>initial</parameter></methodparam> <methodparam><type>string</type><parameter>reduce</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>condition</parameter><initializer>array()</initializer></methodparam> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term> <parameter>keys</parameter> </term> <listitem> <para> group by したいフィールド。 </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>initial</parameter> </term> <listitem> <para> 集約カウンタオブジェクトの初期値。 </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>reduce</parameter> </term> <listitem> <para> オブジェクトを集約する関数。 </para> </listitem> </varlistentry> <varlistentry> <term> <parameter>condition</parameter> </term> <listitem> <para> その行を処理するかどうかを判断する条件。 </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> 結果を含む配列を返します。 </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <example> <title><function>MongoCollection::group</function> の例</title> <programlisting role="php"> <![CDATA[ <?php $collection->save(array("a" => 2)); $collection->save(array("b" => 5)); $collection->save(array("a" => 1)); // すべてのフィールドを使用します $keys = array(); // 初期値を設定します $initial = array("count" => 0); // 実行する JavaScript 関数 $reduce = "function (obj, prev) { prev.count++; }"; // "a" フィールドが 1 より大きいドキュメントのみを使用します $condition = array("a" => array( '$gt' => 1)); $g = $collection->group($keys, $initial, $reduce, $condition); var_dump($g); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ array(1) { [0]=> array(1) { ["count"]=> int(1) } } ]]> </screen> </example> </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 sgml-parent-document:nil sgml-default-dtd-file:"../../../../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 -->

« previous php.doc.ja (#2483) next »