fix(build): migrate smartconfig metadata and refresh build dependencies
This commit is contained in:
@@ -47,7 +47,7 @@ export class AggregationEngine {
|
||||
const cursor = aggregator.stream(documents);
|
||||
|
||||
for (const doc of cursor) {
|
||||
yield doc;
|
||||
yield doc as Document;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -297,7 +297,7 @@ export class AggregateHandler implements ICommandHandler {
|
||||
const existingDocs = await storage.findAll(targetDb, targetColl);
|
||||
const onFields = Array.isArray(on) ? on : [on];
|
||||
|
||||
let matchingDoc = null;
|
||||
let matchingDoc: plugins.bson.Document | null = null;
|
||||
for (const existing of existingDocs) {
|
||||
let matches = true;
|
||||
for (const field of onFields) {
|
||||
|
||||
Reference in New Issue
Block a user