Skip to main content

DatabaseService

Home > @backstage/backend-plugin-api > DatabaseService

Manages access to databases that plugins get.

See the service documentation for more details.

Signature:

export interface DatabaseService 

Properties

Property

Modifiers

Type

Description

migrations?

{ skip?: boolean; }

(Optional) This property is used to control the behavior of database migrations.

Methods

Method

Description

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.