mongo-sync
mongo-sync copied to clipboard
Synchronous MongoDB driver for Common Node
Hi Oleg, Here is a simple proposition to comply with recent MongoDB API (3.X). I'm not sure that I did it the right way, but the node test/test-fibers.js is ok!...
I tried a very simple script to use this without common-node, and using Fibers, but hit a problem right away; script: ``` js var Fiber = require('fibers'); let Server =...
Authentication should be supported. credentials can be split from the server if you enter server address like username:password@server
Fibers is not listed as a dependency. I'm getting the following message. Error: Cannot find module 'fibers' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at...
I am trying to make the `Server` take arguments with replica set members by extending options such as: ``` this._server = new mongodb.Server(host, port, { ... readPreference: 'primaryPreferred' } ```...