diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2019-06-19 22:41:12 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2019-06-19 22:41:57 +0300 |
commit | dfd79e2d0e8f399785ca2f7c659b45fd620cba17 (patch) | |
tree | 65928843df88126738fb9abded8508a59727c17d /doc/src | |
parent | 1ff8dc9f19ddf00e3ad69d7141f78341769cd8a3 (diff) | |
download | postgresql-dfd79e2d0e8f399785ca2f7c659b45fd620cba17.tar.gz postgresql-dfd79e2d0e8f399785ca2f7c659b45fd620cba17.zip |
Fix description for $varname jsonpath variable
The description is ended part way and PASSING clause is not implemented yet.
But the variables might be passed as parameters to several jsonpath functions.
So, complete the description based on the current implementation, leaving
description of PASSING clause in TODO.
Discussion: https://postgr.es/m/CAKPRHz%2BxOuQSSvkuB1mCQjedd%2BB2B1Vnkrq0E-pLmoXyTO%2Bz9Q%40mail.gmail.com
Author: Kyotaro Horiguchi, Alexander Korotkov
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/json.sgml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/sgml/json.sgml b/doc/src/sgml/json.sgml index b8246badda9..daebb4f3410 100644 --- a/doc/src/sgml/json.sgml +++ b/doc/src/sgml/json.sgml @@ -733,10 +733,12 @@ SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @> '{"tags": ["qu </row> <row> <entry><literal>$varname</literal></entry> - <entry>A named variable. Its value must be set in the - <command>PASSING</command> clause of an SQL/JSON query function. - <!-- TBD: See <xref linkend="sqljson-input-clause"/> --> - for details. + <entry> + A named variable. Its value can be set by the parameter + <parameter>vars</parameter> of several JSON processing functions. + See <xref linkend="functions-json-processing-table"/> and + its notes for details. + <!-- TODO: describe PASSING clause once implemented !--> </entry> </row> <row> |