bigquery-client
Version:
A feature-rich Node.js client for Google BigQuery with support for CRUD operations, transactions, query building, and advanced features like aggregate functions, pagination, and logging.
19 lines (18 loc) • 424 B
TypeScript
import { BigQueryClient } from "./BigQueryClient";
export declare class Transaction {
private client;
private queries;
constructor(client: BigQueryClient);
/**
*
* @param query query to run
* @param params query params
*/
addQuery(query: string, params?: any[]): void;
/**
* Execute all queries in the transaction
* @returns
*
*/
excute(): Promise<void>;
}