1 Answer
- Newest
- Most votes
- Most comments
1
Hello,
It's one of the function difference with MongoDB.
Amazon DocumentDB does not guarantee implicit result sort ordering of result sets. To ensure the ordering of a result set, explicitly specify a sort order using sort().
answered 25 days ago
Relevant content
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago
So basically, since MongoDB does not guarantee implicit result sort ordering, the sort ordering in DocumentDB won't be the same as in MongoDB. Right?
yes, but you could explicitly specify a sort order using sort().
yea, unfortunately i need exactly the implicit sort order like in Mongo