Explicacao sobre os tipos dos valores de retorno do fetch.

Pequenas correcoes.
This commit is contained in:
tomas 2003-05-08 22:49:45 +00:00
parent c65ce78733
commit 584872c6ab
2 changed files with 27 additions and 15 deletions

View File

@ -1,5 +1,5 @@
<html>
<!$Id: index.html,v 1.7 2003/05/07 06:20:50 tomas Exp $>
<!$Id: index.html,v 1.8 2003/05/08 22:49:45 tomas Exp $>
<head>
<style type="text/css">
@ -129,16 +129,23 @@ using <tt>sed</tt>, according to each driver and platform.
<a name=hist>
<h2>History</h2>
<p>
LuaSQL was designed by Pedro Miller Rabinovitch and Roberto
Ierusalimschy, sponsored by
<a href="http://www.fabricadigital.com.br">Fábrica Digital</a>.
The first implementation was compatible with Lua 4.0a.
Many modifications were made but not distributed by Diego Nehab (ODBC),
Carlos Cassino, Tomas Guisasola and Eduardo Quint&atilde;o (PostgreSQL).
<h4>LuaSQL 2.0</h4>
<p>
Version 2.0 was redesigned by Roberto Ierusalimschy, Andr&eacute; Carregal
and Tom&aacute;s Guisasola behind the Kepler Project.
The implementation is compatible with Lua 5.0 and was coded by
Tom&aacute;s Guisasola.
<h4>LuaSQL 1.0</h4>
<p>
LuaSQL was designed by Pedro Miller Rabinovitch and Roberto
Ierusalimschy.
The first implementation was compatible with Lua 4.0a.
Many modifications were made but not distributed by Diego Nehab (ODBC),
Carlos Cassino, Tom&aacute;s Guisasola and Eduardo Quint&atilde;o (PostgreSQL).
<p>
LuaSQL development was sponsored by
<a href="http://www.fabricadigital.com.br">Fábrica Digital</a>.
<p>
<center><small>
@ -154,8 +161,8 @@ and Tom&aacute;s Guisasola behind the Kepler Project.
<hr>
<small>
Last modified by Tom&aacute;s Guisasola on<br>
Wed May 7 06:16:50 BRT 2003
Last modified on
Thu May 8 22:00:43 BRT 2003
</small>
</body>

View File

@ -1,5 +1,5 @@
<html>
<!$Id: manual.html,v 1.9 2003/05/07 06:20:50 tomas Exp $>
<!$Id: manual.html,v 1.10 2003/05/08 22:49:45 tomas Exp $>
<head>
<style type="text/css">
@ -174,13 +174,18 @@ The mode string can contain:
<li> <b>"n"</b> the resulting table will have numerical indices (default)
<li> <b>"a"</b> the resulting table will have alphanumerical indices
</ul>
The <i>numerical indexes</i> are the positions of the fields in the select
The <i>numerical indices</i> are the positions of the fields in the select
statement;
the <i>alphanumerical indexes</i> are the names of the fields.
the <i>alphanumerical indices</i> are the names of the fields.<br>
The optional <tt>table</tt> parameter is a table that should be
used to store the next row.
This allows the use of a unique table for many fetches which
can improve the overall performance.<br>
There is no guarantee about the types of the results
-- they can be converted to adequate Lua types by the driver or not.
<i>In the current implementation (2.0a),
the PostgreSQL driver returns all values as strings
while the ODBC driver converts them to Lua types</i>.<br>
Returns: data, as above, or <tt>nil</tt> if there are no more rows.
<a name="cur_colnames"></a>
@ -318,8 +323,8 @@ Name: Maria das Dores, E-mail: maria@dores.com
<hr>
<small>
Last modified by Tom&aacute;s Guisasola on<br>
Wed May 7 06:18:40 BRT 2003
Last modified on
Thu May 8 22:49:03 BRT 2003
</small>
</body>