Skip to content
Snippets Groups Projects
Unverified Commit 03e65867 authored by Cam Saul's avatar Cam Saul
Browse files

MongoDB 3.6+ support [ci drivers]

parent 01968582
No related branches found
No related tags found
No related merge requests found
......@@ -510,7 +510,10 @@
(decode-fncalls (json/parse-string (encode-fncalls query) keyword))
query)
results (mc/aggregate *mongo-connection* collection query
:allow-disk-use true)
:allow-disk-use true
;; options that control the creation of the cursor object. Empty map means use default
;; options. Needed for Mongo 3.6+
:cursor {})
results (if (sequential? results)
results
[results])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment