Google News
logo
PouchDB - Quiz(MCQ)
What is the purpose of PouchDB's 'changes' API?
A)
To retrieve a specific document by ID
B)
To listen for changes to the database
C)
To retrieve all documents in the database
D)
To delete a document from the database

Correct Answer :   To listen for changes to the database


Explanation : PouchDB’s “changes” API allows you to listen for changes to the database in real-time, such as when a new document is added or an existing document is updated or deleted.

Advertisement