How to modify database query result in server actions?

If have a basic database query that will return several records. Each record would have for example: fname, lname, ID, email

Now in my server workflow / server connect action I have created the database query and it is returning the expected data. Now I would like to password encrypt each email before sending it to the front end. How do I modify each of the returned emails one at a time and send them back with the rest of each record? Is this some kind of “Repeat”? How do you modify the query result?

Hello!
What about using server connect arrays?

Create a query with no output:
image

Then you create an array with the nedeed schema:
image

A repeat action that will add each record to the array with the encripted value:

And finally, a Get array list
image

Result:

If you’re using encrypt options don’t forget to backup everything before testing :slight_smile:

1 Like