@perspective-dev/client
    Preparing search index...

    JavaScript-facing DuckDB SQL query builder.

    This struct wraps the Rust DuckDBSqlBuilder and exposes it to JavaScript via wasm_bindgen.

    Index

    Constructors

    Methods

    • Returns void

    • Returns void

    • Returns the SQL query to list all hosted tables.

      Returns string

    • Returns the SQL query to create a view from a table with the given configuration.

      Parameters

      • table_id: string
      • view_id: string
      • config: any

      Returns string

    • Returns the SQL query to describe a table's schema.

      Parameters

      • table_id: string

      Returns string

    • Returns the SQL query to get the row count of a table.

      Parameters

      • table_id: string

      Returns string

    • Returns the SQL query to validate an expression against a table.

      Parameters

      • table_id: string
      • expression: string

      Returns string

    • Returns the SQL query to get the column count of a view.

      Parameters

      • view_id: string

      Returns string

    • Returns the SQL query to delete a view.

      Parameters

      • view_id: string

      Returns string

    • Returns the SQL query to fetch data from a view with the given viewport.

      Parameters

      • view_id: string
      • config: any
      • viewport: any
      • schema: any

      Returns string

    • Returns the SQL query to describe a view's schema.

      Parameters

      • view_id: string

      Returns string

    • Returns the SQL query to get the row count of a view.

      Parameters

      • view_id: string

      Returns string