Auto-generation of ID records

Hi all!
When working with TinyDB, how to indicate that when adding a new entry, you need to generate a numerical identifier to the ID tag?

Thank you!

Keep a counter in your tinydb, add one to the counter each time you create a new entry.

In TinyDB there is no functionality as in SQL Auto Increment?

You are correct, but simple enough to use the method I suggested

what about using the local SQLite database?
there you can have an autoincrement...
for my sqlite extension, which follows the KISS principle see here

Taifun