|-
| '''Summary'''
|Opens the database {{Code|$db}} and returns the node all distinct nodes with the pre values {{Code|$pres}}in document order.<br/>The [[Node Storage#PRE Value|PRE value]] provides very fast access to an existing database node, but it will change whenever a node with a smaller ''pre'' values is added to or deleted from a database.
|-
| '''Errors'''
|-
| '''Summary'''
|Opens the database {{Code|$db}} and returns the all distinct nodes with the specified {{Code|$ids}}in document order.<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 {{Option|UPDINDEX}} option.
|-
| '''Errors'''