lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Jan 20, 2011, at 7:33 PM, Tomas Guisasola Gorham wrote:

> Since cursor:fetch() can return more than one value,
> you have to store it in a table:

Right... no need to do it yourself though.. cur:fetch([table[,modestring]]) happily accepts a table argument to do just that:

http://www.keplerproject.org/luasql/manual.html#cursor_object