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
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...
- Database Write Limits hit
Hello Appwrite Admins, I'm a GitHub Education user, and about a week ago, my database was really badly optimized, resulting in about 600k writes in a single day...