Re: [appengine-java] updating a property enmass in several entity

2012-01-23 Thread Matthew Jaggard
I just thought of a better way of doing it, but it's not quite as pretty because it breaks queries. Basically you add a new field to your entity which could be an integer (like a version number for the entity) or a boolean for "has had ten added to mycolumn" which defaults to false when you load yo

Re: [appengine-java] updating a property enmass in several entity

2012-01-23 Thread Gal Dolber
If you need to do it all at once there's no secret trick or magic to do it. You can use backends servers, cron jobs, task queues o the appengine-mapper but in all cases you'll have to pay number_of_entities*(get_price + put_price) plus all the processing price. On Mon, Jan 23, 2012 at 1:39 PM, Mat

Re: [appengine-java] updating a property enmass in several entity

2012-01-23 Thread Matthew Jaggard
Unfortunately that's basically the only option. Maybe someone can comment on MapReduce, although from what I understand it's not any cheaper. On 23 January 2012 15:33, kt wrote: > Hi, > I have a situation where I need to update a property in several entities > amass. Something similar in SQL wo

[appengine-java] updating a property enmass in several entity

2012-01-23 Thread kt
Hi, I have a situation where I need to update a property in several entities amass. Something similar in SQL would be : update mytable set mycolumn = (mycolumn + 10); I do not want to iterate through all entities since it will be very expensive. Any ideas? -- You received this message because