Interface FullCollectionInfo

Information about a collection, used when nameOnly is false in ListCollectionsOptions.

Field

name - The name of the collection.

Field

options - The creation options for the collection.

See

  • ListCollectionsOptions
  • Db.listCollections
interface FullCollectionInfo {
    name: string;
    options: CollectionOptions<SomeDoc>;
}

Properties

Properties

name: string

The name of the collection.

The creation options for the collection (i.e. the vector, indexing, and defaultId fields).