[Python-Dev] building sql queries in python
Oleg Broytmann
phd at mail2.phd.pp.ru
Thu Mar 30 10:45:10 CEST 2006
On Thu, Mar 30, 2006 at 12:09:51AM -0800, Gregory P. Smith wrote:
> http://www.sqlobject.org/module-sqlobject.sqlbuilder.html
This automatically generated doc concentrates on the interface instead
of usage. SQLBuilder is really a capable and very pythonic SQL generator.
But it has an issue - it can generate SQL *strings* only for specific
databases - because some SQL constructs are DB-dependent, quoting e.g.
Some examples are in the __main__ part of sqlbuilder.py:
http://svn.colorstudy.com/SQLObject/trunk/sqlobject/sqlbuilder.py
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-Dev
mailing list