cvs: phpdoc /ja/functions ingres_ii.xml
| From: | Rui Hirokawa | Date: | Mon, 27 Nov 2000 13:57:37 +0000 |
| Subject: | cvs: phpdoc /ja/functions ingres_ii.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969333084@lists.php.net to get a copy of this message | ||
hirokawa Mon Nov 27 05:57:37 2000 EDT
Modified files:
/phpdoc/ja/functions ingres_ii.xml
Log:
update translations.
Index: phpdoc/ja/functions/ingres_ii.xml diff -u phpdoc/ja/functions/ingres_ii.xml:1.2 phpdoc/ja/functions/ingres_ii.xml:1.3 --- phpdoc/ja/functions/ingres_ii.xml:1.2 Sun Nov 26 04:47:20 2000 +++ phpdoc/ja/functions/ingres_ii.xml Mon Nov 27 05:57:37 2000 @@ -320,36 +320,34 @@ </funcprototype> </funcsynopsis> <para> - For delete, insert or update queries, - <function>ingres_num_rows</function> returns the number of rows - affected by the query. For other queries, - <function>ingres_num_rows</function> returns the number of rows - in the query's result. + delete, insert, update ã¯ã¨ãªã®å ´åã + <function>ingres_num_rows</function> ã¯ããã®ã¯ã¨ãªã«ããä½ç¨ãã + ãè¡(ã¬ã³ã¼ã)ã®æ°ãè¿ãã¾ãããã®ä»ã®ã¯ã¨ãªã®å ´åã + <function>ingres_num_rows</function> ã¯ã¯ã¨ãªçµæã®ã¬ã³ã¼ãæ°ãè¿ + ãã¾ãã </para> <para> <note> <simpara> - This function is mainly meant to get the number of rows - modified in the database. - If this function is called before using - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> or - <function>ingres_fetch_row</function> the server will delete - the result's data and the script won't be able to get them. + ãã®é¢æ°ã¯ã主ã«ãã¼ã¿ãã¼ã¹ã§ä¿®æ£ãããã¬ã³ã¼ãã®æ°ãå¾ãéã« + æç¨ã§ãããã®é¢æ°ã <function>ingres_fetch_array</function>ã + <function>ingres_fetch_object</function>ã + <function>ingres_fetch_row</function> ã使ç¨ããåã«ã³ã¼ã«ãã + ãå ´åããµã¼ãã¯çµæã®ãã¼ã¿ãåé¤ããã¹ã¯ãªããã¯çµæãå¾ãã + ã¨ãã§ããªããªãã¾ãã </simpara> <simpara> - You should instead retrieve the result's data using one of these - fetch functions in a loop until it returns false, indicating that - no more results are available. + 代ããã«ãããã®åå¾ç¨é¢æ°ã®ã©ãããããçµæãæ®ã£ã¦ããªãã¨ã + ãæå³ã§ false ãè¿ãã¾ã§ã«ã¼ãå¦çãè¡ããçµæã®ãã¼ã¿ãåå¾ã + ãå¿ è¦ãããã¾ãã </simpara> </note> </para> <para> - See also - <function>ingres_query</function>, - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_query</function>ã + <function>ingres_fetch_array</function>ã + <function>ingres_fetch_object</function>ã + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -372,16 +370,15 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_num_fields</function> returns the number of fields - in the results returned by the Ingres server after a call to - <function>ingres_query</function> + <function>ingres_num_fields</function> ã¯ã + <function>ingres_query</function> ãã³ã¼ã«ããå¾ã§ãIngres ãµã¼ã + ã«ããè¿ãããçµæã®ãã£ã¼ã«ãæ°ãè¿ãã¾ãã </para> <para> - See also - <function>ingres_query</function>, - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_query</function>ã + <function>ingres_fetch_array</function>ã + <function>ingres_fetch_object</function>ã + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -396,29 +393,26 @@ <funcsynopsis> <funcprototype> <funcdef>string<function>ingres_field_name</function></funcdef> - <paramdef>int - <parameter>index</parameter> - </paramdef> + <paramdef>int <parameter>index</parameter></paramdef> <paramdef>resource <parameter><optional>link</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> - <function>ingres_field_name</function> returns the name of a field - in a query result, or false on failure. + <function>ingres_field_name</function> ã¯ãã¯ã¨ãªçµæã®å ´åã¯ãã£ã¼ + ã«ãåã失æããå ´å㯠false ãè¿ãã¾ãã </para> <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1 㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also - <function>ingres_query</function>, - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_query</function>ã + <function>ingres_fetch_array</function>ã + <function>ingres_fetch_object</function>ã + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -441,28 +435,27 @@ </paramdef> </funcprototype> </funcsynopsis> + <para> + <function>ingres_field_type</function> ã¯ã¯ã¨ãªçµæã®ãã£ã¼ã«ãåã + 失æããå ´åã¯ãfalse ãè¿ãã¾ããè¿ãããåã¯ãä¾ãã°ã + "IIAPI_BYTE_TYPE", "IIAPI_CHA_TYPE", "IIAPI_DTE_TYPE", + "IIAPI_FLT_TYPE", "IIAPI_INT_TYPE", "IIAPI_VCH_TYPE" ã«ãªãã¾ãã + ãããã®åã®ããã¤ãã¯ããã£ã¼ã«ãé·ã«å¿ãã¦è¤æ°ã®SQLåããããã + ããã¨ãå¯è½ã§ã(<function>ingres_field_length</function>ãåç § + ä¸ãã)ãä¾ãã°ã"IIAPI_FLT_TYPE" ã¯ãfloat4 ã¾ã㯠float8 ã¨ãã + ãã¨ãå¯è½ã§ããè©³ç´°ãªæ å ±ã«ã¤ãã¦ã¯ãIngres/OpenAPI User Guide + ã® Appendix C ãåç §ä¸ããã + </para> <para> - <function>ingres_field_type</function> returns the type of a field - in a query result, or false on failure. - Examples of types returned are "IIAPI_BYTE_TYPE", - "IIAPI_CHA_TYPE", "IIAPI_DTE_TYPE", "IIAPI_FLT_TYPE", - "IIAPI_INT_TYPE", "IIAPI_VCH_TYPE". Some of these types can map - to more than one SQL type depending on the length of the field - (see <function>ingres_field_length</function>). For example - "IIAPI_FLT_TYPE" can be a float4 or a float8. For detailed - information, see the Ingres/OpenAPI User Guide - Appendix C. - </para> - <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also <function>ingres_query</function>, <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -486,20 +479,19 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_field_nullable</function> returns true if the field - can be set to the NULL value and false if it can't. + <function>ingres_field_nullable</function> ã¯ããã£ã¼ã«ãã«NULLã + è¨å®å¯è½ãªå ´åã« trueãè¨å®ã§ããªãå ´åã« false ãè¿ãã¾ãã </para> <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1 㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also <function>ingres_query</function>, <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -523,21 +515,21 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_field_length</function> returns the length of a field. - This is the number of bytes used by the server to store the field. - For detailed information, see the Ingres/OpenAPI User Guide - Appendix C. + <function>ingres_field_length</function> ã¯ãã£ã¼ã«ãé·ãè¿ãã¾ãã + ãã£ã¼ã«ãé·ã¯ããã£ã¼ã«ãããµã¼ãã«ä¿åããéã«ä½¿ç¨ããããã¤ã + æ°ã§ããè©³ç´°ãªæ å ±ã«ã¤ãã¦ã¯ãIngres/OpenAPI User Guide ã® + Appendix C ãåç §ä¸ããã </para> <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1 㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also <function>ingres_query</function>, <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -561,22 +553,21 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_field_precision</function> returns the precision of - a field. This value is used only for decimal, float and money SQL data - types. For detailed information, see the Ingres/OpenAPI User Guide - - Appendix C. + <function>ingres_field_precision</function> ã¯ãã£ã¼ã«ãã®ç²¾åº¦ã + è¿ãã¾ãããã®å¤ã¯ãdecimalãfloatãSQLãã¼ã¿ money åã§ã®ã¿ä½¿ç¨ + ããã¾ããè©³ç´°ãªæ å ±ã«ã¤ãã¦ã¯ãIngres/OpenAPI User Guide ã® + Appendix C ãåç §ä¸ããã </para> <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1 㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also <function>ingres_query</function>, <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -591,30 +582,28 @@ <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_field_scale</function></funcdef> - <paramdef>int - <parameter>index</parameter> - </paramdef> + <paramdef>int <parameter>index</parameter></paramdef> <paramdef>resource <parameter><optional>link</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> - <function>ingres_field_scale</function> returns the scale of a field. - This value is used only for the decimal SQL data type. For detailed - information, see the Ingres/OpenAPI User Guide - Appendix C. + <function>ingres_field_scale</function> ã¯ãã£ã¼ã«ãã®ã¹ã±ã¼ã«ã + è¿ãã¾ãããã®å¤ã¯ãSQLãã¼ã¿ decimal åã§ã®ã¿ä½¿ç¨ããã¾ãã詳細 + ãªæ å ±ã«ã¤ãã¦ã¯ãIngres/OpenAPI User Guide ã® Appendix C ãåç § + ä¸ããã </para> <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1 㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also <function>ingres_query</function>, <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -638,23 +627,23 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_fetch_array</function> Returns an array that corresponds - to the fetched row, or false if there are no more rows. + <function>ingres_fetch_array</function> ã¯ãåå¾ããã¬ã³ã¼ã(è¡) + ã«å¯¾å¿ããé åãè¿ãã¾ããã¬ã³ã¼ãããããªãå ´å㯠false ãè¿ãã¾ + ãã </para> <para> - This function is an extended version of - <function>ingres_fetch_row</function>. In addition to storing the - data in the numeric indices of the result array, it also stores - the data in associative indices, using the field names as keys. + ãã®é¢æ°ã¯ã<function>ingres_fetch_row</function> ã®æ¡å¼µçã§ãã + çµæã¨ãã¦è¿ãããé åã®æ°å¤æ·»åã«ãã¼ã¿ãä¿åããã ãã§ãªãããã£ã¼ + ã«ãåããã¼ã¨ãã¦é£æ³é åã«ããã¼ã¿ãä¿åããã¾ãã </para> <para> - If two or more columns of the result have the same field names, - the last column will take precedence. To access the other column(s) - of the same name, you must use the numeric index of the column or - make an alias for the column. + çµæã«ããã¦è¤æ°ã®ã«ã©ã ãåããã£ã¼ã«ãåãæãã¦ããå ´åãå¾ã® + ã«ã©ã ãåªå ããã¾ããååã®ä»ã®ã«ã©ã ã«ã¢ã¯ã»ã¹ããã«ã¯ãã«ã©ã + ã®æ·»åçªå·ã使ç¨ããããã«ã©ã ã®ã¨ã¤ãªã¢ã¹ã使ããå¿ è¦ãããã¾ + ãã <informalexample> - <programlisting> -ingres_query(select t1.f1 as foo t2.f1 as bar from t1, t2); + <programlisting role="php"> +ingres_query (select t1.f1 as foo t2.f1 as bar from t1, t2); $result = ingres_fetch_array(); $foo = $result["foo"]; $bar = $result["bar"]; @@ -662,14 +651,14 @@ </informalexample> </para> <para> - <parameter>result_type</parameter> can be II_NUM for enumerated array, - II_ASSOC for associative array, or II_BOTH (default). + <parameter>result_type</parameter> ã«ã¯ãæ°å¤æ·»åã®å ´åã« II_NUMã + 飿³é åã®å ´åã« II_ASSOCã両æ¹ã®å ´åã« II_BOTH (ããã©ã«ã)ãæ + å®å¯è½ã§ãã </para> <para> - Speed-wise, the function is identical to - <function>ingres_fetch_object</function>, and almost as quick as - <function>ingres_fetch_row</function> (the difference is - insignificant). + é度é¢ã§ã¯ããã®é¢æ°ã¯<function>ingres_fetch_object</function> + ã¨åãã§ã<function>ingres_fetch_row</function> ã¨ã»ã¼åçã§ã(å·® + ã¯å ãã§ã)ã </para> <para> <example> @@ -680,9 +669,9 @@ ingres_query ("select * from table"); while ($row = ingres_fetch_array()) { - echo $row["user_id"]; # using associative array + echo $row["user_id"]; # 飿³é åã使ç¨ãã echo $row["fullname"]; - echo $row[1]; # using enumerated array + echo $row[1]; # æ°å¤æ·»åé åã使ç¨ãã echo $row[2]; } ?> @@ -690,12 +679,11 @@ </example> </para> <para> - See also <function>ingres_query</function>, <function>ingres_num_fields</function>, <function>ingres_field_name</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -716,18 +704,18 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_fetch_row</function> returns an array that corresponds - to the fetched row, or false if there are no more rows. Each result - column is stored in an array offset, starting at offset 1. + <function>ingres_fetch_row</function> ã¯åå¾ããã¬ã³ã¼ã(è¡)ãæ + ããé åãè¿ãã¾ããã¬ã³ã¼ãããããªãå ´å㯠false ãè¿ãã¾ããå + ã«ã©ã ã¯ããªãã»ãã1ããå§ã¾ãé åãªãã»ããã«ä¿åããã¾ãã </para> <para> - Subsequent call to <function>ingres_fetch_row</function> would - return the next row in the result set, or false if there are no - more rows. + <function>ingres_fetch_row</function> ãé£ç¶çã«ã³ã¼ã«ããå ´åã + çµæéåã®ä¸ã®æ¬¡ã®ã¬ã³ã¼ããè¿ãããããã¬ã³ã¼ãããªãå ´åã¯false + ãè¿ãã¾ãã </para> <para> <example> - <title><function>ingres_fetch_row</function> example</title> + <title><function>ingres_fetch_row</function> ã®ä¾</title> <programlisting role="php"> <?php ingres_connect ($database, $user, $password); @@ -742,11 +730,10 @@ </example> </para> <para> - See also <function>ingres_num_fields</function>, <function>ingres_query</function>, - <function>ingres_fetch_array</function> and - <function>ingres_fetch_object</function>. + <function>ingres_fetch_array</function>, + <function>ingres_fetch_object</function>ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -770,30 +757,30 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_fetch_object</function> Returns an object that - corresponds to the fetched row, or false if there are no more rows. + <function>ingres_fetch_object</function> ã¯åå¾ããã¬ã³ã¼ã(è¡)ã + ãªãã¸ã§ã¯ãã¨ãã¦è¿ãã¾ããã¬ã³ã¼ãããããªãå ´å㯠false ãè¿ã + ã¾ãã </para> - <para> - This function is similar to - <function>ingres_fetch_array</function>, with one difference - an - object is returned, instead of an array. Indirectly, that means - that you can only access the data by the field names, and not by - their offsets (numbers are illegal property names). - </para> - <para> - The optional argument <parameter>result_type</parameter> is a - constant and can take the following values: II_ASSOC, - II_NUM, and II_BOTH. - </para> - <para> - Speed-wise, the function is identical to - <function>ingres_fetch_array</function>, and almost as quick as - <function>ingres_fetch_row</function> (the difference is - insignificant). + <para> + ãã®é¢æ°ã¯ <function>ingres_fetch_array</function> ã«ä¼¼ã¦ãã¾ããã + é åã®ä»£ããã«ãªãã¸ã§ã¯ããè¿ãããã¨ããéããä¸ã¤ããã¾ããé + æ¥çãªã¢ã¯ã»ã¹ãã¤ã¾ãããªãã»ããã§ã¯ãªããã£ã¼ã«ãåã«ãããã¼ + ã¿ãã¢ã¯ã»ã¹ãããã¨ã®ã¿ãå¯è½ã§ã(æ°å¤ã¯ããããã£åã¨ãã¦ã¯ä½¿ç¨ + ã§ãã¾ãã)ã </para> <para> + ãªãã·ã§ã³ã®å¼æ° <parameter>result_type</parameter> ã¯å®æ°ã§ããã + 次ã®å¤ã®ã©ããã¨ãªãã¾ã: II_ASSOC, + II_NUM, II_BOTH + </para> + <para> + é度ã®é¢ã§ã¯ããã®é¢æ°ã¯ <function>ingres_fetch_array</function> + ã¨ç価ã§ããã<function>ingres_fetch_row</function> ã¨ã»ã¼åçã§ + ã(éãã¯å ãã§ã)ã + </para> + <para> <example> - <title><function>ingres_fetch_object</function> example</title> + <title><function>ingres_fetch_object</function> ã®ä¾</title> <programlisting role="php"> <?php ingres_connect ($database, $user, $password); @@ -807,12 +794,11 @@ </example> </para> <para> - See also <function>ingres_query</function>, <function>ingres_num_fields</function>, <function>ingres_field_name</function>, - <function>ingres_fetch_array</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_array</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -833,19 +819,19 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_rollback</function> rolls back the currently open - transaction, actualy canceling all changes made to the database - during the transaction. + <function>ingres_rollback</function> ã¯ç¾å¨ãªã¼ãã³ããã¦ãããã© + ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãããã©ã³ã¶ã¯ã·ã§ã³ã®éã«ãã¼ã¿ãã¼ã¹ + ã«è¡ãããå ¨ã¦ã®å¤æ´ããã£ã³ã»ã«ãã¾ãã </para> <para> - This closes the transaction. A new one can be open by sending a - query with <function>ingres_query</function>. + ãã®é¢æ°ã¯ããã©ã³ã¶ã¯ã·ã§ã³ãã¯ãã¼ãºãã¾ãã + <function>ingres_query</function> ã«ããã¯ã¨ãªãéä¿¡ãããã¨ã«ã + ããæ°è¦ã®ãã©ã³ã¶ã¯ã·ã§ã³ããªã¼ãã³ãããã¨ãå¯è½ã§ãã </para> <para> - See also <function>ingres_query</function>, - <function>ingres_commit</function> and - <function>ingres_autocommit</function>. + <function>ingres_commit</function>, + <function>ingres_autocommit</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -866,23 +852,23 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_commit</function> commits the currently open - transaction, making all changes made to the database permanent. + <function>ingres_commit</function> ã¯ç¾å¨ãªã¼ãã³ããã¦ãããã©ã³ + ã¶ã¯ã·ã§ã³ããªã¼ãã³ããå ¨ã¦ã®å¤æ´ããã¼ã¿ãã¼ã¹ã«ä¿åãã¾ãã </para> <para> - This closes the transaction. A new one can be open by sending a - query with <function>ingres_query</function>. + ãã®é¢æ°ã¯ãã©ã³ã¶ã¯ã·ã§ã³ãã¯ãã¼ãºãã¾ãã + <function>ingres_query</function> ã«ããã¯ã¨ãªãéä¿¡ãããã¨ã«ã + ããæ°è¦ã®ãã©ã³ã¶ã¯ã·ã§ã³ããªã¼ãã³ãããã¨ãå¯è½ã§ãã </para> <para> - You can also have the server commit automaticaly after every query - by calling <function>ingres_autocommit</function> before opening the - transaction. + ãã©ã³ã¶ã¯ã·ã§ã³ããªã¼ãã³ããåã« + <function>ingres_autocommit</function> ãã³ã¼ã«ãããã¨ã«ãããå + ã¯ã¨ãªã®å¾ã«èªåçã«ãµã¼ãå´ã§ã³ããããè¡ããã¨ãå¯è½ã§ãã </para> <para> - See also <function>ingres_query</function>, - <function>ingres_rollback</function> and - <function>ingres_autocommit</function>. + <function>ingres_rollback</function>, + <function>ingres_autocommit</function>ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -903,23 +889,23 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_autocommit</function> is called before opening a - transaction (before the first call to <function>ingres_query</function> - or just after a call to <function>ingres_rollback</function> or - <function>ingres_autocommit</function>) to switch the "autocommit" mode - of the server on or off (when the script begins the autocommit mode is - off). + <function>ingres_autocommit</function> ã¯ããµã¼ãã® "autocommit" + ã¢ã¼ãããªã³ã¾ãã¯ãªãã«åæ¿ããããã«ããã©ã³ã¶ã¯ã·ã§ã³ããªã¼ã + ã³ããå(æåã«<function>ingres_query</function>ãã³ã¼ã«ããåã¾ + ãã¯<function>ingres_rollback</function>ã¾ã㯠+ <function>ingres_autocommit</function>ãã³ã¼ã«ããç´å¾)ã«ã³ã¼ã«ã + ãã¾ã(ã¹ã¯ãªããã®å®è¡éå§ã«ã¯ãautocommitã¢ã¼ãã¯ãªãã§ã)ã </para> <para> - When the autocommit mode is on, every query is automaticaly commited - by the server, as if <function>ingres_commit</function> was called - after every call to <function>ingres_query</function>. + autocommit ã¢ã¼ãããªã³ã®å ´åãåã¯ã¨ãªã¯ãµã¼ãã«ããèªåçã«ã³ãã + ãããã¾ããããã¯ã<function>ingres_query</function> ãã³ã¼ã«ã + ãå¾ã«å¸¸ã« <function>ingres_commit</function> ãã³ã¼ã«ãããã¨ã¨ + ç価ã§ãã </para> <para> - See also <function>ingres_query</function>, - <function>ingres_rollback</function> and - <function>ingres_commit</function>. + <function>ingres_rollback</function>, + <function>ingres_commit</function>ãåç §ä¸ããã </para> </refsect1> </refentry>
Index: phpdoc/ja/functions/ingres_ii.xml diff -u phpdoc/ja/functions/ingres_ii.xml:1.2 phpdoc/ja/functions/ingres_ii.xml:1.3 --- phpdoc/ja/functions/ingres_ii.xml:1.2 Sun Nov 26 04:47:20 2000 +++ phpdoc/ja/functions/ingres_ii.xml Mon Nov 27 05:57:37 2000 @@ -320,36 +320,34 @@ </funcprototype> </funcsynopsis> <para> - For delete, insert or update queries, - <function>ingres_num_rows</function> returns the number of rows - affected by the query. For other queries, - <function>ingres_num_rows</function> returns the number of rows - in the query's result. + delete, insert, update ã¯ã¨ãªã®å ´åã + <function>ingres_num_rows</function> ã¯ããã®ã¯ã¨ãªã«ããä½ç¨ãã + ãè¡(ã¬ã³ã¼ã)ã®æ°ãè¿ãã¾ãããã®ä»ã®ã¯ã¨ãªã®å ´åã + <function>ingres_num_rows</function> ã¯ã¯ã¨ãªçµæã®ã¬ã³ã¼ãæ°ãè¿ + ãã¾ãã </para> <para> <note> <simpara> - This function is mainly meant to get the number of rows - modified in the database. - If this function is called before using - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> or - <function>ingres_fetch_row</function> the server will delete - the result's data and the script won't be able to get them. + ãã®é¢æ°ã¯ã主ã«ãã¼ã¿ãã¼ã¹ã§ä¿®æ£ãããã¬ã³ã¼ãã®æ°ãå¾ãéã« + æç¨ã§ãããã®é¢æ°ã <function>ingres_fetch_array</function>ã + <function>ingres_fetch_object</function>ã + <function>ingres_fetch_row</function> ã使ç¨ããåã«ã³ã¼ã«ãã + ãå ´åããµã¼ãã¯çµæã®ãã¼ã¿ãåé¤ããã¹ã¯ãªããã¯çµæãå¾ãã + ã¨ãã§ããªããªãã¾ãã </simpara> <simpara> - You should instead retrieve the result's data using one of these - fetch functions in a loop until it returns false, indicating that - no more results are available. + 代ããã«ãããã®åå¾ç¨é¢æ°ã®ã©ãããããçµæãæ®ã£ã¦ããªãã¨ã + ãæå³ã§ false ãè¿ãã¾ã§ã«ã¼ãå¦çãè¡ããçµæã®ãã¼ã¿ãåå¾ã + ãå¿ è¦ãããã¾ãã </simpara> </note> </para> <para> - See also - <function>ingres_query</function>, - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_query</function>ã + <function>ingres_fetch_array</function>ã + <function>ingres_fetch_object</function>ã + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -372,16 +370,15 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_num_fields</function> returns the number of fields - in the results returned by the Ingres server after a call to - <function>ingres_query</function> + <function>ingres_num_fields</function> ã¯ã + <function>ingres_query</function> ãã³ã¼ã«ããå¾ã§ãIngres ãµã¼ã + ã«ããè¿ãããçµæã®ãã£ã¼ã«ãæ°ãè¿ãã¾ãã </para> <para> - See also - <function>ingres_query</function>, - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_query</function>ã + <function>ingres_fetch_array</function>ã + <function>ingres_fetch_object</function>ã + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -396,29 +393,26 @@ <funcsynopsis> <funcprototype> <funcdef>string<function>ingres_field_name</function></funcdef> - <paramdef>int - <parameter>index</parameter> - </paramdef> + <paramdef>int <parameter>index</parameter></paramdef> <paramdef>resource <parameter><optional>link</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> - <function>ingres_field_name</function> returns the name of a field - in a query result, or false on failure. + <function>ingres_field_name</function> ã¯ãã¯ã¨ãªçµæã®å ´åã¯ãã£ã¼ + ã«ãåã失æããå ´å㯠false ãè¿ãã¾ãã </para> <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1 㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also - <function>ingres_query</function>, - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_query</function>ã + <function>ingres_fetch_array</function>ã + <function>ingres_fetch_object</function>ã + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -441,28 +435,27 @@ </paramdef> </funcprototype> </funcsynopsis> + <para> + <function>ingres_field_type</function> ã¯ã¯ã¨ãªçµæã®ãã£ã¼ã«ãåã + 失æããå ´åã¯ãfalse ãè¿ãã¾ããè¿ãããåã¯ãä¾ãã°ã + "IIAPI_BYTE_TYPE", "IIAPI_CHA_TYPE", "IIAPI_DTE_TYPE", + "IIAPI_FLT_TYPE", "IIAPI_INT_TYPE", "IIAPI_VCH_TYPE" ã«ãªãã¾ãã + ãããã®åã®ããã¤ãã¯ããã£ã¼ã«ãé·ã«å¿ãã¦è¤æ°ã®SQLåããããã + ããã¨ãå¯è½ã§ã(<function>ingres_field_length</function>ãåç § + ä¸ãã)ãä¾ãã°ã"IIAPI_FLT_TYPE" ã¯ãfloat4 ã¾ã㯠float8 ã¨ãã + ãã¨ãå¯è½ã§ããè©³ç´°ãªæ å ±ã«ã¤ãã¦ã¯ãIngres/OpenAPI User Guide + ã® Appendix C ãåç §ä¸ããã + </para> <para> - <function>ingres_field_type</function> returns the type of a field - in a query result, or false on failure. - Examples of types returned are "IIAPI_BYTE_TYPE", - "IIAPI_CHA_TYPE", "IIAPI_DTE_TYPE", "IIAPI_FLT_TYPE", - "IIAPI_INT_TYPE", "IIAPI_VCH_TYPE". Some of these types can map - to more than one SQL type depending on the length of the field - (see <function>ingres_field_length</function>). For example - "IIAPI_FLT_TYPE" can be a float4 or a float8. For detailed - information, see the Ingres/OpenAPI User Guide - Appendix C. - </para> - <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also <function>ingres_query</function>, <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -486,20 +479,19 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_field_nullable</function> returns true if the field - can be set to the NULL value and false if it can't. + <function>ingres_field_nullable</function> ã¯ããã£ã¼ã«ãã«NULLã + è¨å®å¯è½ãªå ´åã« trueãè¨å®ã§ããªãå ´åã« false ãè¿ãã¾ãã </para> <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1 㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also <function>ingres_query</function>, <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -523,21 +515,21 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_field_length</function> returns the length of a field. - This is the number of bytes used by the server to store the field. - For detailed information, see the Ingres/OpenAPI User Guide - Appendix C. + <function>ingres_field_length</function> ã¯ãã£ã¼ã«ãé·ãè¿ãã¾ãã + ãã£ã¼ã«ãé·ã¯ããã£ã¼ã«ãããµã¼ãã«ä¿åããéã«ä½¿ç¨ããããã¤ã + æ°ã§ããè©³ç´°ãªæ å ±ã«ã¤ãã¦ã¯ãIngres/OpenAPI User Guide ã® + Appendix C ãåç §ä¸ããã </para> <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1 㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also <function>ingres_query</function>, <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -561,22 +553,21 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_field_precision</function> returns the precision of - a field. This value is used only for decimal, float and money SQL data - types. For detailed information, see the Ingres/OpenAPI User Guide - - Appendix C. + <function>ingres_field_precision</function> ã¯ãã£ã¼ã«ãã®ç²¾åº¦ã + è¿ãã¾ãããã®å¤ã¯ãdecimalãfloatãSQLãã¼ã¿ money åã§ã®ã¿ä½¿ç¨ + ããã¾ããè©³ç´°ãªæ å ±ã«ã¤ãã¦ã¯ãIngres/OpenAPI User Guide ã® + Appendix C ãåç §ä¸ããã </para> <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1 㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also <function>ingres_query</function>, <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -591,30 +582,28 @@ <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_field_scale</function></funcdef> - <paramdef>int - <parameter>index</parameter> - </paramdef> + <paramdef>int <parameter>index</parameter></paramdef> <paramdef>resource <parameter><optional>link</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> - <function>ingres_field_scale</function> returns the scale of a field. - This value is used only for the decimal SQL data type. For detailed - information, see the Ingres/OpenAPI User Guide - Appendix C. + <function>ingres_field_scale</function> ã¯ãã£ã¼ã«ãã®ã¹ã±ã¼ã«ã + è¿ãã¾ãããã®å¤ã¯ãSQLãã¼ã¿ decimal åã§ã®ã¿ä½¿ç¨ããã¾ãã詳細 + ãªæ å ±ã«ã¤ãã¦ã¯ãIngres/OpenAPI User Guide ã® Appendix C ãåç § + ä¸ããã </para> <para> - <parameter>index</parameter> is the number of the field and must be - between 1 and the value given by - <function>ingres_num_fields</function>. + <parameter>index</parameter> ã¯ãã£ã¼ã«ãçªå·ã§ããã1 㨠+ <function>ingres_num_fields</function> ã§æå®ããå¤ã®éã§ããå¿ è¦ + ãããã¾ãã </para> <para> - See also <function>ingres_query</function>, <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -638,23 +627,23 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_fetch_array</function> Returns an array that corresponds - to the fetched row, or false if there are no more rows. + <function>ingres_fetch_array</function> ã¯ãåå¾ããã¬ã³ã¼ã(è¡) + ã«å¯¾å¿ããé åãè¿ãã¾ããã¬ã³ã¼ãããããªãå ´å㯠false ãè¿ãã¾ + ãã </para> <para> - This function is an extended version of - <function>ingres_fetch_row</function>. In addition to storing the - data in the numeric indices of the result array, it also stores - the data in associative indices, using the field names as keys. + ãã®é¢æ°ã¯ã<function>ingres_fetch_row</function> ã®æ¡å¼µçã§ãã + çµæã¨ãã¦è¿ãããé åã®æ°å¤æ·»åã«ãã¼ã¿ãä¿åããã ãã§ãªãããã£ã¼ + ã«ãåããã¼ã¨ãã¦é£æ³é åã«ããã¼ã¿ãä¿åããã¾ãã </para> <para> - If two or more columns of the result have the same field names, - the last column will take precedence. To access the other column(s) - of the same name, you must use the numeric index of the column or - make an alias for the column. + çµæã«ããã¦è¤æ°ã®ã«ã©ã ãåããã£ã¼ã«ãåãæãã¦ããå ´åãå¾ã® + ã«ã©ã ãåªå ããã¾ããååã®ä»ã®ã«ã©ã ã«ã¢ã¯ã»ã¹ããã«ã¯ãã«ã©ã + ã®æ·»åçªå·ã使ç¨ããããã«ã©ã ã®ã¨ã¤ãªã¢ã¹ã使ããå¿ è¦ãããã¾ + ãã <informalexample> - <programlisting> -ingres_query(select t1.f1 as foo t2.f1 as bar from t1, t2); + <programlisting role="php"> +ingres_query (select t1.f1 as foo t2.f1 as bar from t1, t2); $result = ingres_fetch_array(); $foo = $result["foo"]; $bar = $result["bar"]; @@ -662,14 +651,14 @@ </informalexample> </para> <para> - <parameter>result_type</parameter> can be II_NUM for enumerated array, - II_ASSOC for associative array, or II_BOTH (default). + <parameter>result_type</parameter> ã«ã¯ãæ°å¤æ·»åã®å ´åã« II_NUMã + 飿³é åã®å ´åã« II_ASSOCã両æ¹ã®å ´åã« II_BOTH (ããã©ã«ã)ãæ + å®å¯è½ã§ãã </para> <para> - Speed-wise, the function is identical to - <function>ingres_fetch_object</function>, and almost as quick as - <function>ingres_fetch_row</function> (the difference is - insignificant). + é度é¢ã§ã¯ããã®é¢æ°ã¯<function>ingres_fetch_object</function> + ã¨åãã§ã<function>ingres_fetch_row</function> ã¨ã»ã¼åçã§ã(å·® + ã¯å ãã§ã)ã </para> <para> <example> @@ -680,9 +669,9 @@ ingres_query ("select * from table"); while ($row = ingres_fetch_array()) { - echo $row["user_id"]; # using associative array + echo $row["user_id"]; # 飿³é åã使ç¨ãã echo $row["fullname"]; - echo $row[1]; # using enumerated array + echo $row[1]; # æ°å¤æ·»åé åã使ç¨ãã echo $row[2]; } ?> @@ -690,12 +679,11 @@ </example> </para> <para> - See also <function>ingres_query</function>, <function>ingres_num_fields</function>, <function>ingres_field_name</function>, - <function>ingres_fetch_object</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_object</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -716,18 +704,18 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_fetch_row</function> returns an array that corresponds - to the fetched row, or false if there are no more rows. Each result - column is stored in an array offset, starting at offset 1. + <function>ingres_fetch_row</function> ã¯åå¾ããã¬ã³ã¼ã(è¡)ãæ + ããé åãè¿ãã¾ããã¬ã³ã¼ãããããªãå ´å㯠false ãè¿ãã¾ããå + ã«ã©ã ã¯ããªãã»ãã1ããå§ã¾ãé åãªãã»ããã«ä¿åããã¾ãã </para> <para> - Subsequent call to <function>ingres_fetch_row</function> would - return the next row in the result set, or false if there are no - more rows. + <function>ingres_fetch_row</function> ãé£ç¶çã«ã³ã¼ã«ããå ´åã + çµæéåã®ä¸ã®æ¬¡ã®ã¬ã³ã¼ããè¿ãããããã¬ã³ã¼ãããªãå ´åã¯false + ãè¿ãã¾ãã </para> <para> <example> - <title><function>ingres_fetch_row</function> example</title> + <title><function>ingres_fetch_row</function> ã®ä¾</title> <programlisting role="php"> <?php ingres_connect ($database, $user, $password); @@ -742,11 +730,10 @@ </example> </para> <para> - See also <function>ingres_num_fields</function>, <function>ingres_query</function>, - <function>ingres_fetch_array</function> and - <function>ingres_fetch_object</function>. + <function>ingres_fetch_array</function>, + <function>ingres_fetch_object</function>ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -770,30 +757,30 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_fetch_object</function> Returns an object that - corresponds to the fetched row, or false if there are no more rows. + <function>ingres_fetch_object</function> ã¯åå¾ããã¬ã³ã¼ã(è¡)ã + ãªãã¸ã§ã¯ãã¨ãã¦è¿ãã¾ããã¬ã³ã¼ãããããªãå ´å㯠false ãè¿ã + ã¾ãã </para> - <para> - This function is similar to - <function>ingres_fetch_array</function>, with one difference - an - object is returned, instead of an array. Indirectly, that means - that you can only access the data by the field names, and not by - their offsets (numbers are illegal property names). - </para> - <para> - The optional argument <parameter>result_type</parameter> is a - constant and can take the following values: II_ASSOC, - II_NUM, and II_BOTH. - </para> - <para> - Speed-wise, the function is identical to - <function>ingres_fetch_array</function>, and almost as quick as - <function>ingres_fetch_row</function> (the difference is - insignificant). + <para> + ãã®é¢æ°ã¯ <function>ingres_fetch_array</function> ã«ä¼¼ã¦ãã¾ããã + é åã®ä»£ããã«ãªãã¸ã§ã¯ããè¿ãããã¨ããéããä¸ã¤ããã¾ããé + æ¥çãªã¢ã¯ã»ã¹ãã¤ã¾ãããªãã»ããã§ã¯ãªããã£ã¼ã«ãåã«ãããã¼ + ã¿ãã¢ã¯ã»ã¹ãããã¨ã®ã¿ãå¯è½ã§ã(æ°å¤ã¯ããããã£åã¨ãã¦ã¯ä½¿ç¨ + ã§ãã¾ãã)ã </para> <para> + ãªãã·ã§ã³ã®å¼æ° <parameter>result_type</parameter> ã¯å®æ°ã§ããã + 次ã®å¤ã®ã©ããã¨ãªãã¾ã: II_ASSOC, + II_NUM, II_BOTH + </para> + <para> + é度ã®é¢ã§ã¯ããã®é¢æ°ã¯ <function>ingres_fetch_array</function> + ã¨ç価ã§ããã<function>ingres_fetch_row</function> ã¨ã»ã¼åçã§ + ã(éãã¯å ãã§ã)ã + </para> + <para> <example> - <title><function>ingres_fetch_object</function> example</title> + <title><function>ingres_fetch_object</function> ã®ä¾</title> <programlisting role="php"> <?php ingres_connect ($database, $user, $password); @@ -807,12 +794,11 @@ </example> </para> <para> - See also <function>ingres_query</function>, <function>ingres_num_fields</function>, <function>ingres_field_name</function>, - <function>ingres_fetch_array</function> and - <function>ingres_fetch_row</function>. + <function>ingres_fetch_array</function>, + <function>ingres_fetch_row</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -833,19 +819,19 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_rollback</function> rolls back the currently open - transaction, actualy canceling all changes made to the database - during the transaction. + <function>ingres_rollback</function> ã¯ç¾å¨ãªã¼ãã³ããã¦ãããã© + ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãããã©ã³ã¶ã¯ã·ã§ã³ã®éã«ãã¼ã¿ãã¼ã¹ + ã«è¡ãããå ¨ã¦ã®å¤æ´ããã£ã³ã»ã«ãã¾ãã </para> <para> - This closes the transaction. A new one can be open by sending a - query with <function>ingres_query</function>. + ãã®é¢æ°ã¯ããã©ã³ã¶ã¯ã·ã§ã³ãã¯ãã¼ãºãã¾ãã + <function>ingres_query</function> ã«ããã¯ã¨ãªãéä¿¡ãããã¨ã«ã + ããæ°è¦ã®ãã©ã³ã¶ã¯ã·ã§ã³ããªã¼ãã³ãããã¨ãå¯è½ã§ãã </para> <para> - See also <function>ingres_query</function>, - <function>ingres_commit</function> and - <function>ingres_autocommit</function>. + <function>ingres_commit</function>, + <function>ingres_autocommit</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -866,23 +852,23 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_commit</function> commits the currently open - transaction, making all changes made to the database permanent. + <function>ingres_commit</function> ã¯ç¾å¨ãªã¼ãã³ããã¦ãããã©ã³ + ã¶ã¯ã·ã§ã³ããªã¼ãã³ããå ¨ã¦ã®å¤æ´ããã¼ã¿ãã¼ã¹ã«ä¿åãã¾ãã </para> <para> - This closes the transaction. A new one can be open by sending a - query with <function>ingres_query</function>. + ãã®é¢æ°ã¯ãã©ã³ã¶ã¯ã·ã§ã³ãã¯ãã¼ãºãã¾ãã + <function>ingres_query</function> ã«ããã¯ã¨ãªãéä¿¡ãããã¨ã«ã + ããæ°è¦ã®ãã©ã³ã¶ã¯ã·ã§ã³ããªã¼ãã³ãããã¨ãå¯è½ã§ãã </para> <para> - You can also have the server commit automaticaly after every query - by calling <function>ingres_autocommit</function> before opening the - transaction. + ãã©ã³ã¶ã¯ã·ã§ã³ããªã¼ãã³ããåã« + <function>ingres_autocommit</function> ãã³ã¼ã«ãããã¨ã«ãããå + ã¯ã¨ãªã®å¾ã«èªåçã«ãµã¼ãå´ã§ã³ããããè¡ããã¨ãå¯è½ã§ãã </para> <para> - See also <function>ingres_query</function>, - <function>ingres_rollback</function> and - <function>ingres_autocommit</function>. + <function>ingres_rollback</function>, + <function>ingres_autocommit</function>ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -903,23 +889,23 @@ </funcprototype> </funcsynopsis> <para> - <function>ingres_autocommit</function> is called before opening a - transaction (before the first call to <function>ingres_query</function> - or just after a call to <function>ingres_rollback</function> or - <function>ingres_autocommit</function>) to switch the "autocommit" mode - of the server on or off (when the script begins the autocommit mode is - off). + <function>ingres_autocommit</function> ã¯ããµã¼ãã® "autocommit" + ã¢ã¼ãããªã³ã¾ãã¯ãªãã«åæ¿ããããã«ããã©ã³ã¶ã¯ã·ã§ã³ããªã¼ã + ã³ããå(æåã«<function>ingres_query</function>ãã³ã¼ã«ããåã¾ + ãã¯<function>ingres_rollback</function>ã¾ã㯠+ <function>ingres_autocommit</function>ãã³ã¼ã«ããç´å¾)ã«ã³ã¼ã«ã + ãã¾ã(ã¹ã¯ãªããã®å®è¡éå§ã«ã¯ãautocommitã¢ã¼ãã¯ãªãã§ã)ã </para> <para> - When the autocommit mode is on, every query is automaticaly commited - by the server, as if <function>ingres_commit</function> was called - after every call to <function>ingres_query</function>. + autocommit ã¢ã¼ãããªã³ã®å ´åãåã¯ã¨ãªã¯ãµã¼ãã«ããèªåçã«ã³ãã + ãããã¾ããããã¯ã<function>ingres_query</function> ãã³ã¼ã«ã + ãå¾ã«å¸¸ã« <function>ingres_commit</function> ãã³ã¼ã«ãããã¨ã¨ + ç価ã§ãã </para> <para> - See also <function>ingres_query</function>, - <function>ingres_rollback</function> and - <function>ingres_commit</function>. + <function>ingres_rollback</function>, + <function>ingres_commit</function>ãåç §ä¸ããã </para> </refsect1> </refentry>