2003-04-28 09:45:14 +00:00
|
|
|
|
<html>
|
2003-05-02 10:51:33 +00:00
|
|
|
|
<!$Id: index.html,v 1.5 2003/05/02 10:51:33 tomas Exp $>
|
2003-04-28 09:45:14 +00:00
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
ul { list-style-type: disc };
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body bgcolor="#FFFFFF">
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
<center>
|
|
|
|
|
<table border=0 cellspacing=2 cellpadding=2>
|
|
|
|
|
<tr><td align=center><a href="http://www.lua.org">
|
|
|
|
|
<img border=0 alt="The Lua language" src="lua.png"></a>
|
|
|
|
|
<tr><td align=center><big><b>LuaSQL</b></big>
|
|
|
|
|
<tr><td align=center valign=top>Database connectivity for the Lua language
|
|
|
|
|
</table>
|
|
|
|
|
</center>
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
|
|
<center><small>
|
|
|
|
|
<a href=#over>overview</a> ·
|
|
|
|
|
<a href=#version>current version</a> ·
|
2003-04-30 16:33:57 +00:00
|
|
|
|
<a href=#download>download</a> ·
|
2003-04-28 16:02:58 +00:00
|
|
|
|
<a href=#new>what's new</a> ·
|
2003-04-28 09:45:14 +00:00
|
|
|
|
<a href="manual.html">manual</a> ·
|
|
|
|
|
<a href=#hist>history</a>
|
|
|
|
|
</small></center>
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
<h2>Contents</h2>
|
|
|
|
|
<p>
|
|
|
|
|
<ul>
|
|
|
|
|
<li> <a href=#over>Overview</a>
|
|
|
|
|
<li> <a href=#current>Current Version</a>
|
|
|
|
|
<li> <a href=#new>What's new</a>
|
2003-04-30 16:33:57 +00:00
|
|
|
|
<li> <a href=#download>Download</a>
|
2003-04-28 09:45:14 +00:00
|
|
|
|
<li> <a href="manual.html">User's manual</a>
|
|
|
|
|
<ul>
|
2003-05-02 10:51:33 +00:00
|
|
|
|
<li> <a href="manual.html#environment">Environment class</a>
|
|
|
|
|
<li> <a href="manual.html#connection">Connection class</a>
|
|
|
|
|
<li> <a href="manual.html#cursor">Cursor class</a>
|
|
|
|
|
<li> <a href="manual.html#examples">Examples</a>
|
2003-04-28 09:45:14 +00:00
|
|
|
|
</ul>
|
|
|
|
|
<li> <a href=#hist>History</a>
|
|
|
|
|
</ul>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a name=over>
|
|
|
|
|
<h2>Overview</h2>
|
|
|
|
|
<p>
|
2003-04-30 16:33:57 +00:00
|
|
|
|
LuaSQL is a simple interface from Lua to a DBMS.
|
|
|
|
|
It enables a Lua program to:
|
2003-04-28 09:45:14 +00:00
|
|
|
|
<ul>
|
|
|
|
|
<li> Connect to ODBC and PostgreSQL databases;
|
|
|
|
|
<li> Execute arbitrary SQL statements;
|
|
|
|
|
<li> Retrieve results in a row-by-row cursor fashion.
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a name=version>
|
|
|
|
|
<h2>Current version</h2>
|
|
|
|
|
<p>
|
2003-04-30 16:33:57 +00:00
|
|
|
|
LuaSQL version 2.0 (for Lua 5.0) is now available for
|
|
|
|
|
<a href="#download">download</a>!
|
2003-04-28 09:45:14 +00:00
|
|
|
|
The PostgreSQL driver
|
|
|
|
|
has been tested on Linux and MacOS X,
|
|
|
|
|
and the ODBC driver has been tested on Windows
|
|
|
|
|
(SQLServer and Microsoft Access drivers) and
|
|
|
|
|
on Linux (Linux ODBC Informix driver).
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
2003-04-30 16:33:57 +00:00
|
|
|
|
<a name=download>
|
2003-04-28 09:45:14 +00:00
|
|
|
|
<h2>Download</h2>
|
|
|
|
|
|
|
|
|
|
LuaSQL can be downloaded in source code from the following links: <p>
|
|
|
|
|
|
|
|
|
|
<blockquote>
|
2003-04-29 12:23:00 +00:00
|
|
|
|
<a href="http://poison.les.inf.puc-rio.br/luasql/luasql.tar.gz">luasql.tar.gz</a><br>
|
|
|
|
|
<a href="http://poison.les.inf.puc-rio.br/luasql/luasql.zip">luasql.zip</a>
|
2003-04-28 09:45:14 +00:00
|
|
|
|
</blockquote><p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a name=new>
|
|
|
|
|
<h2>What's new</h2>
|
|
|
|
|
<p>
|
|
|
|
|
Version 2.0 has some design modifications and implementation improvements
|
|
|
|
|
<ul>
|
|
|
|
|
<li>New <tt>fetch</tt> method: more eficient and more flexible
|
|
|
|
|
<li>New <tt>setautocommit</tt> method
|
|
|
|
|
<!--<li>No more <tt>Options</tt>-->
|
|
|
|
|
<li>Lua 5.0 compatible
|
|
|
|
|
<li>Dynamically loadable or statically linked
|
|
|
|
|
</ul>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
Version 1.0 has been released because there have been some compatibility
|
|
|
|
|
improvements in the ODBC driver.
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
<li> Error message retrieval has been rewritten and is more stable;
|
|
|
|
|
<li> Long value retrieval has been rewritten to support the informix
|
|
|
|
|
driver;
|
|
|
|
|
<li> Bug-fix: TableList statement handle was not being closed;
|
|
|
|
|
<li> Bug-fix: Connection handle was being released before error message
|
|
|
|
|
retrieved.
|
|
|
|
|
</ul>
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2><a name=hist>History</h2>
|
|
|
|
|
|
|
|
|
|
LuaSQL was designed by Pedro Miller Rabinovitch and Roberto
|
|
|
|
|
Ierusalimschy, sponsored by <a href="http://www.fabricadigital.com.br">
|
|
|
|
|
F<EFBFBD>brica Digital</a>. The first implementation was compatible with Lua
|
|
|
|
|
4.0a. The current ODBC driver has been adapted from the original version
|
|
|
|
|
by Diego Nehab, and the PostgreSQL driver has been adapted by Roberto
|
|
|
|
|
Ierusalimschy and Carlos Cassino.
|
|
|
|
|
Version 1.1 was made by Diego Nehab, Eduardo Quintão and
|
|
|
|
|
Tomás Guisasola.
|
|
|
|
|
|
|
|
|
|
<p>
|
2003-04-28 16:02:58 +00:00
|
|
|
|
<center><small>
|
2003-04-28 09:45:14 +00:00
|
|
|
|
<a href=#over>overview</a> ·
|
2003-04-28 16:02:58 +00:00
|
|
|
|
<a href=#version>current version</a> ·
|
2003-04-30 16:33:57 +00:00
|
|
|
|
<a href=#download>download</a> ·
|
2003-04-28 16:02:58 +00:00
|
|
|
|
<a href=#new>what's new</a> ·
|
|
|
|
|
<a href="manual.html">manual</a> ·
|
2003-04-28 09:45:14 +00:00
|
|
|
|
<a href=#hist>history</a>
|
2003-04-28 16:02:58 +00:00
|
|
|
|
</small></center>
|
2003-04-28 09:45:14 +00:00
|
|
|
|
<p>
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
<small>
|
|
|
|
|
Last modified by Tomás Guisasola on<br>
|
2003-05-02 10:51:33 +00:00
|
|
|
|
Fri May 2 09:56:03 BRT 2003
|
2003-04-28 09:45:14 +00:00
|
|
|
|
</small>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|