|
* {{Code|db:attribute-range("DB", "id456", "id473", 'id')}} returns all {{Code|@id}} attributes of the database {{Code|DB}} that have a string value in between {{Code|id456}} and {{Code|id473}}.
|}
==db:fulltext==
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|db:fulltext|$db as xs:string, $terms as xs:string|text()*}}
|-
| '''Summary'''
|Returns all text nodes from the full-text index of the database {{Code|$db}} that contain the text specified as {{Code|$terms}}.<br/>The options used for building the full-text will also be applied to the search terms. As an example, if the index terms have been stemmed, the search string will be stemmed as well.
|-
| '''Errors'''
|{{Error|BXDB0002|XQuery Errors#BaseX Errors}} The addressed database does not exist or could not be opened.<br/>{{Error|BXDB0004|#Errors}} the full-text index is not available.
|-
| '''Examples'''
|
* {{Code|db:fulltext("DB", "QUERY")}} returns all text nodes of the database {{Code|DB}} that contain the string {{Code|QUERY}}.
|}
=Changelog=
;Version 7.8
* Removed: db:fulltext (use [[Full-Text Module#ft:search|ft:search]] instead)
;Version 7.7