express-restify-mongoose
express-restify-mongoose copied to clipboard
Easily restify mongoose databases
Is there a way to patch multiple entries with a single api call?
This should work: ``` curl -XPUT /api/v1/User -d {"$addToSet": {"friends": "BoB"}} ``` but because we use [document.set](http://mongoosejs.com/docs/api.html#document_Document-set) instead of [document.update](http://mongoosejs.com/docs/api.html#document_Document-update) we loose the ability to use any of the [mongodb...
Hello, I want to develop upsert (update if exists and insert if doesn’t exists) function with the methods from express-restify-mongoose which works on server side. Any hints are welcome. In...
Mongodb supports a [text index](https://docs.mongodb.org/master/core/index-text/) You use it in mongoose by enabling an extra key on the `find()` operation: ``` const Product = mongoose.model('Product', new Schema({ name: String, })) Product.schema.index({name:...
Currently, ``` js PATCH /api/Model/id { populated: { _id: 'some-id', name: 'I am populated!' } } ``` Returns ``` js { populated: 'some-id' } ``` The workaround I'm using: ```...
This change will add the option "updateDeep," which gives the user more control to choose whether they want to use "moredots()" during the update process or not.
Bumps [express](https://github.com/expressjs/express) from 4.18.3 to 4.19.2. Release notes Sourced from express's releases. 4.19.2 What's Changed Improved fix for open redirect allow list bypass Full Changelog: https://github.com/expressjs/express/compare/4.19.1...4.19.2 4.19.1 What's Changed Fix...
- [ ] Determine if native fetch is viable based on our supported Node.js versions
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8. Release notes Sourced from micromatch's releases. 4.0.8 Ultimate release that fixes both CVE-2024-4067 and CVE-2024-4068. We consider the issues low-priority, so even if you...