sort by ts increasing

This commit is contained in:
mbecker20
2023-04-05 18:40:12 +00:00
parent 11fff633b0
commit 1dffdbddc2
+1 -1
View File
@@ -514,7 +514,7 @@ impl State {
"ts": { "$in": ts_vec }
},
FindOptions::builder()
.sort(doc! { "ts": -1 })
.sort(doc! { "ts": 1 })
.projection(projection)
.build(),
)