mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-20 00:44:19 +08:00
Update mongodb
This commit is contained in:
parent
7f2332a7d7
commit
cd23338a43
@ -172,7 +172,7 @@ namespace SqlSugar.MongoDb
|
|||||||
{ "as", "b" },
|
{ "as", "b" },
|
||||||
{ "in", new BsonDocument("$eq", new BsonArray { $"$$b.{leftField}", $"${rightField}" }) }
|
{ "in", new BsonDocument("$eq", new BsonArray { $"$$b.{leftField}", $"${rightField}" }) }
|
||||||
};
|
};
|
||||||
var anyElementTrueDoc = new BsonDocument("$anyElementTrue", new BsonDocument("$map", mapDoc));
|
var anyElementTrueDoc = new BsonDocument("$expr", new BsonDocument("$anyElementTrue", new BsonDocument("$map", mapDoc)));
|
||||||
return anyElementTrueDoc;
|
return anyElementTrueDoc;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user