摘要:
db.getCollection('ShortProduct').aggregate([{ $lookup: { from: "ShortProductPlans", localField: "_id", foreignField: "productId", as: "plan" } }, { $u 阅读全文
摘要:
db.runCommand({ "update" : "ShortBatchOrder", "updates" : [{ "q" : { "_id" : "xxxxxxxx") }, "u" : { "$set":{"data.$[data].isDelete" : "1"} }, "upsert" 阅读全文