Re: query values() calls don't use transforms as filter() does

2016-08-18 Thread Rishi Graham
72c67bb1d12e65669b4e1355b > > If that doesn't meet your needs, can you give an idea of what the QuerySet > you want would look like? > > On Thursday, August 18, 2016 at 5:10:41 PM UTC-4, Rishi Graham wrote: >> >> I noticed that the jsonb field indexing in postgres

query values() calls don't use transforms as filter() does

2016-08-18 Thread Rishi Graham
I noticed that the jsonb field indexing in postgres which is so handy in filtering does not seem to extend to calls to values(). After digging around a bit, it seems that sql.query.get_transform() is only called when building a filter, but not when adding fields for a values call. Using transf