==db:create==
{{Mark|Updated with Version 8.4}}: Support for {{Code|ADDCACHE}} option.
{| width='100%'
** a path must be specified if the input is not a file or directory reference
* The {{Code|$options}} argument can be used to change the indexing behavior:
** the allowed options are all {{Option|ADDCACHE}} and the [[Options#Indexing|indexing]], [[Options#Full-Text|full-text]], [[Options#Parsing|parsing]] and [[Options#XML Parsing|XML parsing]] options , all in lower case.
** parsing options are only applied to string inputs (XML strings or file/directory references)
* An existing database will be overwritten. Next, {{Code|db:create}} will be placed last on the [[XQuery Update#Pending Update List|Pending Update List]]. As a consequence, a newly created database cannot be addressed in the same query.
==db:add==
{{Mark|Updated with Version 8.4}}: Support for {{Code|ADDCACHE}} option.
{| width='100%'
==db:replace==
{{Mark|Updated with Version 8.4}}: Support for {{Code|ADDCACHE}} option.
{| width='100%'
;Version 8.4
* Updated: [[#db:create|db:create]], [[#db:add|db:add]], [[#db:replace|db:replace]]: support for {{Code|ADDCACHE}} option.
* Added: [[#db:token|db:token]]