Implementation of DatabasesApiClient that goes through the REST API.

Hierarchy

Constructors

Properties

sqlClient: default

SQL API client to send all SQL query requests.

Methods

  • Creates a database with the given name, engine, and parameters.

    Returns

    • Newly created database.

    Throws

    • Something went wrong creating the database.

    Parameters

    • name: string

      Name of the database to be created.

    • Optional engine: string

      Optional name of the database engine.

    • Optional params: Record<string, JsonValue>

      Optional parameters used to connect to the database (e.g. user, password).

    Returns Promise<default>

Generated using TypeDoc