Correct Answer : compact()
Explanation : The compact() function may be used to minimize the size of a database by deleting unneeded data.
compact()
Correct Answer : db.find(query)
Explanation : The syntax for using the PouchDB “Find” plug-in to query a database is “db.find(query)”.
db.find(query)
Correct Answer : To provide a simplified query syntax
Explanation : PouchDB’s “Find” plug-in provides a simplified query syntax for querying the database.
Correct Answer : To permanently delete a database
Explanation : PouchDB’s “destroy” API allows you to permanently delete a database, removing it from the file system.