koa-mongoose icon indicating copy to clipboard operation
koa-mongoose copied to clipboard

Connect to replica set

Open zubairhamid opened this issue 7 years ago • 1 comments

is there a way to connect to replica set? Please inform on the database options we need this is my current db options { "user" : "", "pass" : "", "host" : "127.0.0.1", "port" : 27017, "database" : "test", "db" : { "native_parser" : true }, "server" : { "poolSize" : 5 } }

zubairhamid avatar Nov 02 '17 08:11 zubairhamid

Connection to replica set is a mongoose thing, here's what I've found, give it a try (the last answer there): https://github.com/Automattic/mongoose/issues/5819

MarkVasile avatar Mar 04 '18 01:03 MarkVasile