PostgreSQL / TimescaleDB Verwendung mit Python

#Verbindungsaufbau
TimescaleDb.connect(timescaledb_ip, timescaledb_username, timescaledb_password)
#Metrik speichern (Tabellenname fest vergeben)
TimescaleDb.write('my_id', my_value)
#Wert aus einer Tabelle lesen (hier ohne Where Bedingung)
TimescaleDb.read('my_single_value_table')
#Wert in einer Tabelle erhöhen (hier ohne Where Bedingung)
TimescaleDb.increase('my_single_value_table', addition, max_value)

--

--

IT Architect

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store