|-
|'''Summary'''
|Returns information about possible facets and facet values in of 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.
|-
|'''Examples'''