Correct Answer : db.mapReduce(mapFunction, reduceFunction)
Explanation : The syntax for querying a PouchDB database using a map/reduce function is “db.mapReduce(mapFunction, reduceFunction)”.
db.mapReduce(mapFunction, reduceFunction)
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.