Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
Modifier and Type | Method and Description |
---|---|
DBCollection |
DB.createView(String viewName,
String viewOn,
List<? extends DBObject> pipeline,
DBCreateViewOptions options)
Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that defines the view.
|
Modifier and Type | Method and Description |
---|---|
DBCreateViewOptions |
DBCreateViewOptions.collation(Collation collation)
Sets the collation
|
Copyright © 2017. All Rights Reserved.