Re: Automatic Mapping Lua tables to a database tables
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Automatic Mapping Lua tables to a database tables
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2014年1月31日 13:01:40 -0200
> I have started work on a small module to map lua tables directly to
> sqlite database using luasql. The aim is that if you are using lua tables
> to store all your data then that is all you do. You use them like normal
> lua tables and in the end just do a save command and the changes get saved
> to a database.
I did something similar in my very first Lua library, a gdbm binding,
but all changes in the Lua table were committed to the gdbm file.