Closed WT2 closed 1 year ago
Hello Guys
Is there a way to choose the Read Preference for a given request, via a parameter in the url? If this parameter exists, it overrides the default one we put on the mongodb connection string. If not, i think it will be a nive improvement.
Thanks
you can do it, see https://restheart.org/docs/upgrade-to-v7#allow-to-specify-readconcern-writeconcern-and-readpreference-at-request-level
yep great working well :) thanks guys
Hello Guys
Is there a way to choose the Read Preference for a given request, via a parameter in the url? If this parameter exists, it overrides the default one we put on the mongodb connection string. If not, i think it will be a nive improvement.
Thanks