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

CloudSpannerProperties

import type { CloudSpannerProperties } from "https://googleapis.deno.dev/v1/bigqueryconnection:v1.ts";

Connection properties specific to Cloud Spanner.

interface CloudSpannerProperties {
database?: string;
databaseRole?: string;
maxParallelism?: number;
useDataBoost?: boolean;
useParallelism?: boolean;
useServerlessAnalytics?: boolean;
}

§Properties

§
database?: string
[src]

Cloud Spanner database in the form `project/instance/database'

§
databaseRole?: string
[src]

Optional. Cloud Spanner database role for fine-grained access control. The Cloud Spanner admin should have provisioned the database role with appropriate permissions, such as SELECT and INSERT. Other users should only use roles provided by their Cloud Spanner admins. For more details, see [About fine-grained access control] (https://cloud.google.com/spanner/docs/fgac-about). REQUIRES: The database role name must start with a letter, and can only contain letters, numbers, and underscores.

§
maxParallelism?: number
[src]

Allows setting max parallelism per query when executing on Spanner independent compute resources. If unspecified, default values of parallelism are chosen that are dependent on the Cloud Spanner instance configuration. REQUIRES: use_parallelism must be set. REQUIRES: use_data_boost must be set.

§
useDataBoost?: boolean
[src]

If set, the request will be executed via Spanner independent compute resources. REQUIRES: use_parallelism must be set.

§
useParallelism?: boolean
[src]

If parallelism should be used when reading from Cloud Spanner

§
useServerlessAnalytics?: boolean
[src]

Deprecated: prefer use_data_boost instead. If the serverless analytics service should be used to read data from Cloud Spanner. Note: use_parallelism must be set when using serverless analytics.