fix comma bug
This commit is contained in:
parent
73f8ea1b4e
commit
5dcec6e126
@ -23,7 +23,7 @@ BEGIN
|
||||
WHERE type ILIKE ''geometry''
|
||||
AND coltable.column_id = col.id
|
||||
AND coltable.table_id = tab.id
|
||||
AND col.id = $1,
|
||||
AND col.id = $1
|
||||
AND CASE WHEN $2 IS NOT NULL THEN timespan = $2 ELSE TRUE END
|
||||
ORDER BY timespan DESC LIMIT 1
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user