You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously we mapped item()* in a function parameter to Object[] | ValueIterator. We are changing this in 8.0-2 to be just ValueIterator. Mike, can you please change the mappings? This affects a lot of functions (108+ I think).
The following is really a note to myself: I also really need to add a note to all of these parameters (javascript only) saying something like:
If you pass in a single value, it is treated as a ValueIterator with that single item; therefore, if you pass in an array, the function will return the array. If you mean to check the values of each item in the array, then you can call xdmp.arrayValues on the array.
The text was updated successfully, but these errors were encountered:
Previously we mapped item()* in a function parameter to Object[] | ValueIterator. We are changing this in 8.0-2 to be just ValueIterator. Mike, can you please change the mappings? This affects a lot of functions (108+ I think).
The following is really a note to myself: I also really need to add a note to all of these parameters (javascript only) saying something like:
If you pass in a single value, it is treated as a ValueIterator with that single item; therefore, if you pass in an array, the function will return the array. If you mean to check the values of each item in the array, then you can call
xdmp.arrayValues
on the array.The text was updated successfully, but these errors were encountered: