|-
| '''Summary'''
| This function closes a connection to a relational database. {{Code|$connection}} specifies the connection handle.<br/>Opened connections will automatically be closed after the XQuery expression has been evaluated, but if you open many connections, it is recommendable to explicitly close them again with this functionif you open many connections.
|-
| '''Errors'''