Rank 2: Process
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.