[SQLObject] Re: Subselects and parethesis
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Charles D. <cd...@sp...> - 2006-04-13 20:41:33
|
Oleg Broytmann wrote: >> Is there a mechanism by which I can ask SQLObject to add these parens? > > SQLObject generates query strings in dbconnection.py and sqlbuilder.py > modules. I think the only way to fix this would be to always add parens > whatever parameters are, Select() or not. Thank you -- this turned out to be an entirely trivial patch. It would be nice if someone with all the database engines available could run the test suite; I'm presently only using SQLite (and don't know offhand how to invoke the test suite against only one backend anyhow, should such be supported). Thanks! |