InsertOneResult<IdType>: {
    insertedId: IdType;
}

Result of inserting one document

Type Parameters

  • IdType

Type declaration

  • Readonly insertedId: IdType

    The ID of the inserted document

Generated using TypeDoc