i need to create a custom attribute like: { "supplier_Name": "Mohammed irfan", "customer_id": "Unique id", "orders":[ { "product_name": "Vacum cleaner", "product_id": "Unique Id" "price": 1000, }, { "product_name": "Handwash Liquid", "product_id": "Unique Id" "price": 10, } ] }
MY DOUBT IS THAT HOW CAN I CREATE THE ORDERS WITH CUSTOM DATA TYPES. KINDLY HELP ME ON THIS.
Create a separate collection and look into docs for relationships
Thanks @Steven it would be great If you share the code in flutter. As I am beginner in this appwrite. Thanks in advance.
It's not really a flutter specific thing. It's database design. The relationship docs can be found here: https://appwrite.io/docs/products/databases/relationships. Make sure to read the rest of the database docs if you haven't already
Thanks for the help @Steven
[SOLVED] Can anyone help me to create a custom module for my project.
Recommended threads
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...