Type alias Document<IdType>

Document<IdType>: {
    _id: IdType;
}

A document from a MongoDB collection

Type Parameters

  • IdType = unknown

Type declaration

  • _id: IdType

    The ID of the document.

Generated using TypeDoc