cvs: phpdoc /en/reference/mysql/functions mysql-query.xml mysql-unbuffered-query.xml

From: Date: Tue, 16 Apr 2002 19:18:19 +0000
Subject: cvs: phpdoc /en/reference/mysql/functions mysql-query.xml mysql-unbuffered-query.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969344474@lists.php.net to get a copy of this message
goba Tue Apr 16 15:18:19 2002 EDT Modified files: /phpdoc/en/reference/mysql/functions mysql-query.xml mysql-unbuffered-query.xml Log: Adding missing parameter info Index: phpdoc/en/reference/mysql/functions/mysql-query.xml diff -u phpdoc/en/reference/mysql/functions/mysql-query.xml:1.1 phpdoc/en/reference/mysql/functions/mysql-query.xml:1.2 --- phpdoc/en/reference/mysql/functions/mysql-query.xml:1.1 Sun Apr 14 20:06:56 2002 +++ phpdoc/en/reference/mysql/functions/mysql-query.xml Tue Apr 16 15:18:19 2002 @@ -11,6 +11,7 @@ <type>resource</type><methodname>mysql_query</methodname> <methodparam><type>string</type><parameter>query</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>result_mode</parameter></methodparam> </methodsynopsis> <para> <function>mysql_query</function> sends a query to the currently @@ -20,6 +21,13 @@ opened link is assumed. If no link is open, the function tries to establish a link as if <function>mysql_connect</function> was called with no arguments, and use it. + </para> + <para> + The optional <parameter>result_mode</parameter> parameter + can be MYSQL_USE_RESULT and MYSQL_STORE_RESULT. It + defaults to MYSQL_STORE_RESULT, so the result is buffered. + See also <function>mysql_unbuffered_query</function> for the + counterpart of this behaviour. </para> <note> <para> Index: phpdoc/en/reference/mysql/functions/mysql-unbuffered-query.xml diff -u phpdoc/en/reference/mysql/functions/mysql-unbuffered-query.xml:1.1 phpdoc/en/reference/mysql/functions/mysql-unbuffered-query.xml:1.2 --- phpdoc/en/reference/mysql/functions/mysql-unbuffered-query.xml:1.1 Sun Apr 14 20:06:57 2002 +++ phpdoc/en/reference/mysql/functions/mysql-unbuffered-query.xml Tue Apr 16 15:18:19 2002 @@ -14,6 +14,7 @@ <type>resource</type><methodname>mysql_unbuffered_query</methodname> <methodparam><type>string</type><parameter>query</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>result_mode</parameter></methodparam> </methodsynopsis> <para> <function>mysql_unbuffered_query</function> sends a SQL query @@ -27,6 +28,13 @@ query has been performed. When using multiple DB-connects, you have to specify the optional parameter <parameter>link_identifier</parameter>. + </para> + <para> + The optional <parameter>result_mode</parameter> parameter + can be MYSQL_USE_RESULT and MYSQL_STORE_RESULT. It + defaults to MYSQL_USE_RESULT, so the result is not buffered. + See also <function>mysql_query</function> for the + counterpart of this behaviour. </para> <note> <para>

« previous php.doc (#969344474) next »