Options
All
  • Public
  • Public/Protected
  • All
Menu

Describes information used to connect to a specific database server using a specific database adapter.

DbConnectionInfo objects conform to JSON format in order to be serializable (see interface DatabaseOptions).

Hierarchy

  • DbConnectionInfo

Index

Properties

adapter

adapter: string

The name of the adapter used to interact with a specific database server.

The name of the adapter specified here must be associated with a built-in or custom adapter type by using the DbAdapterFactory.registerAdapter method or by specifying the adapter type on first use when creating a new DbContext or DbLocalContext.

Optional adapterOptions

adapterOptions?: any

Adapter-specific configuration options (optional).

Optional connectionOptions

connectionOptions?: any

Adapter-specific connection options (optional). Use alternatively to or in combination with connectionString.

Optional connectionString

connectionString?: string

An adapter-specific connection string or Url containing connection details (optional). Use alternatively to or in combination with connectionOptions.

Generated using TypeDoc