I want to create a sequence in BerkeleyDB, that I can operate manually, but I don't know how to do this. I would like to have something similar to an SQL sequence object. I have found a class in the API docs, but it's unclear how to create one.
Any help is greatly appreciated!
The code below works fine:
All I had to do is set a configuration, and the sequence was created.