Let's say I have already implement the multi selected dropdown/combo box in React which have a genres and authors for this books, how can I do this on Appwrite? Yes, this is the first time I am going to use Appwrite but I have already implement this on MongoDB. I do have the book collections, which contains an _id, title, authors(have relations to another collection called author) and genres (same as with the authors, which have a collection called genres).
So, the question is can you help me to provide me an insights about this in appwrite like how can I do it in a more logical sense?
The image is only a sample that I have implement on MongoDB and as well as visual representation that I want to do in Appwrite
You can create a many-to-many relationship between books-genres and books-authors. For the drop-downs, just pull the correct collections. You would set the connected Attribute to the $id of the Document to be connected.
Recommended threads
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Appwrite cloud DB server error 500
Getting this error