Description Usage Arguments Value
View source: R/aggregation_stages.R
These functions translate R code to json readably by Mongodb.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | match(x, ...)
## S3 method for class 'mongopipe'
match(x, ...)
field(x, ...)
## S3 method for class 'mongopipe'
field(x, ...)
lookup(x, ...)
## S3 method for class 'mongopipe'
lookup(x, from, local_field = from, foreign_field = "_id", as = from, ...)
unwind(x, ...)
## S3 method for class 'mongopipe'
unwind(x, field, ...)
limit(x, ...)
## S3 method for class 'mongopipe'
limit(x, limit, ...)
project(x, ...)
## S3 method for class 'mongopipe'
project(x, ...)
|
x |
Object of class |
... |
list object |
from |
Collection to join |
local_field |
Field from the input documents |
foreign_field |
Field from the documents of the "from" collection |
as |
Name of output array field (Default: |
field |
Field to unwind. |
limit |
Integer to limit the number of documents. |
Object of type mongopipe.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.