Re: jsonpath: Missing Binary Execution Path?
От
David E. Wheeler
Тема
Re: jsonpath: Missing Binary Execution Path?
Дата
Msg-id
C9C53667-D6B4-4B0A-ADD0-292388FFD2DB@justatheory.com
Ответ на
Re: jsonpath: Missing Binary Execution Path? (Chapman Flack)
Список
Дерево обсуждения
jsonpath: Missing Binary Execution Path? "David E. Wheeler" <david@justatheory.com>
Re: jsonpath: Missing Binary Execution Path? Chapman Flack <jcflack@acm.org>
Re: jsonpath: Missing Binary Execution Path? "David G. Johnston" <david.g.johnston@gmail.com>
Re: jsonpath: Missing Binary Execution Path? Chapman Flack <jcflack@acm.org>
Re: jsonpath: Missing Binary Execution Path? "David G. Johnston" <david.g.johnston@gmail.com>
Re: jsonpath: Missing Binary Execution Path? Chapman Flack <jcflack@acm.org>
Re: jsonpath: Missing Binary Execution Path? "David E. Wheeler" <david@justatheory.com>
Re: jsonpath: Missing Binary Execution Path? Chapman Flack <jcflack@acm.org>
Re: jsonpath: Missing Binary Execution Path? "David E. Wheeler" <david@justatheory.com>
Re: jsonpath: Missing Binary Execution Path? "David G. Johnston" <david.g.johnston@gmail.com>
Re: jsonpath: Missing Binary Execution Path? "David E. Wheeler" <david@justatheory.com>
Re: jsonpath: Missing Binary Execution Path? Andrew Dunstan <andrew@dunslane.net>
Re: jsonpath: Missing Binary Execution Path? "David E. Wheeler" <david@justatheory.com>
On Jun 13, 2024, at 22:31, Chapman Flack wrote: > It's baked right into the standard grammar: || can only have a > on its right and a > on its left. > > && can only have a on its right and a > on its left. Wow. > The case for ! is even more limiting: it can't be applied to anything > but a . That can be either the exists predicate, > or, any other but wrapped in parentheses. > > The language seems sort of gappy in the same way XPath 1.0 was. XPath 2.0 > became much more consistent and conceptually unified, only by that time, > XML was old school, and JSON was cool, and apparently started inventing > a path language. I suppose that’s the reason for this design. But if these sorts of limitations were changed in XPath, perhaps SQL-Next could fix them, too. Thanks for citing the standard; super helpful. D
В списке pgsql-hackers по дате отправления