google-appengine  

Re: [google-appengine] Re: is there any max() function available in appengine datastore to find max of selected records

Jeff Schnitzer
Tue, 16 Mar 2010 13:00:50 -0700

On Tue, Mar 16, 2010 at 12:01 PM, Ulrich <mierendo...@googlemail.com> wrote:
> Max wrote:
>>
>> Use a global variable to store max(salary)
>
> If you store this global variable in the datastore and have a high number of
> inserts, you have to update this global variable too often and it will not
> work without some kind of sharding.

Even if there are zillions of salaries and they are constantly
changing, it's still unlikely that max(salary) is going to change
often enough for this to be a problem.

Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.