toxbootProjectionBuild: Build projection for toxboot MongoDB

Description Usage Arguments Value

Description

toxbootProjectionBuild builds a list that determined which fields are returned.

Usage

1
toxbootProjectionBuild(fields, id_val = 0L)

Arguments

fields

string vector, fields to return.

id_val

integer 0L or 1L. By default 0L, which will suppress Object_ID from the projection. This unique ID is often not needed. Can be set to 1L to include in projection.

Value

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).


ericwatt/toxboot documentation built on May 16, 2019, 8:41 a.m.