Changes

Jump to navigation Jump to search
1,427 bytes removed ,  00:03, 26 May 2012
no edit summary
|-
|'''Summary'''
|Returns information about possible facets and facet values on a in the database <code>[[Database Module#Database Nodes|$db]]</code> in document structure format.<br/>If {{Mono|$type}} is specified as {{Mono|flat}}, the function returns this information in a flat summarized version.|-|'''Errors'''|'''[[Database Module#Errors|BXDB0001]]''' is raised if {{Mono|$db}} references a node that is not stored in a database (i.e., references a main-memory XML fragment).<br/>'''[[Database Module#Errors|BXDB0002]]''' is raised if the addressed database cannot be opened.<br/>'''[[Database Module#Errors|BXDB0004]]''' is raised if the index required by a function is not available.
|-
|'''Examples'''
|-
|'''Summary'''
|Returns all strings stored in the text indexof the database <code>[[Database Module#Database Nodes|$db]]</code>, along with their number of occurrences.<br/>If {{Mono|$prefix}} is specified, the returned nodes will be refined to the strings starting with that prefix.
|-
|'''Errors'''
|'''[[Database Module#Errors|BXDB0001]]''' is raised if {{Mono|$db}} references a node that is not stored in a database (i.e., references a main-memory XML fragment).<br/>'''[[Database Module#Errors|BXDB0002]]''' is raised if the addressed database cannot be opened.<br/>'''[[Database Module#Errors|BXDB0004]]''' is raised if the text index required by a function is not available.
|}
|-
|'''Summary'''
|Returns all strings stored in the attribute indexof the database <code>[[Database Module#Database Nodes|$db]]</code>, along with their number of occurrences.<br/>If {{Mono|$prefix}} is specified, the returned nodes will be refined to the strings starting with that prefix.
|-
|'''Errors'''
|'''[[Database Module#Errors|BXDB0001]]''' is raised if {{Mono|$db}} references a node that is not stored in a database (i.e., references a main-memory XML fragment).<br/>'''[[Database Module#Errors|BXDB0002]]''' is raised if the addressed database cannot be opened.<br/>'''[[Database Module#Errors|BXDB0004]]''' is raised if the attribute index required by a function is not available.
|}
|-
|'''Summary'''
|Returns all element names stored in the index, along with their number of occurrences.|-|'''Errors'''|'''[[Database Module#Errors|BXDB0001]]''' is raised if {{Mono|$db}} references a node that is not stored in a the database (i.e., references a main-memory XML fragment).<br/code>'''[[Database Module#ErrorsDatabase Nodes|BXDB0002$db]]''' is raised if the addressed database cannot be opened.<br/code>'''[[Database Module#Errors|BXDB0004]]''' is raised if the index required by a function is not available, along with their number of occurrences.
|}
|-
|'''Summary'''
|Returns all attribute names stored in the index, along with their number of occurrences.|-|'''Errors'''|'''[[Database Module#Errors|BXDB0001]]''' is raised if {{Mono|$db}} references a node that is not stored in a the database (i.e., references a main-memory XML fragment).<br/code>'''[[Database Module#ErrorsDatabase Nodes|BXDB0002$db]]''' is raised if the addressed database cannot be opened.<br/code>'''[[Database Module#Errors|BXDB0004]]''' is raised if the index required by a function is not available, along with their number of occurrences.
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu