MongoDatabase
Permite interagir com a base de dados em MongoDB.
collection
collection(name: string) : MongoCollection
Atributos
| NOME | TIPO | DESCRIÇÃO |
|---|---|---|
| name | string |
Retorno
( MongoCollection )
collectionNames
collectionNames() : java.util.List<string>
Retorno
( java.util.List )
createCollection
createCollection(name: string) : MongoDatabase
Atributos
| NOME | TIPO | DESCRIÇÃO |
|---|---|---|
| name | string |
Retorno
( MongoDatabase )
getCollection
getCollection(name: string) : MongoCollection
Atributos
| NOME | TIPO | DESCRIÇÃO |
|---|---|---|
| name | string |
Retorno
( MongoCollection )
ping
ping() : MongoDatabase
Retorno
( MongoDatabase )