Changes

Jump to navigation Jump to search
195 bytes added ,  14:32, 18 November 2015
{{Mark|Updated with Version 8.4}}: items of binary type can be output without specifying the obsolete <code>raw</code> serialization method.
* XQuery: With The <code>[[Commands#RETRIEVE|RETRIEVE]]</code> command and the <code>[[Database Module#db:retrieve|db:retrieve]]</code>, raw function can be used to return files are returned in their native byte representation. If the API you use does not support binary output (this is e.g. the case for various [[Client]] language bindings), you need to convert your binary data to its string representation before returning it to the client
<pre class="brush:xquery">
string(db:retrieve('multimedia', 'sample.avi'))
</pre>
* Commands: <code>[[Commands#RETRIEVE|RETRIEVE]]</code> can also be used to output raw files.
==HTTP Services==
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu