You can use DB0 api with the connector of your own choice.
Currently supported connectors:
Custom Connectors
If there is no built-in connector yet for a SQL database integration, you can create a custom one by yourself.
Bun SQlite
Connect DB0 to Bun SQLite