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
- Vulnerabilities !!!
Why i can't mail to security@appwrite.io
- Error can not create `tablesdb` event wi...
When i'm trying to add an event with `tablesdb` i get an error message My event value: `tablesdb.mtg-decklist-dev.tables.queue_parsing.rows.*.create` Same err...
- [SOLVED] GitHub Student Login Loop Issue
signed up using my GitHub Student Developer Pack. However, whenever I click "Sign in with GitHub", I get stuck on the login page. No matter how many times I try...