node-mongo icon indicating copy to clipboard operation
node-mongo copied to clipboard

Node Mongo — is reactive 🚀 extension to MongoDB API

Results 10 node-mongo issues
Sort by recently updated
recently updated
newest added

Maybe I'm missing something, but the options are not passed further in the findOne https://github.com/paralect/node-mongo/blob/3274b65d43d3383a1e51ac32566601d3c54e1a3d/src/service.ts#L163-L173

Hi all, I am wondering would this allow me to watch for for a changes (Event Handlers section) and trigger something? I've setup simple query which works just fine, but...

I need to use upsert and $setOnUpsert to provide idempotency based on unique external id. It is not possible with the regular update/findOneAndUpdate but with atomic I got problems described...

When find request is executed with pagination actual find and count requests are executed sequentially. https://github.com/paralect/node-mongo/blob/7f1374290276d8468c215731e509aa29a8ba9d0a/src/mongo-query-service.js#L32-L41 Instead this could be performed in parallel noticeably improving performance for long-running DB requests

Problem - Some operations require atomicity and event emitting. We need to fire events for atomic operations. Solution - Fire events for atomic operations and make this featurer optional

``` db.createService = (collectionName, options = {}) => { const collection = db.get(collectionName, { castIds: false }); return new MongoService(collection, options); }; ``` I need to set default [collation](https://docs.mongodb.com/manual/core/index-case-insensitive/) for...

Caused by `monk` probably. [Related issue](https://github.com/Automattic/monk/issues/333) in monk repository

I'm currently looking for a package similar to meteor's oplog and I came across node-mongo. Since this is not maintained anymore I'm wondering what's the benefit of using node-mongo vs...