We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec01298 commit 00bfcc8Copy full SHA for 00bfcc8
server/src/indexing/borrowed-books-index.ts
@@ -34,7 +34,7 @@ console.log('\n-----------------------------\n');
34
console.log('AFTER creating the index\n');
35
await explainBorrowedBooksQuery();
36
37
-await collections?.issueDetails?.dropIndex('user._id_1_returnedDate_1_borrowDate_1');
+await collections?.issueDetails?.dropIndexes();
38
await client.close();
39
process.exit();
40
0 commit comments