google-appengine  

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

Greg
Sun, 14 Mar 2010 19:01:02 -0700

On Mar 14, 3:48 am, pyrocks <kiranbe...@gmail.com> wrote:
> here shall we have any max() function available like in oracle to find
> max salaried employee.

In a word, no. You need to store the maximum salary in the datastore,
and every time time a salary changes check to see if it exceeds the
maximum, and update it if so.

-- 
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.