15 lines
262 B
SQL
15 lines
262 B
SQL
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; |