mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 15:17:41 +00:00
Fix typos procedure select and update
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
ITH params AS (
|
WITH params AS (
|
||||||
SELECT
|
SELECT
|
||||||
$1::uuid AS space_uuid,
|
$1::uuid AS space_uuid,
|
||||||
TO_DATE(NULLIF($2, ''), 'YYYY-MM') AS event_month
|
TO_DATE(NULLIF($2, ''), 'YYYY-MM') AS event_month
|
||||||
|
@ -5,7 +5,7 @@ WITH params AS (
|
|||||||
),
|
),
|
||||||
|
|
||||||
-- Query Pipeline Starts Here
|
-- Query Pipeline Starts Here
|
||||||
WITH device_space AS (
|
device_space AS (
|
||||||
SELECT
|
SELECT
|
||||||
device.uuid AS device_id,
|
device.uuid AS device_id,
|
||||||
device.space_device_uuid AS space_id,
|
device.space_device_uuid AS space_id,
|
||||||
|
Reference in New Issue
Block a user