Google News
logo
PouchDB - Quiz(MCQ)
What is the purpose of PouchDB's 'Upsert' plug-in?
A)
To delete documents from the database
B)
To insert new documents into the database
C)
To update existing documents in the database
D)
To insert or update documents in the database based on their existing state

Correct Answer :   To insert or update documents in the database based on their existing state


Explanation : PouchDB’s “Upsert” plug-in allows you to insert or update documents in the database based on their existing state, rather than just inserting new documents or updating existing ones.

Advertisement