PKGBUILD/pkg/repository/db/postgres/selectHumidity.sql
Markus Pesch 4931c63c10
fix: add postgres backend
changes:
- Add postgres backend
- Modified or added table attributes.
  UpdateDate, ForeignKeys, Booleans
- Fix test for sqlite and postgres. Compare json instead the struct.
2020-06-01 22:50:05 +02:00

11 lines
116 B
SQL

SELECT
id,
value,
date,
sensor_id,
creation_date,
update_date
FROM
humidities
WHERE
humidity_id = $1