tinydb delete record code example
Example 1: tinydb delete record
database.remove(where('key') == 1)
Example 2: tinydb add table
from tinydb import TinyDB
db = TinyDB('database.json')
table = TinyDB.table(db, 'users')
database.remove(where('key') == 1)
from tinydb import TinyDB
db = TinyDB('database.json')
table = TinyDB.table(db, 'users')