TinyDB – Querying TinyDB has a rich set of queries. We have ways to construct queries: the first way resembles the syntax of ORM tools and the second is the traditional way of using the ”Where” clause. In this chapter, let”s understand these two ways of constructing a query in a TinyDB database. The First […]
Author Archives: user
TinyDB – Insert Data We have created the instance of the TinyDB and passed a JSON file to it where our data will be stored. It is now time to insert the items in our database. The data should be in the form of a Python dictionary. Syntax To insert an item, you can use […]
TinyDB – Introduction What is TinyDB? TinyDB, written in pure Python programming language, is a small and lightweight document-orineted database with no external dependencies. It provides simple APIs that makes it easy to use. We can use TinyDB database for small project applications without any configuration. TinyDB module, available as a third-party module for Python […]