-
Notifications
You must be signed in to change notification settings - Fork 1.5k
-
https://docs.mongodb.com/manual/tutorial/model-tree-structures-with-materialized-paths/
I am curious how i would be able to run something like this.
db.categories.find( { path: /^,Books,/ } )
I am trying to build a category with parents but i cant seem to be able to use the belongs to and has many options.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment