[−][src]Module my_iot::core::persistence
Database interface.
Modules
| migrations | |
| primitives | |
| reading | |
| sensor | |
| thread |
Constants
| MIGRATIONS |
Functions
| connect | |
| get_version | Get the database |
| reading_from_row | |
| select_actuals | |
| select_last_reading | Select the very last sensor reading. |
| select_readings | Select the latest sensor readings within the given time interval. |
| select_size | Select database size in bytes. |
| upsert_reading | |
| upsert_sensor |