|-
| valign='top' | '''Errors'''
|'''[[XQuery Errors#BaseX Errors|BASX0001]]''' is raised if the full-text index is not available.<br/>'''[[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/>'''[[XQuery ErrorsDatabase Module#BaseX Errors|BASX0003BXDB0002]]''' is raised if the addressed database cannot be opened.
|}