@resolveio/server-lib 20.12.60 → 20.12.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -159,6 +159,9 @@ export declare class MongoManagerCollection<T extends CollectionDocument> {
|
|
|
159
159
|
static create(options: MongoManagerCollectionOptions): MongoManagerCollection<CollectionDocument>;
|
|
160
160
|
initialize(options: MongoManagerCollectionOptions): void;
|
|
161
161
|
extractIndexNameFromError(errorMessage: any): any;
|
|
162
|
+
private shouldRetryWriteConflict;
|
|
163
|
+
private delay;
|
|
164
|
+
private retryWrite;
|
|
162
165
|
aggregate(pipeline: object[], options?: AggregateOptions, skipCache?: boolean, bypassSession?: boolean): Promise<any[]>;
|
|
163
166
|
aggregateCount(pipeline: object[], options?: AggregateOptions, bypassSession?: boolean): Promise<number>;
|
|
164
167
|
aggregateCursor(pipeline: object[], options?: AggregateOptions, bypassSession?: boolean): AggregationCursor;
|