Comments (3)
@ilterugur I would have to update the plugin to support findOneAndUpdate
; I'll create a separate issue, see #49 .
from mongoose-mpath.
Please provide some code for me to understand what you are trying to do.
from mongoose-mpath.
@vikpe This plugin doesn't work with the "findOneAndUpdate" hook and I think this is the problem he is facing (just like I am). I am using nestjs-query and it doesn't trigger save middleware but triggers findOneAndUpdate middleware. How can we make it work also with the "findOneAndUpdate"?
from mongoose-mpath.
Related Issues (20)
- Unable to sort results by path from database queries HOT 9
- not scalable
- How to move/update via order/sort ? HOT 1
- How can I use with mongoose.aggregate? HOT 1
- Please help with .getParent() function HOT 6
- The result of calling getChildrenTree() is the same as that of calling getImmediateChildren(),not a tree HOT 6
- typescript HOT 3
- Question: How can you store the count/length of child nodes in parent Model? HOT 2
- Question: How to use DELETE to remove all immediate children? HOT 1
- Can I set maxLevel when use getChildrenTree HOT 1
- Question: Why children attribute is always empty HOT 2
- Is there possible to omit empty children[] when children is empty? HOT 1
- Can i create children of different type modelSchema document HOT 1
- [Question] can i assign parent to a doc only by id? HOT 1
- need support for mongoose 6 HOT 4
- Doesnt save children in node HOT 1
- getAncestors() does not sort nodes by level
- .npmrc with engine-strict=true HOT 1
- Update path when using `findOneAndUpdate()`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongoose-mpath.