Delete a Database

Learn to delete an existing database from IndexedDB.

The deleteDatabase() method

The deleteDatabase() method, when called on the IndexedDB object, will return an IDBOpenDBRequest object and perform the deletion of the database asynchronously.

Syntax

Get hands-on with 1200+ tech skills courses.