We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06f5fe5 commit c72168aCopy full SHA for c72168a
components/webui/server/src/routes/api/presto-search/utils.ts
@@ -38,7 +38,7 @@ const insertPrestoRowsToMongo = (
38
columns: {name: string}[],
39
searchJobId: string,
40
mongoDb: Db
41
-): Promise<InsertManyResult<Document>> => {
+): Promise<InsertManyResult> => {
42
const collection = mongoDb.collection(searchJobId);
43
const resultDocs = data.map((row) => prestoRowToObject(row, columns));
44
return collection.insertMany(resultDocs);
0 commit comments