Could you explain more how to use longs as a keys? On 16 Lie, 19:10, Nate Bauernfeind <[email protected]> wrote: > Repeated calls will return items in a deterministic order ascending by key. > So... yes it is deterministic, though it may not be the order you want. > > Additionally, you can use Long's as your keys instead of making a counter if > you need them to return in inserted order. > > > > > > > > On Fri, Jul 16, 2010 at 11:07 AM, Blixt <[email protected]> wrote: > > Okay, so data will be returned in a non-determinate order unless you > > specify keys yourself (since ids aren't guaranteed to be in order). > > I'll make my own counter. > > > Thanks! > > > On Jul 16, 6:01 pm, Nate Bauernfeind <[email protected]> > > wrote: > > > They will be ordered by key. You should consider watching one of the > > > datastore tech talks. > > > > On Fri, Jul 16, 2010 at 3:54 AM, Blixt <[email protected]> wrote: > > > > Imagine this query: > > > > > Person.all().fetch(100) > > > > > Is the order of data in the datastore guaranteed, or can the order of > > > > the entities returned change as data is inserted? > > > > > -- > > > > 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%2Bunsubscrib > > > > [email protected]><google-appengine%2Bunsubscrib > > [email protected]> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-appengine?hl=en. > > > -- > > 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%2Bunsubscrib > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en.
-- 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.
