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
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...