The TinyDB forum is finding a new at GitHub discussions. Although the content here will remain as an archive, the forum will be put into read-only mode in the next weeks.
return db.all() I use this query, but i want to get the doc_id.
Hey Sallyzhu ,
you could use something like this to get the document ID:
docs = db.all() print(docs[0].doc_id)