Getting DatabaseManager
Collections
createCollection
Create a new collection.Indexes
createIndex
Create an index on a collection.Materialized Views
createView
Create a materialized view.listViews
List all views for the app.getView
Get a specific view.refreshView
Refresh/rebuild view data.deleteView
Delete a view.View with Aggregations
Aggregation Operators
| Operator | Description |
|---|---|
$sum | Sum values |
$avg | Average values |
$count | Count records |
$countDistinct | Count unique values |
$min | Minimum value |
$max | Maximum value |