On 2013-12-12 08:52, Marcel Reutegger wrote:
Hi,

yes, the returned documents must be sorted in ascending key
order. though, I just noticed MongoDocumentStore does not
add a sort() to the query and ascending order of the result is
just a coincidence. MongoDB uses the index of the _id field
and will likely return the documents in the correct order.

I'll create an issue for the missing sort().

Regards
  Marcel

Ah, good thing I asked ;-)

This doesn't seem to have test coverage (will check, maybe H2 also orders by default).


Reply via email to