Package | Description |
---|---|
com.allanbank.mongodb.builder |
Provides domain classes and builders for queries and the common MongoDB commands.
|
Modifier and Type | Method and Description |
---|---|
static AggregationProjectFields |
AggregationProjectFields.include(String... fields)
Helper method to create a
AggregationProjectFields that
implicitly includes the _id field. |
static AggregationProjectFields |
AggregationProjectFields.includeWithoutId(String... fields)
Helper method to create a
AggregationProjectFields that does not
include the _id field. |
Modifier and Type | Method and Description |
---|---|
Aggregate.Builder |
Aggregate.Builder.project(AggregationProjectFields fields,
Element... elements)
Adds a $project operation to the pipeline to create a
projection of the documents passing this point in the pipeline.
|
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.