Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support of ReadPreference option from Mongo #559
MongoDb offers a option called "Read Preference" that describes how MongoDB clients route read operations to members of a replica set.
Morphia allows to set this option at the query level (see the method useReadPreference in https://github.com/mongodb/morphia/blob/ed7bd3fc214ae093e548af8509243bfde421fa3a/morphia/src/main/java/org/mongodb/morphia/query/QueryImpl.java).
It seems that the MorphiaQuery from QueryDsl doesn't offers the same feature.
It is possible to support this in the project?