Hello, I am trying to update an array in an existing document with new data and I am a bit confused on how appwrite handles arrays. Lets say I want to create an array of objects. Using the update document method, how should I pass the data?
A) "[{Object1 :value 1} , {Object2 :value 2}]" as an array
B) "{Object1 :value 1}" , "{Object2 :value 2}" multiple strings
C) "{Object1 :value 1} , {Object2 :value 2}" single string
Is there any documentation on how appwrite parses data for the array attribute?
TL;DR
To update an array in an existing document using Appwrite, developers should pass the data as an array of objects like this: "[{Object1 :value 1}, {Object2 :value 2}]." This format ensures proper parsing by Appwrite. No specific documentation on array parsing is available.