This commit is contained in:
Carla Iriberri 2016-08-23 17:20:48 +02:00
parent dd5f560359
commit 5eb4ede219

View File

@ -14,7 +14,7 @@ DECLARE
measure_id text; measure_id text;
BEGIN BEGIN
-- By definition, all the measure results for the OBS_GetMeasure API are numeric values -- By definition, all the measure results for the OBS_GetMeasure API are numeric values
SELECT ARRAY(SELECT json_array_elements_text(params->'measure_id'))::text[] INTO requested_measures; SELECT ARRAY(SELECT json_array_elements_text(params->'measure_id'))::text[] INTO requested_measures;
FOREACH measure_id IN ARRAY requested_measures FOREACH measure_id IN ARRAY requested_measures
LOOP LOOP