Learn R Programming

mongopipe (version 0.1.2)

add_stage: Create or append a mongo aggregation stage

Description

Create or append a mongo aggregation stage

Usage

add_stage(x, ...)

# S3 method for default add_stage(x, ...)

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

Value

Object of type mongopipe.

Arguments

x

Object of class mongo or mongo_pipe

...

query

type

Name of the stage.