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.
2 parents 7fe3624 + e5b18fd commit e260b43Copy full SHA for e260b43
README.md
@@ -410,9 +410,14 @@ Or using the index object:
410
411
`client.deleteIndex(uid): Promise<void>`
412
Or using the index object:
413
-
414
`index.delete(): Promise<void>`
415
+- Delete an index if it exists:
416
+
417
+`client.deleteIndexIfExists(uid): Promise<boolean>`
418
+Or using the index object:
419
+`index.deleteIfExists(): Promise<boolean>`
420
421
- [Get specific index stats](https://docs.meilisearch.com/reference/api/stats.html#get-stat-of-an-index):
422
423
`index.getStats(): Promise<IndexStats>`
0 commit comments