Skip to content

Commit

Permalink
added a todo-entry for potential improvement in the future
Browse files Browse the repository at this point in the history
  • Loading branch information
tnaum-ms committed Dec 4, 2024
1 parent f8ccbed commit faabcd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mongoClusters/MongoClustersClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<boolean> {
// Convert input data to BSON types
const parsedDocumentIds = documentIds.map((id) => {
Expand Down

0 comments on commit faabcd4

Please sign in to comment.