SchemaPipeline.project

Passes along the documents with only the specified fields to the next stage in the pipeline. The specified fields can be existing fields from the input documents or newly computed fields. MongoDB Documentation: https://docs.mongodb.com/manual/reference/operator/aggregation/project/#pipe._S_project

  1. SchemaPipeline project(Bson specifications)
  2. SchemaPipeline project(T specifications)
    struct SchemaPipeline
    @safe
    project
    (
    T
    )

Meta