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