Database Service
This service lets your plugins get a knex
client hooked up to a database which is configured in your app-config
YAML files, for your persistence needs.
If there's no config provided in backend.database
then you will automatically get a simple in-memory SQLite 3 database for your plugin whose contents will be lost when the service restarts.
This service is scoped per plugin too, so that table names do not conflict across plugins.