mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
WS : *don't* use tabulations
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147964 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9275ab81cf
commit
b0b510f02a
6 changed files with 316 additions and 316 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.sesam-diagnostic">
|
||||
<refnamediv>
|
||||
|
@ -24,45 +24,45 @@
|
|||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Element</entry>
|
||||
<entry>Contents</entry>
|
||||
<entry>Element</entry>
|
||||
<entry>Contents</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>$array["sqlstate"]</entry>
|
||||
<entry>
|
||||
5 digit SQL return code (see the SESAM manual for the
|
||||
description of the possible values of SQLSTATE)
|
||||
</entry>
|
||||
<entry>$array["sqlstate"]</entry>
|
||||
<entry>
|
||||
5 digit SQL return code (see the SESAM manual for the
|
||||
description of the possible values of SQLSTATE)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>$array["rowcount"]</entry>
|
||||
<entry>
|
||||
number of affected rows in last update/insert/delete (set
|
||||
after "immediate" statements only)
|
||||
</entry>
|
||||
<entry>$array["rowcount"]</entry>
|
||||
<entry>
|
||||
number of affected rows in last update/insert/delete (set
|
||||
after "immediate" statements only)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>$array["errmsg"]</entry>
|
||||
<entry>
|
||||
"human readable" error message string (set after errors
|
||||
only)
|
||||
</entry>
|
||||
<entry>$array["errmsg"]</entry>
|
||||
<entry>
|
||||
"human readable" error message string (set after errors
|
||||
only)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>$array["errcol"]</entry>
|
||||
<entry>
|
||||
error column number of previous error (0-based; or -1 if
|
||||
undefined. Set after errors only)
|
||||
</entry>
|
||||
<entry>$array["errcol"]</entry>
|
||||
<entry>
|
||||
error column number of previous error (0-based; or -1 if
|
||||
undefined. Set after errors only)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>$array["errlin"]</entry>
|
||||
<entry>
|
||||
error line number of previous error (0-based; or -1 if
|
||||
undefined. Set after errors only)
|
||||
</entry>
|
||||
<entry>$array["errlin"]</entry>
|
||||
<entry>
|
||||
error line number of previous error (0-based; or -1 if
|
||||
undefined. Set after errors only)
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
@ -91,7 +91,7 @@ function PrintReturncode($exec_str) {
|
|||
--$colspan;
|
||||
echo "<table border=\"1\">\n";
|
||||
echo "<tr><th colspan=\"" . $colspan . "\"><span class=\"spanred\">ERROR:</span> ".
|
||||
htmlspecialchars($err["errmsg"]) . "</th></tr>\n";
|
||||
htmlspecialchars($err["errmsg"]) . "</th></tr>\n";
|
||||
if ($err["errcol"] >= 0) {
|
||||
echo "<tr><td colspan=\"" . $colspan . "\"><pre>\n";
|
||||
$errstmt = $exec_str . "\n";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.sesam-fetch-result">
|
||||
<refnamediv>
|
||||
|
@ -24,54 +24,54 @@
|
|||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Array Element</entry>
|
||||
<entry>Contents</entry>
|
||||
<entry>Array Element</entry>
|
||||
<entry>Contents</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>int $arr["count"]</entry>
|
||||
<entry>
|
||||
number of columns in result set (or zero if this was an
|
||||
"immediate" query)
|
||||
</entry>
|
||||
<entry>int $arr["count"]</entry>
|
||||
<entry>
|
||||
number of columns in result set (or zero if this was an
|
||||
"immediate" query)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>int $arr["rows"]</entry>
|
||||
<entry>
|
||||
number of rows in result set (between zero and
|
||||
<parameter>max_rows</parameter>)
|
||||
</entry>
|
||||
<entry>int $arr["rows"]</entry>
|
||||
<entry>
|
||||
number of rows in result set (between zero and
|
||||
<parameter>max_rows</parameter>)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>bool $arr["truncated"]</entry>
|
||||
<entry>
|
||||
&true; if the number of rows was at least
|
||||
<parameter>max_rows</parameter>, &false;
|
||||
otherwise. Note that even when this is
|
||||
&true;, the next
|
||||
<function>sesam_fetch_result</function> call may return zero
|
||||
rows because there are no more result entries.
|
||||
</entry>
|
||||
<entry>bool $arr["truncated"]</entry>
|
||||
<entry>
|
||||
&true; if the number of rows was at least
|
||||
<parameter>max_rows</parameter>, &false;
|
||||
otherwise. Note that even when this is
|
||||
&true;, the next
|
||||
<function>sesam_fetch_result</function> call may return zero
|
||||
rows because there are no more result entries.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>mixed $arr[col][row]</entry>
|
||||
<entry>
|
||||
result data for all the fields at
|
||||
row(<literal>row</literal>) and
|
||||
column(<literal>col</literal>), (where the integer index
|
||||
<literal>row</literal> is between 0 and
|
||||
<literal>$arr["rows"]-1</literal>, and
|
||||
<literal>col</literal> is between 0 and
|
||||
<literal>$arr["count"]-1</literal>). Fields may be empty, so
|
||||
you must check for the existence of a field by using the php
|
||||
<function>isset</function> function. The type of the
|
||||
returned fields depend on the respective SQL type declared
|
||||
for its column (see <link linkend="ref.sesam">SESAM
|
||||
overview</link> for the conversions applied). SESAM
|
||||
"multiple fields" are "inlined" and treated like a sequence
|
||||
of columns.
|
||||
</entry>
|
||||
<entry>mixed $arr[col][row]</entry>
|
||||
<entry>
|
||||
result data for all the fields at
|
||||
row(<literal>row</literal>) and
|
||||
column(<literal>col</literal>), (where the integer index
|
||||
<literal>row</literal> is between 0 and
|
||||
<literal>$arr["rows"]-1</literal>, and
|
||||
<literal>col</literal> is between 0 and
|
||||
<literal>$arr["count"]-1</literal>). Fields may be empty, so
|
||||
you must check for the existence of a field by using the php
|
||||
<function>isset</function> function. The type of the
|
||||
returned fields depend on the respective SQL type declared
|
||||
for its column (see <link linkend="ref.sesam">SESAM
|
||||
overview</link> for the conversions applied). SESAM
|
||||
"multiple fields" are "inlined" and treated like a sequence
|
||||
of columns.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.sesam-fetch-row">
|
||||
<refnamediv>
|
||||
|
@ -38,63 +38,63 @@
|
|||
<tgroup cols="3">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Value</entry>
|
||||
<entry>Constant</entry>
|
||||
<entry>Meaning</entry>
|
||||
<entry>Value</entry>
|
||||
<entry>Constant</entry>
|
||||
<entry>Meaning</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>0</entry>
|
||||
<entry><literal>SESAM_SEEK_NEXT</literal></entry>
|
||||
<entry>
|
||||
read sequentially (after fetch, the internal default is set
|
||||
to <literal>SESAM_SEEK_NEXT</literal>)
|
||||
</entry>
|
||||
<entry>0</entry>
|
||||
<entry><literal>SESAM_SEEK_NEXT</literal></entry>
|
||||
<entry>
|
||||
read sequentially (after fetch, the internal default is set
|
||||
to <literal>SESAM_SEEK_NEXT</literal>)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1</entry>
|
||||
<entry><literal>SESAM_SEEK_PRIOR</literal></entry>
|
||||
<entry>
|
||||
read sequentially backwards (after fetch, the internal
|
||||
default is set to <literal>SESAM_SEEK_PRIOR</literal>)
|
||||
</entry>
|
||||
<entry>1</entry>
|
||||
<entry><literal>SESAM_SEEK_PRIOR</literal></entry>
|
||||
<entry>
|
||||
read sequentially backwards (after fetch, the internal
|
||||
default is set to <literal>SESAM_SEEK_PRIOR</literal>)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>2</entry>
|
||||
<entry><literal>SESAM_SEEK_FIRST</literal></entry>
|
||||
<entry>
|
||||
rewind to first row (after fetch, the default is set to
|
||||
<literal>SESAM_SEEK_NEXT</literal>)
|
||||
</entry>
|
||||
<entry>2</entry>
|
||||
<entry><literal>SESAM_SEEK_FIRST</literal></entry>
|
||||
<entry>
|
||||
rewind to first row (after fetch, the default is set to
|
||||
<literal>SESAM_SEEK_NEXT</literal>)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>3</entry>
|
||||
<entry><literal>SESAM_SEEK_LAST</literal></entry>
|
||||
<entry>
|
||||
seek to last row (after fetch, the default is set to
|
||||
<literal>SESAM_SEEK_PRIOR</literal>)
|
||||
</entry>
|
||||
<entry>3</entry>
|
||||
<entry><literal>SESAM_SEEK_LAST</literal></entry>
|
||||
<entry>
|
||||
seek to last row (after fetch, the default is set to
|
||||
<literal>SESAM_SEEK_PRIOR</literal>)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4</entry>
|
||||
<entry><literal>SESAM_SEEK_ABSOLUTE</literal></entry>
|
||||
<entry>
|
||||
seek to absolute row number given as
|
||||
<parameter>offset</parameter> (Zero-based. After fetch, the
|
||||
internal default is set to
|
||||
<literal>SESAM_SEEK_ABSOLUTE</literal>, and the internal
|
||||
offset value is auto-incremented)
|
||||
</entry>
|
||||
<entry>4</entry>
|
||||
<entry><literal>SESAM_SEEK_ABSOLUTE</literal></entry>
|
||||
<entry>
|
||||
seek to absolute row number given as
|
||||
<parameter>offset</parameter> (Zero-based. After fetch, the
|
||||
internal default is set to
|
||||
<literal>SESAM_SEEK_ABSOLUTE</literal>, and the internal
|
||||
offset value is auto-incremented)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5</entry>
|
||||
<entry><literal>SESAM_SEEK_RELATIVE</literal></entry>
|
||||
<entry>
|
||||
seek relative to current scroll position, where
|
||||
<parameter>offset</parameter> can be a positive or negative
|
||||
offset value.
|
||||
</entry>
|
||||
<entry>5</entry>
|
||||
<entry><literal>SESAM_SEEK_RELATIVE</literal></entry>
|
||||
<entry>
|
||||
seek relative to current scroll position, where
|
||||
<parameter>offset</parameter> can be a positive or negative
|
||||
offset value.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.sesam-field-array">
|
||||
<refnamediv>
|
||||
|
@ -32,155 +32,155 @@
|
|||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Array Element</entry>
|
||||
<entry>Contents</entry>
|
||||
<entry>Array Element</entry>
|
||||
<entry>Contents</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>int $arr["count"]</entry>
|
||||
<entry>
|
||||
Total number of columns in result set (or zero if this was
|
||||
an "immediate" query). SESAM "multiple fields" are
|
||||
"inlined" and treated like the respective number of columns.
|
||||
</entry>
|
||||
<entry>int $arr["count"]</entry>
|
||||
<entry>
|
||||
Total number of columns in result set (or zero if this was
|
||||
an "immediate" query). SESAM "multiple fields" are
|
||||
"inlined" and treated like the respective number of columns.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>string $arr[col]["name"]</entry>
|
||||
<entry>
|
||||
column name for column(<literal>col</literal>), where
|
||||
<literal>col</literal> is between 0 and
|
||||
<literal>$arr["count"]-1</literal>. The returned value can
|
||||
be the empty string (for dynamically computed
|
||||
columns). SESAM "multiple fields" are "inlined" and treated
|
||||
like the respective number of columns, each with the same
|
||||
column name.
|
||||
</entry>
|
||||
<entry>string $arr[col]["name"]</entry>
|
||||
<entry>
|
||||
column name for column(<literal>col</literal>), where
|
||||
<literal>col</literal> is between 0 and
|
||||
<literal>$arr["count"]-1</literal>. The returned value can
|
||||
be the empty string (for dynamically computed
|
||||
columns). SESAM "multiple fields" are "inlined" and treated
|
||||
like the respective number of columns, each with the same
|
||||
column name.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>string $arr[col]["count"]</entry>
|
||||
<entry>
|
||||
The "count" attribute describes the repetition factor when
|
||||
the column has been declared as a "multiple field". Usually,
|
||||
the "count" attribute is 1. The first column of a "multiple
|
||||
field" column however contains the number of repetitions
|
||||
(the second and following column of the "multiple field"
|
||||
contain a "count" attribute of 1). This can be used to
|
||||
detect "multiple fields" in the result set. See the example
|
||||
shown in the <function>sesam_query</function> description
|
||||
for a sample use of the "count" attribute.
|
||||
</entry>
|
||||
<entry>string $arr[col]["count"]</entry>
|
||||
<entry>
|
||||
The "count" attribute describes the repetition factor when
|
||||
the column has been declared as a "multiple field". Usually,
|
||||
the "count" attribute is 1. The first column of a "multiple
|
||||
field" column however contains the number of repetitions
|
||||
(the second and following column of the "multiple field"
|
||||
contain a "count" attribute of 1). This can be used to
|
||||
detect "multiple fields" in the result set. See the example
|
||||
shown in the <function>sesam_query</function> description
|
||||
for a sample use of the "count" attribute.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>string $arr[col]["type"]</entry>
|
||||
<entry>
|
||||
PHP variable type of the data for
|
||||
column(<literal>col</literal>), where <literal>col</literal>
|
||||
is between 0 and <literal>$arr["count"]-1</literal>. The
|
||||
returned value can be one of
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara><type>integer</type></simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara><type>float</type></simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara><type>string</type></simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
depending on the SQL type of the result. SESAM "multiple
|
||||
fields" are "inlined" and treated like the respective number
|
||||
of columns, each with the same PHP type.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>string $arr[col]["sqltype"]</entry>
|
||||
<entry>
|
||||
SQL variable type of the column data for
|
||||
column(<literal>col</literal>), where <literal>col</literal>
|
||||
is between 0 and <literal>$arr["count"]-1</literal>. The
|
||||
returned value can be one of
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>"CHARACTER"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"VARCHAR"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"NUMERIC"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"DECIMAL"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"INTEGER"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"SMALLINT"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"FLOAT"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"REAL"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"DOUBLE"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"DATE"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"TIME"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"TIMESTAMP"</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
describing the SQL type of the result. SESAM "multiple
|
||||
fields" are "inlined" and treated like the respective number
|
||||
of columns, each with the same SQL type.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>string $arr[col]["length"]</entry>
|
||||
<entry>
|
||||
The SQL "length" attribute of the SQL variable in
|
||||
column(<literal>col</literal>), where <literal>col</literal>
|
||||
is between 0 and <literal>$arr["count"]-1</literal>. The
|
||||
"length" attribute is used with "CHARACTER" and "VARCHAR"
|
||||
SQL types to specify the (maximum) length of the string
|
||||
variable. SESAM "multiple fields" are "inlined" and treated
|
||||
like the respective number of columns, each with the same
|
||||
length attribute.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>string $arr[col]["precision"]</entry>
|
||||
<entry>
|
||||
The "precision" attribute of the SQL variable in
|
||||
column(<literal>col</literal>), where <literal>col</literal>
|
||||
is between 0 and <literal>$arr["count"]-1</literal>. The
|
||||
"precision" attribute is used with numeric and time data
|
||||
types. SESAM "multiple fields" are "inlined" and treated
|
||||
like the respective number of columns, each with the same
|
||||
precision attribute.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>string $arr[col]["scale"]</entry>
|
||||
<entry>
|
||||
The "scale" attribute of the SQL variable in
|
||||
column(<literal>col</literal>), where <literal>col</literal>
|
||||
is between 0 and <literal>$arr["count"]-1</literal>. The
|
||||
"scale" attribute is used with numeric data types. SESAM
|
||||
"multiple fields" are "inlined" and treated like the
|
||||
respective number of columns, each with the same scale
|
||||
attribute.
|
||||
</entry>
|
||||
</row>
|
||||
<entry>string $arr[col]["type"]</entry>
|
||||
<entry>
|
||||
PHP variable type of the data for
|
||||
column(<literal>col</literal>), where <literal>col</literal>
|
||||
is between 0 and <literal>$arr["count"]-1</literal>. The
|
||||
returned value can be one of
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara><type>integer</type></simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara><type>float</type></simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara><type>string</type></simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
depending on the SQL type of the result. SESAM "multiple
|
||||
fields" are "inlined" and treated like the respective number
|
||||
of columns, each with the same PHP type.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>string $arr[col]["sqltype"]</entry>
|
||||
<entry>
|
||||
SQL variable type of the column data for
|
||||
column(<literal>col</literal>), where <literal>col</literal>
|
||||
is between 0 and <literal>$arr["count"]-1</literal>. The
|
||||
returned value can be one of
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>"CHARACTER"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"VARCHAR"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"NUMERIC"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"DECIMAL"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"INTEGER"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"SMALLINT"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"FLOAT"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"REAL"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"DOUBLE"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"DATE"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"TIME"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"TIMESTAMP"</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
describing the SQL type of the result. SESAM "multiple
|
||||
fields" are "inlined" and treated like the respective number
|
||||
of columns, each with the same SQL type.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>string $arr[col]["length"]</entry>
|
||||
<entry>
|
||||
The SQL "length" attribute of the SQL variable in
|
||||
column(<literal>col</literal>), where <literal>col</literal>
|
||||
is between 0 and <literal>$arr["count"]-1</literal>. The
|
||||
"length" attribute is used with "CHARACTER" and "VARCHAR"
|
||||
SQL types to specify the (maximum) length of the string
|
||||
variable. SESAM "multiple fields" are "inlined" and treated
|
||||
like the respective number of columns, each with the same
|
||||
length attribute.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>string $arr[col]["precision"]</entry>
|
||||
<entry>
|
||||
The "precision" attribute of the SQL variable in
|
||||
column(<literal>col</literal>), where <literal>col</literal>
|
||||
is between 0 and <literal>$arr["count"]-1</literal>. The
|
||||
"precision" attribute is used with numeric and time data
|
||||
types. SESAM "multiple fields" are "inlined" and treated
|
||||
like the respective number of columns, each with the same
|
||||
precision attribute.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>string $arr[col]["scale"]</entry>
|
||||
<entry>
|
||||
The "scale" attribute of the SQL variable in
|
||||
column(<literal>col</literal>), where <literal>col</literal>
|
||||
is between 0 and <literal>$arr["count"]-1</literal>. The
|
||||
"scale" attribute is used with numeric data types. SESAM
|
||||
"multiple fields" are "inlined" and treated like the
|
||||
respective number of columns, each with the same scale
|
||||
attribute.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.sesam-seek-row">
|
||||
<refnamediv>
|
||||
|
@ -31,59 +31,59 @@
|
|||
<tgroup cols="3">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Value</entry>
|
||||
<entry>Constant</entry>
|
||||
<entry>Meaning</entry>
|
||||
<entry>Value</entry>
|
||||
<entry>Constant</entry>
|
||||
<entry>Meaning</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>0</entry>
|
||||
<entry><literal>SESAM_SEEK_NEXT</literal></entry>
|
||||
<entry>read sequentially
|
||||
<entry>0</entry>
|
||||
<entry><literal>SESAM_SEEK_NEXT</literal></entry>
|
||||
<entry>read sequentially
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1</entry>
|
||||
<entry><literal>SESAM_SEEK_PRIOR</literal></entry>
|
||||
<entry>read sequentially backwards
|
||||
</entry>
|
||||
<entry>1</entry>
|
||||
<entry><literal>SESAM_SEEK_PRIOR</literal></entry>
|
||||
<entry>read sequentially backwards
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>2</entry>
|
||||
<entry><literal>SESAM_SEEK_FIRST</literal></entry>
|
||||
<entry>
|
||||
fetch first row (after fetch, the default is set to
|
||||
<literal>SESAM_SEEK_NEXT</literal>)
|
||||
</entry>
|
||||
<entry>2</entry>
|
||||
<entry><literal>SESAM_SEEK_FIRST</literal></entry>
|
||||
<entry>
|
||||
fetch first row (after fetch, the default is set to
|
||||
<literal>SESAM_SEEK_NEXT</literal>)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>3</entry>
|
||||
<entry><literal>SESAM_SEEK_LAST</literal></entry>
|
||||
<entry>
|
||||
fetch last row (after fetch, the default is set to
|
||||
<literal>SESAM_SEEK_PRIOR</literal>)
|
||||
</entry>
|
||||
<entry>3</entry>
|
||||
<entry><literal>SESAM_SEEK_LAST</literal></entry>
|
||||
<entry>
|
||||
fetch last row (after fetch, the default is set to
|
||||
<literal>SESAM_SEEK_PRIOR</literal>)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4</entry>
|
||||
<entry><literal>SESAM_SEEK_ABSOLUTE</literal></entry>
|
||||
<entry>
|
||||
fetch absolute row number given as
|
||||
<parameter>offset</parameter> (Zero-based. After fetch, the
|
||||
default is set to <literal>SESAM_SEEK_ABSOLUTE</literal>,
|
||||
and the offset value is auto-incremented)
|
||||
</entry>
|
||||
<entry>4</entry>
|
||||
<entry><literal>SESAM_SEEK_ABSOLUTE</literal></entry>
|
||||
<entry>
|
||||
fetch absolute row number given as
|
||||
<parameter>offset</parameter> (Zero-based. After fetch, the
|
||||
default is set to <literal>SESAM_SEEK_ABSOLUTE</literal>,
|
||||
and the offset value is auto-incremented)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5</entry>
|
||||
<entry><literal>SESAM_SEEK_RELATIVE</literal></entry>
|
||||
<entry>
|
||||
fetch relative to current scroll position, where
|
||||
<parameter>offset</parameter> can be a positive or negative
|
||||
offset value (this also sets the default "offset" value for
|
||||
subsequent fetches).
|
||||
</entry>
|
||||
<entry>5</entry>
|
||||
<entry><literal>SESAM_SEEK_RELATIVE</literal></entry>
|
||||
<entry>
|
||||
fetch relative to current scroll position, where
|
||||
<parameter>offset</parameter> can be a positive or negative
|
||||
offset value (this also sets the default "offset" value for
|
||||
subsequent fetches).
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.sesam-settransaction">
|
||||
<refnamediv>
|
||||
|
@ -43,31 +43,31 @@
|
|||
<tgroup cols="3">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Value</entry>
|
||||
<entry>Constant</entry>
|
||||
<entry>Meaning</entry>
|
||||
<entry>Value</entry>
|
||||
<entry>Constant</entry>
|
||||
<entry>Meaning</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1</entry>
|
||||
<entry><literal>SESAM_TXISOL_READ_UNCOMMITTED</literal></entry>
|
||||
<entry>Read Uncommitted</entry>
|
||||
<entry>1</entry>
|
||||
<entry><literal>SESAM_TXISOL_READ_UNCOMMITTED</literal></entry>
|
||||
<entry>Read Uncommitted</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>2</entry>
|
||||
<entry><literal>SESAM_TXISOL_READ_COMMITTED</literal></entry>
|
||||
<entry>Read Committed</entry>
|
||||
<entry>2</entry>
|
||||
<entry><literal>SESAM_TXISOL_READ_COMMITTED</literal></entry>
|
||||
<entry>Read Committed</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>3</entry>
|
||||
<entry><literal>SESAM_TXISOL_REPEATABLE_READ</literal></entry>
|
||||
<entry>Repeatable Read</entry>
|
||||
<entry>3</entry>
|
||||
<entry><literal>SESAM_TXISOL_REPEATABLE_READ</literal></entry>
|
||||
<entry>Repeatable Read</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4</entry>
|
||||
<entry><literal>SESAM_TXISOL_SERIALIZABLE</literal></entry>
|
||||
<entry>Serializable</entry>
|
||||
<entry>4</entry>
|
||||
<entry><literal>SESAM_TXISOL_SERIALIZABLE</literal></entry>
|
||||
<entry>Serializable</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
@ -79,21 +79,21 @@
|
|||
<tgroup cols="3">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Value</entry>
|
||||
<entry>Constant</entry>
|
||||
<entry>Meaning</entry>
|
||||
<entry>Value</entry>
|
||||
<entry>Constant</entry>
|
||||
<entry>Meaning</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>0</entry>
|
||||
<entry><literal>SESAM_TXREAD_READWRITE</literal></entry>
|
||||
<entry>Read/Write</entry>
|
||||
<entry>0</entry>
|
||||
<entry><literal>SESAM_TXREAD_READWRITE</literal></entry>
|
||||
<entry>Read/Write</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1</entry>
|
||||
<entry><literal>SESAM_TXREAD_READONLY</literal></entry>
|
||||
<entry>Read-Only</entry>
|
||||
<entry>1</entry>
|
||||
<entry><literal>SESAM_TXREAD_READONLY</literal></entry>
|
||||
<entry>Read-Only</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
Loading…
Reference in a new issue