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

14 lines
243 B
SQL

UPDATE sensors
SET
sensor_name = $1,
sensor_location = $2,
wire_id = $3,
i2c_bus = $4,
i2c_address = $5,
gpio_number = $6,
sensor_model = $7,
sensor_enabled = $8,
device_id = $9,
creation_date = $10
WHERE
sensor_id = $11;