Black Lives Matter. Please consider donating to Black Girls Code today.

Accessing Heroku PostgreSQL through Heroku Hosted Dash app To Create Live Dynamic Dashboards

I am currently working on a Dash app which is to be hosted through heroku. I have my data stored on the Heroku Postgres database.

The app dynamically creates a dashboard based on user inputs (could be sliders, radiobuttons, dropdowns etc). Based on the selected parameters at a particular instance is it possible for the dash app to re actively query the relevant data in the Heroku Postgres. If so, then is there any documentation, examples, references or links to read. Any suggestions and guidance is much appreciated.

I am still new to dash and the related. Currently in the discovery and learning phase so please excuse me if I am missing something.

Unless I am misunderstanding your question, you can query the database in your callbacks as you would normally.