IndexedDB – Deleting Data There are many situations where we need to delete data from the database; be it for storage purposes or just removing unwanted data to free up space. If we want to delete this unnecessary data from a database we can use the .delete() function Syntax const request = objectStore.delete(data); We use […]
Category Archives: indexeddb
IndexedDB – Installation Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. You can download the visual studio code from its official website – Select the version you want based on your PC configuration and OS. Once downloaded you can install it directly on your […]
IndexedDB – Creating Data Before creating data we need to know how data is transferred. IndexedDB opens transactions and each of its data operations are carried out inside each of these transactions. Each operation has four steps − Get database object Open transaction on the database Open object store on the transaction Operate on the […]