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
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Appwriter Linux Key Bindings
Any tips for configuring appwriter for ubuntu? Actually the keybindings are tightly binded to either windows or mac. Working well on windows but in ubuntu some ...