Abstract class outlining View API operations supported by the SDK.

Hierarchy

Constructors

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>

  • Gets all views for the given project.

    Returns

    • All views for the given project name.

    Parameters

    • project: string

      Project name to get all views from.

    Returns Promise<default[]>

Generated using TypeDoc