forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7014c9a
committed
Doc: improve documentation for jsonpath behavior.
Clarify the behavior of jsonpath operators and functions bydescribing their two different modes of operation explicitly.In addition to the SQL-spec behavior, where a path returnsa list of matching items, we have a "predicate check" formthat always returns a single boolean result. That was mentionedin only one place, but it seems better to annotate each operatorand function as to which form(s) it takes. Also improve theexamples by converting them into actual executable SQL withresults, and do a bunch of incidental wordsmithing.David Wheeler, reviewed by Erik Wienhold, Jian He, and myselfDiscussion:https://postgr.es/m/7262A188-59CA-4A8A-AAD7-83D4FF0B9758@justatheory.com1 parent66ea94e commit7014c9a