Re: [google-appengine] Re: In queries and cursors limitation

2017-01-19 Thread Rajesh Gupta
The suggestion looks good. thanks. On Thu, Jan 19, 2017 at 1:00 AM, Jason Collins wrote: > Add a new field called, e.g, queryableStatus that is a list of strings. > Then pre-compute your query logic so that you only need an equality filter. > > E.g, when saving the entity (warning: pseudocode

[google-appengine] Re: In queries and cursors limitation

2017-01-18 Thread Jason Collins
Add a new field called, e.g, queryableStatus that is a list of strings. Then pre-compute your query logic so that you only need an equality filter. E.g, when saving the entity (warning: pseudocode ahead): if status in ['PAID', 'PARTIALLY_PAID']: invoice.queryableStatus.append('PAID_OR_PART