From faabcd4c36e155e8ec07d2215a2a4ba1eaecbaf6 Mon Sep 17 00:00:00 2001 From: Tomasz Naumowicz Date: Wed, 4 Dec 2024 16:28:42 +0100 Subject: [PATCH] added a todo-entry for potential improvement in the future --- src/mongoClusters/MongoClustersClient.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mongoClusters/MongoClustersClient.ts b/src/mongoClusters/MongoClustersClient.ts index f9f7bc55a..8c0d9d85a 100644 --- a/src/mongoClusters/MongoClustersClient.ts +++ b/src/mongoClusters/MongoClustersClient.ts @@ -213,6 +213,8 @@ export class MongoClustersClient { } } + // TODO: revisit, maybe we can work on BSON here for the documentIds, and the conversion from string etc., + // will remain in the MongoClusterSession class async deleteDocuments(databaseName: string, collectionName: string, documentIds: string[]): Promise { // Convert input data to BSON types const parsedDocumentIds = documentIds.map((id) => {