1.0.0 • Published 5 years ago
auto-mongoose v1.0.0
MongooseConnection
Quickly and easily create instance mongoose with auto-reconnect
Method
async createConnection({hosts, database}, option)
create a single mongoose instance
async connectAll(Array<{uri, option}>)
connect to all and return connection handle
1.0.0
5 years ago