Loading TOC...

xdmp.binaryIsSmall

xdmp.binaryIsSmall(
   $source as binary()
) as Boolean

Summary

Check whether a binary node is a small binary.

Parameters
$source A binary node

Usage Notes

A small binary is one whose size is below the large size threshold. See admin:database-set-large-size-threshold. For details, see "Working With Binary Documents" in the Application Developer's Guide.

Example

  xdmp.binaryIsSmall(cts.doc("/logo.gif").root)

  => true if the binary content is below the large size threshold.

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy