You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The idea is to add some functions to query and manipulate XML.
Also see https://www.postgresql.org/docs/10/functions-xml.html
Construction
xmlelement(name,v1[,vn]*)
- constructor function that creates an xml elementxmlattributes(k1,v1[,kn,vn]*)
- constructor function that creates a xml attributesxmlcomment(comment)
- constructor function that creates a xml commentxmlparse(payload)
- parses an xml rootQuery
xmlagg(xml) within group (...)
- aggregates xml elements into a xml forestxmlexists(xquery, xml)
true if the XQuery expression in the first argument returns any nodes, and false otherwisexpath(xpath, xml)
returns an array of xml values that match the XPath expressionxpath_exists(xpath, xml)
true if the XPath expression in the first argument returns any nodes, and false otherwiseManipulation
xmlconcat(xml, xml)
Track HHH-18497 for progress.
Beta Was this translation helpful? Give feedback.
All reactions