From 99d878b13edc58aa6ecfcfe87ec6d0bc9c25cb6f Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Mon, 10 Sep 2018 12:09:06 -0500 Subject: [PATCH] Fix #175, add important note for computed column --- api.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api.rst b/api.rst index ea919b4be..0d438a933 100644 --- a/api.rst +++ b/api.rst @@ -4,7 +4,7 @@ Tables and Views ================ -All views and tables in the active schema and accessible by the active database role for a request are available for querying. They are exposed in one-level deep routes. For instance the full contents of a table `people` is returned at +All views and tables in the exposed schema and accessible by the active database role for a request are available for querying. They are exposed in one-level deep routes. For instance the full contents of a table `people` is returned at .. code-block:: http @@ -219,6 +219,10 @@ As mentioned, computed columns do not appear in the output by default. However y GET /people?select=*,full_name HTTP/1.1 +.. important:: + + Computed columns must be created under the exposed schema to be used in this way. + Ordering --------