PouchDB – Miscellaneous In this chapter, we will discuss the concepts like, compaction and retrieval of bulk data from PouchDB. Compaction You can reduce the size of a database by removing the unused data using compact() method. You can compact a local database as well as remote database using this method. Following is an example […]
Category Archives: pouchdb
PouchDB Tutorial Job Search PouchDB is an open source in-browser database API written in JavaScript. It is modelled after CouchDB − a NoSQL database that powers npm. Using this API, we can build applications that work offline and online. PouchDB uses WebSQL and IndexedDB internally to store the data. This tutorial discusses the basics of […]
PouchDB – Create Database You can create a database in PouchDB using the PouchDB constructor. Syntax Following is the syntax of using the PouchDB constructor. To this, you need to pass the name of the database as a parameter. new PouchDB(Database_name) Example To create a database in PouchDB using node, first of all, you need […]