TinyDB – Quick Guide 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 […]
TinyDB – Extensions Given below is a set of TinyDB extensions that can be used for various operations − Sr.No. Operation & Description 1 TinyDBTimestamps It is an experimental extension that can be used to automatically add and update at timestamps to TinyDB documents. 2 aiotinydb It is a stable extension that enables us to […]
TinyDB – Extend TinyDB It is possible to extend TinyDB and modify its behaviour. There are four ways to do so − Custom middleware Custom storages Hooks and overrides Subclassing TinyDB and table In this chapter, let”s understand each of these methods in detail. Custom Middleware Sometimes the user does not want to write a […]