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?

  1. It will insert the same record again
  2. 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.


Comments and Discussions!









Copyright © 2023 www.includehelp.com. All rights reserved.