ee.Join.saveAll

Returns a join that pairs each element from the first collection with a group of matching elements from the second collection. The list of matches is added to each result as an additional property. If measureKey is specified, each match has the value of its join measure attached. Join measures are produced when withinDistance or maxDifference filters are used as the join condition.

UsageReturns
ee.Join.saveAll(matchesKey, ordering, ascending, measureKey, outer)Join
ArgumentTypeDetails
matchesKeyStringThe property name used to save the matches list.
orderingString, default: nullThe property on which to sort the matches list.
ascendingBoolean, default: trueWhether the ordering is ascending.
measureKeyString, default: nullAn optional property name used to save the measure of the join condition on each match.
outerBoolean, default: falseIf true, primary rows without matches will be included in the result.