Changes

Jump to navigation Jump to search
64 bytes removed ,  14:31, 26 January 2016
no edit summary
|-
| '''Summary'''
|Opens the database {{Code|$db}} and returns the node with the specified {{Code|$id}} value.<br />Each database node has a ''persistent'' [[Node Storage#ID Value|ID value]]. Access to the node id can be sped up by turning on the [[Options#UPDINDEX{{Option|UPDINDEX]] }} option.
|-
| '''Errors'''
|-
| '''Summary'''
|Returns the ''id'' values of the nodes supplied by {{Code|$nodes}}, which must all be [[#Database Nodes|database nodes]].<br/>Each database node has a ''persistent'' [[Node Storage#ID Value|ID value]]. Access to the node id can be sped up by turning on the [[Options#UPDINDEX{{Option|UPDINDEX]] }} option.
|-
| '''Errors'''
|-
| '''Summary'''
|Optimizes the meta data and indexes of the database {{Code|$db}}.<br/>If {{Code|$all}} is {{Code|true}}, the complete database will be rebuilt.<br/>The {{Code|$options}} argument can be used to control indexing. The syntax is identical to the [[#db:create|db:create]] function: Allowed options are all [[Options#Indexing|indexing]] and [[Options#Full-Text|full-text]] options. <code>[[Options#UPDINDEX{{Option|UPDINDEX]]</code> }} is only supported if {{Code|$all}} is {{Code|true}}.
|-
| '''Errors'''
|-
| '''Summary'''
|Explicitly flushes the buffers of the database {{Code|$db}}. This command is only useful if [[Options#AUTOFLUSH{{Option|AUTOFLUSH]] }} has been set to {{Code|false}}.
|-
| '''Errors'''
;Version 7.9
* Updated: parsing options added to [[#db:create|db:create]], [[#db:add|db:add]] and [[#db:replace|db:replace]].
* Updated: allow [[Options#UPDINDEX{{Option|UPDINDEX]] }} if {{Code|$all}} is {{Code|true}}.
;Version 7.8.2
Bureaucrats, editor, reviewer, Administrators
13,551

edits

Navigation menu