elem Match
Creates a projection that includes for the given property only the first element of the array value of that field that matches the given query filter.
Return
the projection @mongodb.driver.manual reference/operator/projection/elemMatch elemMatch
Parameters
the filter to apply
Creates a projection that includes for the given property only the first element of the array value of that field that matches the given query filter.
Return
the projection @mongodb.driver.manual reference/operator/projection/elemMatch elemMatch
Parameters
the data class property
the filter to apply
Creates a projection that includes for the given property only the first element of an array that matches the query filter. This is referred to as the positional $ operator.
Return
the projection @mongodb.driver.manual reference/operator/projection/positional/#projection Project the first matching element ($ operator)