Changes

Jump to navigation Jump to search
478 bytes added ,  09:46, 20 July 2022
no edit summary
Some existing query modules have been revised:
* [[Database Module]]:{| class="wikitable"** Added: {{Function|Database-! Description! BaseX 10! BaseX 9|db:put-value}}, | Retrieve XML resources.| {{Function|Database|db:get-value}}.** | {{Code|db:open}}/|-| Retrieve nodes with specified pre values.| {{CodeFunction|Database|db:openget-idpre}}/| {{Code|db:open-pre}} |-| Retrieve nodes with specified IDs.| {{Function|Database|db:get-id}}/| {{Function|DatabaseCode|db:getopen-id}}/|-| Retrieve binary resources.| {{Function|Database|db:get-prebinary}}** | {{Code|db:replaceretrieve}} |-| Add or replace resource.| {{Function|Database|db:put}}: Second and third , arguments have been swapped.!** | {{Code|db:storereplace}} |-| Add or replace binary resource.| {{Function|Database|db:put-binary}}: Second and third , arguments have been swapped.!** | {{Code|db:retrievestore}} |-| Get resource type.| {{Function|Database|db:get-binarytype}}** | {{Code|db:is-raw}}/, {{Code|db:is-xml}} |-| Store value resources.| {{Function|Database|db:typeput-value}}* [[Fetch Module]]:| ''new''|-| Retrieve value resources.** | {{CodeFunction|Database|fetchdb:xmlget-value}} | ''new''|-| Fetch XML document.| {{Function|DatabaseFetch|fetch:doc}}** | {{Code|fetch:xml}}|-| Fetch XML document from binary}} → data.| {{Function|DatabaseFetch|fetch:binary-doc}}* The Jobs Module has been renamed to | {{Code|fetch:xml-binary}}|-| XQuery jobs| [[Job Module]].* The Strings | Jobs Module has been renamed to |-| String computations| [[String Module]].* The | Strings Module|-| Process ZIP files| ''removed''| ZIP Module and the |-| Process Geo data| ''removed''| Geo Module have been removed.|}
Functions of all modules, excluding the [[File Module]], now consistently resolve relative URI references against the static base URI, and not the current working directory.
{| class="wikitable"
|-
! Description
! BaseX 10
! BaseX 9
|-
| Retrieve single XML document.| {{Command|GET}}: Retrieve single XML document.
| –
|-
| List directories and resources.| {{Command|LIST}}: List directories and resources.
| –
|-
| Add or replace resources.
| {{Command|PUT}}
| Old name: {{Code|REPLACE}}
|-
| Store binary resource.
| {{Command|BINARY PUT}}
| Old name: {{Code|STORE}}
|-
| Retrieve binary resource.
| {{Command|BINARY GET}}
| Old name: {{Code|RETRIEVE}}
|-
| Returns the current option values.
| {{Command|SHOW OPTIONS}}
| Old name: {{Code|GET}}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu