Commands

Reset

The reset method allows you to clear all documents from a particular index.

Response

'Success' if the database is successfully reset.

Basic
const responseReset = await index.reset();// 'Success'
Loading search…