Matching repeat region cell data to query

I have a repeat region that is displaying items from a database table. Let’s call them Tweets. In each cell, I would like to display the number of “likes” for each. The “likes” are obtained by searching a separate database table where the tweet id and user id are stored. I think I need to sum the number of user ids that match each cell’s tweet id and display that number but I’m not sure how I would go about doing that in Wappler.

Community Page
Last updated: