Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Query

import type { Query } from "https://googleapis.deno.dev/v1/connectors:v2.ts";

A wrapper around the SQL query statement. This is needed so that the JSON representation of ExecuteSqlQueryRequest has the following format: {"query":"select *"}.

interface Query {
maxRows?: bigint;
query?: string;
queryParameters?: QueryParameter[];
timeout?: bigint;
}

§Properties

§
maxRows?: bigint
[src]

Sets the limit for the maximum number of rows returned after the query execution.

§
query?: string
[src]

Required. Sql query to execute.

§
queryParameters?: QueryParameter[]
[src]

In the struct, the value corresponds to the value of query parameter and date type corresponds to the date type of the query parameter.

§
timeout?: bigint
[src]

Sets the number of seconds the driver will wait for a query to execute.