case classLookup(from: String, localField: String, foreignField: String, as: String) extends PipelineOperator with Product with Serializable
_Since MongoDB 3.2:_ Performs a left outer join to an unsharded collection in the same database to filter in documents from the "joined" collection for processing.
https://docs.mongodb.com/v3.2/reference/operator/aggregation/lookup/#pipe._S_lookup
from
the collection to perform the join with
localField
the field from the documents input
foreignField
the field from the documents in the from collection
as
the name of the new array field to add to the input documents
_Since MongoDB 3.2:_ Performs a left outer join to an unsharded collection in the same database to filter in documents from the "joined" collection for processing. https://docs.mongodb.com/v3.2/reference/operator/aggregation/lookup/#pipe._S_lookup
the collection to perform the join with
the field from the documents input
the field from the documents in the
from
collectionthe name of the new array field to add to the input documents