TinyDB – Default Table TinyDB provides a default table in which it automatically saves and modifies the data. We can also set a table as the default table. The basic queries, methods, and operations will work on that default table. In this chapter, let”s see how we can see the tables in a database and […]
Author Archives: user
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 […]
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 […]