:cow2: simplify code by writing helper functions
:cow2: simplify code by writing helper functions

n-riesco/plotly-database-connector,n-riesco/plotly-database-connector,n-riesco/plotly-database-connector