CosmosDbDatabase class

Class representing a CosmosDB database.

Inheritance

Constructors

CosmosDbDatabase(CosmosDbServer server, String id)

Properties

containers CosmosDbContainers
Provides access to containers in this CosmosDbDatabase.
latefinal
exists bool?
Flag indicating whether the database exists in CosmosDB. null if no check has been made yet.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
The document's id.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server CosmosDbServer
The server hosting this database.
final
url String
The database's base url.
final
users CosmosDbUsers
Provides access to users in this CosmosDbDatabase.
latefinal

Methods

getInfo({CosmosDbPermission? permission}) Future
Gets information for this CosmosDbDatabase.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this instance to a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited