An example of a decent API for Database access would be the
better-sqlite3 module, this is specifically for node, but the interface could be adapted for Synchronet.
The most striking example of where this could be useful would be the
JSON db service. Though there are others, especially external modules
and potentially other uses over time.