Google News
logo
TinyDB - Quiz(MCQ)
What will happen if you will Insert a Document with an already existing ID in TinyDB?
A)
It will show you the value error
B)
It will insert the same record again
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   It will show you the value error


Explanation : Inserting a Document with an already existing ID will result in a ValueError.

Advertisement