munwind-methods: Add an $unwind stage to a MongoPipeline.

Description Usage Arguments Value

Description

Add an $unwind stage to a MongoPipeline.

Usage

1
2
3
4
munwind(p, expr)

## S4 method for signature 'MongoPipeline'
munwind(p, expr)

Arguments

p

A MongoPipeline instance.

expr

An expression indicating the array field to unwind.

Value

A copy of the previous pipeline, with the new stage added.


returnString/mongoplyr documentation built on May 17, 2019, 2:22 p.m.