| Package | Description |
|---|---|
| com.mongodb | |
| com.mongodb.client.model |
| 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(com.mongodb.client.model.Collation collation)
Sets the collation
|
Copyright © 2017. All rights reserved.