@
cougar
Please don't consider my post negatively or that it would mean I don't want to help.
The explanation and the vision of your wish is so clear that it looked to me beeing a good project to begin with to learn the language, learning by doing. It expresses my own experience.
My background is mechanical engineering and not computer science.
About two years ago I knew almost nothing about databases.
I had a look at Erels' DBUtils module, found it a bit complicated, and then, because I like to know what I'm doing, I studied the basics of SQLite. The SQLiteExample program was the result trying to make it relatively 'universal'.
If you really need a simpler example and others are interested too I can write one which could be added to the User's Guide.