add_stage {mongopipe}R Documentation

Create or append a mongo aggregation stage

Description

Create or append a mongo aggregation stage

Usage

add_stage(x, ...)

## Default S3 method:
add_stage(x, ...)

## S3 method for class 'mongopipe'
add_stage(x, type, ...)

Arguments

x

Object of class mongo or mongo_pipe

...

query

type

Name of the stage.

Value

Object of type mongopipe.


[Package mongopipe version 0.1.1 Index]