I want to import a CSV file to create a document on it on the AppWrite website.
I have an attribute "name" of type String and "ingredients" which is of type String[]. When creating a CSV file, it look like the following:
name, ingredients
Pasta, ["flour", "tomatoes"]
Cake,["sugar", "flour"]
But when I upload the CSV file, I receive the error message, that the attribute "ingredients" must of type Array.
To solve this I tried many formats like
- ["A", "B"]
- "["A", "B"]"
- "[A, B]"
- "['A', 'B']"
- [A, B]
None of these formats seemed to work.
How do I format the array correctly?