info:database-get-feature( $database as xs:string, [$preview-settings as element(info:settings)], [$delta as xs:boolean] ) as element(info:settings)
[DEPRECATED] This function returns the a node representing support for database features of wildcarding, word positions, and reverse search. Returns a boolean value for each database feature based on whether its corresponding database settings are on or off. If some settings are on for a feature but others are off, then the feature will be noted as off. A "detail" child node includes the value of each related database setting.
The optional $preview-settings
and $delta
arguments allow
developers to pass in settings to preview the result of a given set of features.
If $delta
is set to true()
, only values that will change
are returned. If not provided, $delta
is false()
.
This call is read-only, it does not change the state of database features supported.
xquery version "1.0-ml"; import module namespace info = "http://marklogic.com/appservices/infostudio" at "/MarkLogic/appservices/infostudio/info.xqy"; info:database-get-feature("Documents") (: Returns the current state of the supported database features. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.