Loading TOC...

xdmp:binary-is-large

xdmp:binary-is-large(
   $source as binary()
) as xs:boolean

Summary

Check whether a binary node is a large binary.

Parameters
$source The binary node to test.

Usage Notes

A large binary is one whose size is above the large size threshold. See admin:database-set-large-size-threshold. This function returns false for small and external binary nodes. For details, see "Working With Binary Documents" in the Application Developer's Guide.

Example

  xdmp:binary-is-large(doc("/logo.gif")/binary())
  => false

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.