Implementation of ViewsApiClient that goes through the REST API

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

sqlClient: default

SQL API client to send all SQL query requests.

Methods

  • Creates a view using the given select statement

    Returns

    • Newly created view.

    Throws

    • Something went wrong while creating the view.

    Parameters

    • name: string

      Name of the view to create.

    • project: string

      Project the view will be created in.

    • select: string

      SELECT statement to use for initializing the view.

    Returns Promise<default>

  • Deletes a view from the project it belongs to.

    Throws

    • Something went wrong while deleting the view.

    Parameters

    • name: string

      Name of the view to delete.

    • project: string

      Project the view belongs to.

    Returns Promise<void>

Generated using TypeDoc