Is there a default sort order to collections fetched without an explicit sort query?
Gal
started a topic
over 7 years ago
When I retrieve entities from a collection and do not include a sort query, in what order are the entities returned?
1 Comment
Gal
said
over 7 years ago
Since we use MongoDB for our data store, entities are returned in "natural order" which tends to be-- but is not guaranteed to be-- insertion order. For more details, please see http://docs.mongodb.org/manual/reference/glossary/#term-natural-order
Gal