#Best way to handle many-to-many relationship?

1 messages · Page 1 of 1 (latest)

verbal flint
#

Say, I have two collections: Books and Tags. A book can have many tags, and a tag can be assigned to multiple books. When a book is tagged via relationship field (tags), I want the tag's relationship field (books) to be updated accordingly (create/update/delete). Im not sure to do that as of now. Any ideas?

prime kite
#

Hey @verbal flint check the #plugins channel— the community has built a plugin to do exactly this for you!

verbal flint
prime kite
#

yes!

worthy gyro
#

Are there plans to officially support this? The repo states it's not ready for production (and in pre-alpha), but I would really like to use this feature in a production application

prime kite
#

yes it will be officially supported

#

we have to tackle additional database support before diving in here much more deeply