What is the structure required for a string attribute that is an array? I am trying a list of lists, but I keep getting an error trying to update the attribute.
Is it's the attribute string with array checked, I believe you'd just pass a simple array.
const promise = databases.createDocument(
'[DATABASE_ID]',
'[COLLECTION_ID]',
'[DOCUMENT_ID]',
{
array: ['test', 'test2', 'test3']
});
So, no multi-dimensional arrays?
It's fine if not, I can work around. Just wondering the limits.
I don't know off the top of my head, but if there isn't you can stringify your array and save it to a string attribute, then when fetching parse it?
Yes. I can do that.
Recommended threads
- Permissions error
I try to create a row in my table but when i submit i have an error on my permission, i'm new on it so i dont understand the error. I have Row Security enable ...
- Console: Query on attribute has greater ...
I noticed an issue when one of my tables reached over ~800 rows. That table is relational to my users table Within the console I am able to view the table with ...
- Appwrite 1.8.1 TablesDB Permissions Issu...
Hi - I'm migrating a newer VueJS web application from Supabase to Appwrite. I'm looking for an experienced Appwrite Developer to help me solve a permissions iss...