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?
Recommended threads
- Unable to add data for "user_id" column
I am using the Appwrite database and I have a table named events. When I add a column named user_id, I am not able to save data to that column from either the A...
- Example of Rows in upsert_rows function
what is format of rows that can be passed to upsert_rows function? result = tables_db.upsert_rows( database_id = '<DATABASE_ID>', table_id = '<TABLE_I...
- [Sites] pnpm Turborepo monorepo — stuck ...
deployment seems to never finish. Testing Appwrite Sites with a standard pnpm Turborepo monorepo (npx create-turbo@latest). Repo: https://github.com/saitrogen/...