Home »
MCQs »
TinyDB MCQs
What will happen if you will Insert a Document with an already existing ID in TinyDB?
30. What will happen if you will Insert a Document with an already existing ID in TinyDB?
- It will insert the same record again
- It will show you the value error
Answer: B) It will show you the value error
Explanation:
Inserting a Document with an already existing ID will result in a ValueError.