DatabaseService.getClient()
Home > @backstage/backend-plugin-api
> DatabaseService
> getClient
getClient provides backend plugins database connections for itself.
The purpose of this method is to allow plugins to get isolated data stores so that plugins are discouraged from database integration.
Signature:
getClient(): Promise<Knex>;
Returns:
Promise<Knex>