(values come from the query I am putting in the repeat)
Inside same repeat: push it to the array using `Data.push(obj) Now your data should be pushed into the array
Note: I am not sure if this formatter already exists in Wappler, but isn’t in the UI. I might’ve made it myself. Either case, if it doesn’t work you can add this custom formatter in extensions/server_connect/formatters/myformatters.js
The way serverconnect is setup is that each action step returns data that is defined by metadata so that Wappler knows the exact output. We don’t allow manipulation of the data, so when you have for example a push action you should return the new generated array in the push action step and not manipulate the result from the previous action.
For arrays this is not a really big deal since the data structure doesn’t really change, but for example adding properties or removing properties on an object will have influence. We currently don’t have a way in which we can describe with metadata how an action manipulates the result of a previous action.
For the array there will probably come a separate module which allows you do the same as on the client and more, I hope to post a beta version really soon.