[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Dado 1.0
- From: Tomas Guisasola Gorham <tomas@...>
- Date: Thu, 1 May 2008 17:50:16 -0300 (BRT)
Dado is just a library over LuaSQL. The select iterator
creates a cursor (using LuaSQL's execute) and builds a function
which calls its `fetch' method. Thus, it could let the cursor open.
However, for just 2 selects it should not be a problem don't you
think? Can you send me a sample code?
On Thu, 1 May 2008, Mike Schmitz wrote:
Tomas Guisasola Gorham wrote:
Dado is a package that offers some facilities implemented over LuaSQL
connection objects. Its main goals are:
* better error messages,
* iterators to access the result set and
* more homogeneity in some commonly used database operations.
Dado is free software and uses the same license as Lua 5.1.
It can be downloaded from its LuaForge page:
Handy tool. However, I am finding a small difficulty. I cannot run 2 select
statements in a row, but every other works. I can run
collectgarbage("collect") between them, and it works. I suspect it has to do
with "cur" being still open. Is there a workaround, or am I just missing