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
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Migration from Cloud to Self-Hosted not ...
Hello Appwrite Community, I've got the problem, that when I try to migrate my Appwrite Project from the cloud to my self-hosted Appwrite, that an API Key is mi...
- 1.9.5 Migration problem
1.9.5 migration problem after run migration command only openruntimes-executor