Description Usage Arguments Value
Select columns from a mongo DB table
1 2 3 4 5 6 7 8 9 10 11 | mg_select2(
table,
...,
.query = "{}",
.sort = "{}",
.skip = 0,
.limit = 0,
.handler = NULL,
.pagesize = 1000,
._id = FALSE
)
|
table |
name of the table/collection (as character). |
... |
column names (as symbols) |
.query |
todo |
.sort |
todo |
.skip |
todo |
.limit |
todo |
.handler |
todo |
.pagesize |
todo |
._id |
Should the _id column be returned? |
A data frame with the selected columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.