aquametalabs / aquameta

Web development platform built entirely in PostgreSQL
GNU General Public License v3.0
1.1k stars 52 forks source link

endpoint: fix bug in endpoint.column_list() #127

Closed erichanson closed 5 years ago

erichanson commented 5 years ago

It's coming back null. Steps to reproduce:

select status, message, response, mimetype
from endpoint.request('0.2', 'GET', 'relation/bundle/head_db_stage', '{"exclude": ["[\"in_head\"]"], "meta_data": ["true"], "order_by": ["row_id"],
"where": ["{\"name\":\"bundle_id\",\"op\":\"=\",\"value\":\"6ab38037-8c72-4eb5-86aa-5c7ab7dc1607\"}"]}'::json, 'null'::json);