projection property

Map<String, Object>? projection
getter/setter pair

Optional. The projection specification to determine which fields to include in the returned documents. See Projection and Projection Operators. find() operations on views do not support the following projection operators:

  • $
  • $elemMatch
  • $slice
  • $meta

Implementation

Map<String, Object>? projection;