On Thursday 20 December 2007 16:06:53 Rick Morrison wrote:
> How would you specify the logical "parenthesis" to control
> evaluation order in complex expressions?
something like joinpoint? or maybe, a semi-explicit ".parethnesis()" 
of sorts... 
dunnow, but this is a thing that's missing; one has to build those 
complex expressions by hand and shove it to .filter() - or worse, 
to .from_statement(). And the whole nice query.machinery (joins, 
grouping etc) goes away...

no, i'm not about an OQL; it's just a wish...
(while diggin the dbcook filter-expressions translator i found that i 
am duplicating code that is already there in the Query, doing same 
thing in slightly different angle)

> On Dec 20, 2007 5:14 AM, svilen <[EMAIL PROTECTED]> wrote:
> > query.filter() does criterion = criterion & new
> > why not having one that does criterion = criterion | new ?
> > its useful to have some
> > query.this.that.filter.whatever.filter_or(...)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to