I want to store date like "key":"value" pair in the collection. How I can do that?
Maybe this will help: https://www.tutorialspoint.com/dart_programming/dart_programming_map.htm
There is no option to select Map DataType attribute
Oh...typically, if you're trying to store another object, you would create another collection. If you really don't want to, you can store a JSON string
Out of the two what is the best way to do it?
Typically, a collection
Great, thank you
I am migrating from firebase and it seems a bit confusing, beacuse with firebase can create nested maps easily within a document.
For example lets say I have a simple model class
class Employee { List<Task> tasks; }
Each employee will have a different set of tasks. So for this, should I create a collection called "tasks" with all the different tasks or create different collection for each employee like, tasksForEmployeeOne, tasksForEmployeeTwo, etc.. ?.
Also no two tasks will be the same.
That's because firebase is a NoSQL database. Appwrite is much more like a relationship database so researching relational databases would be more relevant
Oh okay, I think read somewhere it is NoSql, never mind. Thank you
Recommended threads
- 500 Internal Error when Project is opene...
After migrating from 1.6.1 to 1.7.4 I noticed this strange behaviour: When I open a project in a separate tab I get a 500 internal error. However, then I simpl...
- CORS error only on tables db api After u...
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, g...
- [SOLVED] Access ExecutionStatus of a fun...
I am calling a cloud function from the newest Flutter SDK 20.2.1with the `xasync: false` flag and get the result, but the `execution.status` is not a String and...