MarkLogic Server 11.0 Product Documentation
ort:value-get-shape

ort:value-get-shape(
   $value as ort:value
) as xs:long*

Summary

Returns the shape of the ort:value as a sequence of xs:long.

Parameters
$value An ort:value.

Example

  let $v := ort:value((1,2,3,4,5,6), (2,3), "float")
  return ort:value-get-shape($v)
  =>
  2,3
Powered by MarkLogic Server | Terms of Use | Privacy Policy