I have a query service that I want to execute and push data into the already existing json array. When I add the javascript below to my JS in the array field inside the update query, it overwrites the existing values with the value below. I just want to be able to add onto what is already there...as well as delete based on what the secondElement is.
pre
return ["firstElement","secondElement"];
/pre