Type alias CollectionImportResult

CollectionImportResult: {
    created: number;
    details?: string[];
    empty: number;
    error: false;
    errors: number;
    ignored: number;
    updated: number;
}

Result of a collection bulk import.

Type declaration

  • created: number

    Number of new documents imported.

  • Optional details?: string[]

    Additional details about any errors encountered during the import.

  • empty: number

    Number of empty documents.

  • error: false

    Whether the import failed.

  • errors: number

    Number of documents that failed with an error.

  • ignored: number

    Number of documents that failed with an error that is ignored.

  • updated: number

    Number of documents updated.

Generated using TypeDoc