Hai i am new with appwrite i want to create a structure like
{ "user_name": "test", "age": 100, "ishuman": false, "orders": [ { "order_id": 90909, "item_name": "alien food", "item_price": 789 } ] }
i cam create others attributes but how to create orders attribute
You should create an orders collection
I have already created but i can add it which attribute to choose ?
What do you mean?
You can't have an attribute inside an attribute
Alternatively you can have relationships between collections or use foreign keys
{ "user_name": "test", "age": 100, "ishuman": false, "orders": [ { "order_id": 90909, "item_name": "alien food", "item_price": 789 } ] }
so this is not possible ?
Recommended threads
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Update user email using OTP
Hi, I am trying to implement email update using OTP, there is not password associated with the account. One solution I found online is creating appwrite functio...