private void TranslateGroupByWithResultSelector(GroupByWithResultSelectorExpression node)
        {
            Translate(node.Source);

            var projection = TranslateProjectValue(node.Selector);

            _stages.Add(new BsonDocument("$group", projection));
        }
        private void VisitGroupByWithResultSelector(GroupByWithResultSelectorExpression node)
        {
            Visit(node.Source);

            var projection = AggregateProjectionTranslator.TranslateProject(node.Selector);

            _stages.Add(new BsonDocument("$group", projection));
        }