Javier Guerra wrote:
On Fri, Dec 11, 2009 at 1:57 PM, Luís Santos <lsan...@itquality.com.br> wrote:
we could make LuaSQL an SQL generato

hell no!

Agreed.

the moment it touches my SQL, even if only to add quotes or any
'small' thing, it's out of my system.

In the case of PostgreSQL, I never could make myself like the placeholder syntax ($1 .. $n) because it makes for write-only queries in code. I much prefer the more common ":placeholder" style. Thus the one function related to parameterization massages the SQL. Nothing else in the layer was touched, so the simple execute function is as it always has been.

If nothing else, perhaps a driver-specific function could supply the verbatim functionality - that would actually be mostly trivial to write.

-P



_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to