Changes

Jump to navigation Jump to search
644 bytes removed ,  13:42, 20 May 2015
no edit summary
|
* {{Code|db:backups("factbook")}} returns all backups that have been made from the {{Code|factbook}} database.
|}
 
==db:event==
 
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|db:event|$name as xs:string, $query as item()|empty-sequence()}}
|-
| '''Summary'''
|Executes a {{Code|$query}} and sends the resulting value to all clients watching the [[Events|Event]] with the specified {{Code|$name}}. The query may also perform updates; no event will be sent to the client that fired the event.
|-
| '''Errors'''
|{{Error|BXDB0010|XQuery Errors#BaseX Errors}} the specified event is unknown.<br/>{{Error|SEPM0016|XQuery_Errors#Serialization_Errors}} serialization errors occurred while sending the value.<br/>
|}
|{{Code|BXDB0009}}
|The addressed database id or pre value is out of range.
|-
|{{Code|BXDB0010}}
|The specified event is unknown.
|-
|{{Code|BXDB0011}}
;Version 8.2
* Added: [[#db:output-cache|db:output-cache]]
* Removed: db:event
;Version 7.9
Bureaucrats, editor, reviewer, Administrators
12,947

edits

Navigation menu