PKGBUILD/pkg/repository/db/postgres/updateSensor.sql

15 lines
262 B
MySQL
Raw Normal View History

2020-05-21 15:40:24 +00:00
UPDATE sensors
SET
sensor_id = $1,
sensor_name = $2,
sensor_location = $3,
wire_id = $4,
i2c_bus = $5,
i2c_address = $6,
gpio_number = $7,
sensor_model = $8,
sensor_enabled = $9,
device_id = $10,
creation_date = $11
WHERE
sensor_id = $12;