Merge pull request #76 from CartoDB/cast-colnames-in-getavailableboundaries
casting return types to text
This commit is contained in:
@@ -67,7 +67,7 @@ BEGIN
|
||||
EXECUTE format($string$
|
||||
SELECT id, description,
|
||||
name,
|
||||
aggregate,
|
||||
aggregate::text,
|
||||
NULL::TEXT source -- TODO use tags
|
||||
FROM observatory.OBS_column
|
||||
where name ilike '%%' || %L || '%%'
|
||||
@@ -100,10 +100,10 @@ BEGIN
|
||||
EXECUTE
|
||||
$string$
|
||||
SELECT
|
||||
column_id,
|
||||
obs_column.description,
|
||||
timespan,
|
||||
tablename
|
||||
column_id::text As column_id,
|
||||
obs_column.description::text As description,
|
||||
timespan::text As timespan,
|
||||
tablename::text As tablename
|
||||
FROM
|
||||
observatory.OBS_table,
|
||||
observatory.OBS_column_table,
|
||||
|
||||
Reference in New Issue
Block a user