}
</syntaxhighlight>
==Key-Value Store==
A new [[Store Module]] provides functions to organize values in a persistent main-memory key-value store. The store allows you to speed up access to frequently accessed data.
; Store data:
<syntaxhighlight lang="xquery">
let $email := map:merge(
for $address in db:get('addressbook')//address
return map:entry($address/name, $address/email)
)
return store:put('emails', $email)
</syntaxhighlight>
; Retrieve data:
<syntaxhighlight lang="xquery">
let $name := 'Richard David James'
return store:get('email')($name)
</syntaxhighlight>
The store is persistent: Contents are written to disk. If BaseX is restarted, all contents will be retrieved from disk again.
==Modules==
The following Various modules and functions have changedbeen revised, added, renamed or removed:
{| class="wikitable"
! BaseX 10
! BaseX 9
|-
| Main-memory key-value store.
| [[Store Module]]
| ''new''
|-
| Retrieve XML resources.
| {{Function|Fetch|fetch:binary-doc}}
| {{Code|fetch:xml-binary}}
|-
| Main-memory key-value store.
| [[Store Module]]
| ''new''
|-
| Return variable bindings of a job.
| {{Function||job:bindings}}
| ''new''
|-
| XQuery jobs