Explicacao sobre os tipos dos valores de retorno do fetch.
Pequenas correcoes.
This commit is contained in:
parent
c65ce78733
commit
584872c6ab
27
index.html
27
index.html
@ -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ão (PostgreSQL).
|
||||
<h4>LuaSQL 2.0</h4>
|
||||
<p>
|
||||
Version 2.0 was redesigned by Roberto Ierusalimschy, André Carregal
|
||||
and Tomás Guisasola behind the Kepler Project.
|
||||
The implementation is compatible with Lua 5.0 and was coded by
|
||||
Tomá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ás Guisasola and Eduardo Quintã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ás Guisasola behind the Kepler Project.
|
||||
|
||||
<hr>
|
||||
<small>
|
||||
Last modified by Tomá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>
|
||||
|
15
manual.html
15
manual.html
@ -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á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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user