Correct Answer : A data type used to store text
Explanation : In TinyDB, a document is a collection of data fields and values that are stored together as a single entity. Documents can be added, retrieved, and deleted from the database.
Correct Answer : {“field1 = value1 and field2 = value2”}
Explaination : To retrieve documents where multiple data fields meet certain criteria, developers can use the {“field1 = value1 and field2 = value2”} syntax in a TinyDB query.
Correct Answer : {“field1 = value1 or field2 = value2”}
Explaination : To retrieve documents where multiple data fields meet at least one of several possible criteria, developers can use the {“field1 = value1 or field2 = value2”} syntax in a TinyDB query.
Correct Answer : {“field1 is not null”}
Explaination : To retrieve documents where a specific data field is not null, developers can use the {“field1 is not null”} syntax in a TinyDB query.