db.categoryGoods.aggregate ([{$match: {categoryId:2841}
) ,{$lookup:{from:"goods",localField:"goodsId",foreignField:"_id",as:"goods"}}
,{$project:{_id:0,goods:1}}
,{$unwind:"$goods"}
,{$match:{"goods.volume":{$lte:100}}}
,{$sort:{"goods.volume":-1,"goods._id":1}}
,{$skip:2}
,{$limit:5}
])
I spent the whole day yesterday, but it didn"t come out. Is there a php mongodb god to help translate the above mongodb command into the execution syntax of php?