TinyDB – The one_of() Query For matching the subfield data, TinyDB provides a method called one_of(). This method searches a single category and gets at least one similar value. It will match if the field is contained in the provided list. Syntax The syntax of TinyDB one_of() is as follows − db.search(Query().field.one_of(list) Here, field represents […]
Category Archives: tinydb
TinyDB – Update Data TinyDB can store data in many formats and we can easily reterive the stored data using various methods. But sometimes, we need to update the data, for which we can use the update() method. For updating the database, we first need to create an instance of the Query class. You can […]
TinyDB Tutorial Job Search TinyDB is a lightweight database to operate various formats of the document. It is an easy and hustles free database to handle data of several applications. TinyDB is based on python code and supports clean API. This database does not need any coding language. It handles small projects without any configurations. […]