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
- Error with realtime channels
I'm performing a subscription to realtime channels, and after a few seconds I get an exception with this error: {\"type\":\"error\",\"data\":{\"code\":1008,\"me...
- Which flutter SDK version for Self Hoste...
Hi all, Is there a good way to figure out which version of flutter SDK and Dart SDK is current for latest available self-hosted 1.8.0 ? I know new features are...
- redirect_uri errors on flutter client
Hi all, I'm using the flutter client for my app to do appwrite auth and use the JWTs to send to my backend. When I try to sign in with SSO, I get this: https:/...