Google News
logo
TinyDB - Quiz(MCQ)
What is the syntax for retrieving all documents from a TinyDB database?
A)
retrieveAll()
B)
getAllDocuments()
C)
getDocuments({})
D)
findDocuments({})

Correct Answer :   getAllDocuments()


Explanation : The syntax for retrieving all documents from a TinyDB database is to use the getAllDocuments() function. This function returns a list of all the documents in the database.

Advertisement