Re: POSSIBLE BUG: using Coalesce() with __in=[]

2016-03-30 Thread Ryan Prater
Thank you Simon! I'll file a bug and include a link here, including your points. Your source documentation was incredibly helpful. On Wednesday, March 30, 2016 at 12:03:10 PM UTC-5, Simon Charette wrote: > > Hi Ryan, > > I think this should be considered a bug. > > From what I understand the ORM

Re: POSSIBLE BUG: using Coalesce() with __in=[]

2016-03-30 Thread Simon Charette
Hi Ryan, I think this should be considered a bug. >From what I understand the ORM simply doesn't perform any query in this case as the `pk__in` lookup cannot match any `OrderItem` and result in an `EmptyResultSet` exception[1]. This exception is caught in the `Query.get_aggregation()` method whe