Returns a join that pairs each element from the first collection with a matching element from the second collection. The first match is added to the result as an additional property.

ee.Join.saveFirst(matchKey, ordering, ascending, measureKey, outer)Join

The property name used to save the match.

orderingString, default: null

The property on which to sort the matches before selecting the first.

ascendingBoolean, default: true

Whether the ordering is ascending.

measureKeyString, default: null

An optional property name used to save the measure of the join condition on the match.

outerBoolean, default: false

If true, primary rows without matches will be included in the result.