Session
import type { Session } from "https://googleapis.deno.dev/v1/spanner:v1.ts";
A session in the Cloud Spanner API.
§Properties
Output only. The approximate timestamp when the session is last used. It's typically earlier than the actual last use time.
The labels for the session. * Label keys must be between 1 and 63
characters long and must conform to the following regular expression:
[a-z]([-a-z0-9]*[a-z0-9])?
. * Label values must be between 0 and 63
characters long and must conform to the regular expression
([a-z]([-a-z0-9]*[a-z0-9])?)?
. * No more than 64 labels can be associated
with a given session. See https://goo.gl/xmQnxf for more information on and
examples of labels.
Optional. If true
, specifies a multiplexed session. Use a multiplexed
session for multiple, concurrent read-only operations. Don't use them for
read-write transactions, partitioned reads, or partitioned queries. Use
sessions.create
to create multiplexed sessions. Don't use
BatchCreateSessions to create a multiplexed session. You can't delete or
list multiplexed sessions.