method BigtableAdapter.prototype.rawQuery
BigtableAdapter.prototype.rawQuery<T>(
_sql: string,
_params?: unknown[]
): Promise<T[]>

Refuses the raw query by name.

Bigtable has no query language reachable through query(sql, params) — its data plane is ReadRows, MutateRow and CheckAndMutateRow. An application reaching for GoogleSQL uses the injected client directly.

It rejects, never throws synchronously.

Type Parameters

Parameters

_sql: string
optional
_params: unknown[]

Return Type

Promise<T[]>

Usage

import { BigtableAdapter } from "database-plugin/src/index.ts";