Live query data table

What I’m trying to do:
show database data live as the data table show

What I’ve tried and what’s not working:
ive done all the query but i need to refresh to find new datas
Code Sample:

# this is a formatted code snippet.
# paste your code between ``` 

Clone link:
share a copy of your app

“Refreshing” amounts to doing the same query, again. You might do it on command (a button event), or at regular time intervals (a timer event).