If the amount of data is merely trivial then this would work but anything more than merely trivial and the solution would have to include the use of tasks.
On Tue, Feb 1, 2011 at 12:18 PM, Wim den Ouden <[email protected]> wrote: > with the help of the cursor (all items, while loop) select on more > than x_items, within the loop check if after some_input_date, append > for example to python list or javascript array, when the loop is ready > show the list. > gr > wim > > 2011/2/1 Prashanth <[email protected]>: > > Hi, > > > > Am trying to query my Google App Engine datastore [Python], which has > > a item_name, manufacturing_date and number_of_items_shipped. > > The scenario: > > Get all the item_names which has been shipped more than x_items [user > > input] and manufactured after some_input_date [user input]. > > Basically, kind of inventory check. > > > > But due to restrictions on queries in GAE, am not able to do this. > > > http://code.google.com/appengine/docs/python/datastore/queries.html#Restrictions_on_Queries > > > > I tried searching on the internet for this issue. But, no luck till > > now. Did you come across this issue, if so, were you able to resolve > > this? Please let me know. > > > > Also in Google I/O 2010, "Next Gen Queries" [http://www.youtube.com/ > > watch?v=ofhEyDBpngM#t=3m17s], Alfred Fuller mentioned that they are > > going to remove this restriction soon. Its been more than 8 months, > > but this restriction is in place even now. Makes life very difficult. > > > > Appreciate if anyone can post an answer if they were able to > > circumvent this restriciton. > > Thanks a lot. > > > > Regards, > > Prashanth. > > > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > > > > > > -- > gr > Wim den Ouden > Custom applications, https://e-comm.appspot.com/ > Free open source E-commerce/E-bookkeeping/E-business framework (web) > apps, http://code.google.com/p/relat/ > Gae developer tips, http://code.google.com/p/relat/wiki/gaetips > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- *Jeff Schwartz* -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
