On Wednesday, September 10, 2014 7:52:48 PM UTC-4, Michael Bayer wrote:
might be tricky, there’s self_group() and Grouping(), you can probably use
the latter explicitly.
Yeah, I saw those. It would be too hard to re-engineer. Considering this
is your answer, I'm going to give up hope and
SqlAlchemy's formatting is sometimes getting in the way while debugging
complex queries
Does anyone have a trick to explicitly print parenthesis in queries? That
would make some of these queries easier to follow and/or regex
for example:
sqlalchemy generates stuff like this:
x OR y AND z
might be tricky, there's self_group() and Grouping(), you can probably use the
latter explicitly.
On Sep 10, 2014, at 6:46 PM, Jonathan Vanasco jonat...@findmeon.com wrote:
SqlAlchemy's formatting is sometimes getting in the way while debugging
complex queries
Does anyone have a trick