Build projection for toxboot MongoDB
toxbootProjectionBuild builds a list that determined which fields
toxbootProjectionBuild(fields, id_val = 0L)
string vector, fields to return.
integer 0L or 1L. By default 0L, which will supress Object_ID from the projection. This unique ID is often not needed. Can be set to 1L to include in projection.
projection, a named list where names are the fields to return in the projection and the values are 0L (don't return) or 1L (return).
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.