express-restify-mongoose
express-restify-mongoose copied to clipboard
Easily restify mongoose databases
- [x] Type check in CI - [x] Build ESM + CJS - [x] Build .d.ts - [x] Run tests on build output - [x] Add entrypoints in package.json -...
Looking through the code, it seems the standard mongoose create method is also used when passing an array of objects. Would it be possible to add an option to use...
…florianholzapfel/express-restify-mongoose#337] This fixes an issue whereby any middleware registered to occur after would not be called. The specific situation which we have which triggers this is a call to server.on('after',...
I added the feature mentioned in issue #385 . Am encountering two issues: - On master, 3 tests for `findOneAndUpdate: true` with `400 - mongo error` are not passing. -...
The point of this is to be able to set totalCountHeader on specific requests. We have been dealing with larger collections where some of the queries count is not performant,...
Due to the use of `moredots` in `modifyObject`, it is currently impossible to remove properties of a nested object via the API (talking about this line: https://github.com/florianholzapfel/express-restify-mongoose/blob/master/src/operations.js#L204) so if you...
Hi, this lib supports some multi tenant strategy? Filters or Database connection?
Hi @florianholzapfel, Although aggregation query executes and gives result in contextFilter, I am unable to access the same result in outputFn(req.erm.result). Here is the code snippet of contextFilter function: contextFilter:...
## REST may handle collections: For bulk POST/PUT it is crazy to call API 1000 times, better solution would be: POST/PUT request to `/api/v1/resource/` should be able to handle collection....
It is completely undocumented and I'm not able to find answer the question: How to upsert in bulk or single mode. In other words, is hitting the POST with multiple...