Hi,
MongoDB 3.6 introduced Retryable Writes feature
I would like to know if It is already possible to use this feature with Mongoose or when it will be.
Thanks in advance!
You should be able to access them in mongoose >= 5.0.0-rc2 by specifying the retryWrites option in your connection string:
mongoose.connect('mongodb://localhost:27017/test?retryWrites=true');
See https://emptysqua.re/blog/driver-features-for-mongodb-3-6/#retryable-writes for more info
Nice @vkarpov15 ! Thank you
Most helpful comment
You should be able to access them in mongoose >= 5.0.0-rc2 by specifying the
retryWritesoption in your connection string:See https://emptysqua.re/blog/driver-features-for-mongodb-3-6/#retryable-writes for more info