PKGBUILD/pkg/storage/db/sql/psql/selectSensorByID.sql

16 lines
207 B
MySQL
Raw Normal View History

2019-08-20 19:37:45 +00:00
SELECT
sensor_id,
sensor_name,
sensor_location,
wire_id,
i2c_bus,
i2c_address,
gpio_number,
sensor_model,
sensor_enabled,
device_id,
creation_date
FROM
sensors
WHERE
sensor_id = $1;