I am working on a side project and using appwrite i am currently implementing comments functionality for this i am using a separate comments collection and inside this collection we have three attributes the first two attributes is the relation with the other two collections post collection and the user collection and the relation type is many to many because many users can create many comments and many posts can contains many comments. But in many to many relation we need to pass the id's in an array but i don't know how can i do this. Please help me.
No need to ping Steven π
oh
sorry
i thought that he will reply me
lol
At least in the case of posts, I think it's better not using relationship and save the ID of the post as a string
That way it will be easier to filter, etc
i just want to test that how relationship works that's why i want to do this
but i dont know how can i upload the array of user ids and the posts
Recommended threads
- TablesDB `updateRows` returns `database_...
Hi Appwrite team! Iβm seeing a strange issue with TablesDB bulk row updates on a self-hosted Appwrite instance. **Environment** - Appwrite self-hosted `1.9.0` ...
- [SOLVED] Realtime Missing Channels
```js useEffect(() => { let subscription: RealtimeSubscription; async function loadChips() { try { const {rows: chi...
- Update row sheet not loading
After right clicking a row header and click update, the sidebar fails to load (never-ending skeleton)