Javier Guerra wrote:
On Fri, Dec 11, 2009 at 3:28 PM, Luís Santos <lsan...@itquality.com.br> wrote:
Javier Guerra escreveu:
On Fri, Dec 11, 2009 at 1:57 PM, Luís Santos <lsan...@itquality.com.br>
wrote:
I'd love to have an ORM in Lua, it's a long-needed thing; but when i
write SQL, it _must_ be relayed to the DB engine byte-by-byte
verbatim.
I this case, you could use the underlying 'driver' module -- that might even
be LuaDBI.
As i see it, there should be three layers:
- 'driver': low level, might have specialized API
- LuaSQL: unified API, but _must_not_ touch my SQL
- SQL generators: ORMs and others.
As I see it, the thing is nearly perfect for my uses except for
embedding untrusted data in code.. Tweak that little bit of missing
code and it's perfect.
Now, if you're talking about a separate much larger project, I'd be more
inclined to agree.. ;-)
-P
_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/