-
I'm trying to configure my app using read concern majority. Doing that on mongoid.yml
However like I'm using Atlas Search I'm getting this error: Is there a way to keep the configuration but change the reading concern only for the search queries? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answering my own question, yes, this is how: |
Beta Was this translation helpful? Give feedback.
Answering my own question, yes, this is how:
Task.collection.with(read_concern: { level: 'local' }).aggregate(pipeline)