He should actually have SQLite support, probably more important the MySQL support.
The current add-on cache implementation uses SQLite. He also uses some functions to be called to alter the cache. However, he haven't added any direct functionality either because he doesn't like people messing with his cache(He doesn't want to you touch anything in the code anyway), or it was a pain implementing it so it work with a script.
I would not see it as a problem as TCPObject is socket based and an SQLite call should be socket based as it should be in a different thread(Correct me if I'm wrong).
More over, an example if Badspot would ever dare to implement such a functionality:
SQLite
{
methods:
connect(host, user, pass, db)
close()
query(query)
result()
clearResults()
}
The connect method could be stripped everything but db if Badspot only wants it to be local. I would prefer it like this though.