You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Current »
Runtime 2020.13
anArray.compact()
Removes NULL elements of the array anArray. This is a convenience operation that can be used instead of select from anArray where element.exists();.
anArray
select from anArray where element.exists();
set compactArray = anArray.compact();