Merge pull request #126 from stijnopheide/fix-cursor-hint

Fix cursor hinting
This commit is contained in:
Michael Klishin 2016-01-06 14:33:38 +03:00
commit 1764b898bd

View file

@ -106,7 +106,7 @@
(when snapshot
(.snapshot cursor))
(when hint
(.hint (to-db-object hint)))
(.hint cursor (to-db-object hint)))
(when read-preference
(.setReadPreference cursor read-preference))
(when options