Type alias InsertManyResult<T>

InsertManyResult<T>: mongoose.mongo.InsertManyResult<T> & {
    insertedIds: {
        [key: number]: InferId<T>;
    };
    mongoose?: {
        validationErrors?: (mongoose.Error.CastError | ValidatorError)[];
    };
}

Type Parameters

  • T

Type declaration

Generated using TypeDoc