
Hi everyone. I am new in Appwrite. i want to store Dishes Menu inside Each Restaurant item. Please Guide me š

There are two main approaches here. The first way you could do this is using relationships (although they are an experimental feature). This link should walk you through understanding and using relationships in your projects https://appwrite.io/docs/products/databases/relationships
The second method, and my preferred way of doing it at the moment, is to simply store the IDs of the documents in a string array and then fetch the documents separately. I have found this to have better performance when dealing with a large amount of data than using relationships.

@Ryan thanks. Can you Send me an example of the Second Approach ?
Recommended threads
- phantom relationships appear on parent c...
i have this bug were my past deleted collection apears as relationship to my parent collection. when i try to delete that relationship from parent it gives me e...
- Attribute stuck on proccessing
i tried creating a new attribute butits stuck on proccessing,i did a hard refresh,cleared cache everything but still stuck on proccessing,also in my functions w...
- Appwrite Cloud Custom Domains Issue
Iām trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
