No the users won't need to read 1000 entities, but I want to calculate
the average of a  property from the latest 1000 entities.


On Jun 22, 3:30 pm, "Nick Johnson (Google)" <[email protected]>
wrote:
> Correct. Are you sure you need 1000 entities, though? Your users probably
> won't read through all 1000.
>
> -Nick Johnson
>
>
>
> On Mon, Jun 22, 2009 at 3:23 PM, herbie <[email protected]> wrote:
>
> > So to be sure to get the latest 1000 entities I should add a datetime
> > property to my entitie model and filter and sort on that?
>
> > On Jun 22, 1:42 pm, herbie <[email protected]> wrote:
> > > I know that if there are more than 1000 entities that match a query,
> > > then only 1000 will  be return by fetch().  But my question is which
> > > 1000? The last 1000 added to the datastore?  The first 1000 added to
> > > the datastore? Or is it undedined?
>
> > > Thanks
> > > Ian
>
> --
> Nick Johnson, App Engine Developer Programs Engineer
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to