Google News
logo
PouchDB - Quiz(MCQ)
What is the syntax for using the PouchDB 'Upsert' plug-in to insert or update a document?
A)
insert(doc)
B)
update(doc)
C)
Both (A) and (B)
D)
upsert(doc)

Correct Answer :   db.upsert(doc)


Explanation : The syntax for using the PouchDB “Upsert” plug-in to insert or update a document is “db.upsert(doc)“.

Advertisement