private BsonValue TranslateIntersect(IntersectExpression node)
 {
     return new BsonDocument("$setIntersection", new BsonArray(new[]
     {
         TranslateValue(node.Source),
         TranslateValue(node.Other)
     }));
 }
 protected internal virtual Expression VisitIntersect(IntersectExpression node)
 {
     return node.Update(
         Visit(node.Source),
         Visit(node.Other));
 }
示例#3
0
 protected internal virtual Expression VisitIntersect(IntersectExpression node)
 {
     return(node.Update(
                Visit(node.Source),
                Visit(node.Other)));
 }