let $tuple := cts:value-tuples($some-cts-reference)[1]
return xdmp:describe($tuple)
=>
json:array(<json:array...><json:value ...>...</json:array>)

return json:array-size($tuple)
=>
[1.0-ml] XDMP-ARGTYPE: (err:XPTY0004) 
json:array-size(json:array(<json:array>...</json:array>)) -- arg1 is not of 
type json:array?

Am I missing something, or should I contact support?

-Will
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to