Represents a MindsDB database and all supported operations.

Hierarchy

  • default

Constructors

Properties

Methods

Constructors

  • Parameters

    • databasesApiClient: default

      API client to use for executing database operations.

    • name: string

      Name of the database.

    • type: string

      Type of the database (e.g. project, data).

    • engine: undefined | string

      Engine used to create the database (e.g. postgres).

    Returns default

Properties

databasesApiClient: default

API client to use for executing database operations.

engine: undefined | string

Engine used to create the database (e.g. postgres).

name: string

Name of the database.

type: string

Type of the database (e.g. project, data).

Methods

  • Deletes this database.

    Throws

    • Something went wrong deleting the database.

    Returns Promise<void>

Generated using TypeDoc