How to create array from database query?

Hi there,

I was wondering if anyone new the Wappler way of creating an array from a database query please? I have a query that I want to repeat through and as I make some decisions I then want to add those filtered results into a nested array. I think I can see how I would do that on the front end using https://docs.wappler.io/t/working-with-arrays/7701 however I cannot see anything similar on the backend. I was thinking essentially of an array push function in the server action. Thanks for any help.

Community Page
Last updated: