MongoDbObjectInfo interface

Describes a database or collection within a MongoDB data source

Properties

averageDocumentSize

The average document size, or -1 if the average size is unknown

dataSize

The estimated total data size, in bytes, or -1 if the size is unknown.

documentCount

The estimated total number of documents, or -1 if the document count is unknown

name

The unqualified name of the database or collection

qualifiedName

The qualified name of the database or collection. For a collection, this is the database-qualified name.

Property Details

averageDocumentSize

The average document size, or -1 if the average size is unknown

averageDocumentSize: number

Property Value

number

dataSize

The estimated total data size, in bytes, or -1 if the size is unknown.

dataSize: number

Property Value

number

documentCount

The estimated total number of documents, or -1 if the document count is unknown

documentCount: number

Property Value

number

name

The unqualified name of the database or collection

name: string

Property Value

string

qualifiedName

The qualified name of the database or collection. For a collection, this is the database-qualified name.

qualifiedName: string

Property Value

string