
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
- Creating a relationship with nested obje...
{ "data": { "name": "DiDi", "type": "Software Development", "userJobs": [{ "$id": "68cbf1e2003612fb13ca", "j...
- Realtime integration with SSR auth
Hey, I have a nextjs website with SSR auth, works great. I use a session client for user verification and an admin client with API key. Both is used with node-...
- Looking for Partner
I'm looking for a partner for long-term collaboration. Of course, you'll get paid for it. If you are interested, please send a DM to me
