You can use $lookup with pipeline starting from MongoDB v3.6,. let to pass localField _id as model_id variable, you can use the field inside lookup pipeline ...
確定! 回上一頁