# Packages

No description provided by the author
Package spanner is an auto-generated package for the Cloud Spanner API.

# Functions

AllKeys returns a KeySet that represents all Keys of a table or a index.
ApplyAtLeastOnce returns an ApplyOption that removes replay protection.
Delete removes the rows described by the KeySet from the table.
ErrCode extracts the canonical error code from a Go error.
ErrDesc extracts the Cloud Spanner error description from a Go error.
ExactStaleness returns a TimestampBound that will perform reads and queries at an exact staleness.
Insert returns a Mutation to insert a row into a table.
InsertMap returns a Mutation to insert a row into a table, specified by a map of column name to value.
InsertOrUpdate returns a Mutation to insert a row into a table.
InsertOrUpdateMap returns a Mutation to insert a row into a table, specified by a map of column to value.
InsertOrUpdateStruct returns a Mutation to insert a row into a table, specified by a Go struct.
InsertStruct returns a Mutation to insert a row into a table, specified by a Go struct.
KeySets returns the union of the KeySets.
MaxStaleness returns a TimestampBound that will perform reads and queries at a time chosen to be at most "d" stale.
MinReadTimestamp returns a TimestampBound that bound that will perform reads and queries at a time chosen to be at least "t".
NewClient creates a client to a database.
NewClientWithConfig creates a client to a database.
NewRow returns a Row containing the supplied data.
NewStatement returns a Statement with the given SQL and an empty Params map.
ReadTimestamp returns a TimestampBound that will peform reads and queries at the given time.
Replace returns a Mutation to insert a row into a table, deleting any existing row.
ReplaceMap returns a Mutation to insert a row into a table, deleting any existing row.
ReplaceStruct returns a Mutation to insert a row into a table, deleting any existing row.
StrongRead returns a TimestampBound that will perform reads and queries at a timestamp where all previously committed transactions are visible.
Update returns a Mutation to update a row in a table.
UpdateMap returns a Mutation to update a row in a table, specified by a map of column to value.
UpdateStruct returns a Mutation to update a row in a table, specified by a Go struct.

# Constants

AdminScope is the scope for Cloud Spanner Admin APIs.
ClosedClosed is closed on the left and the right: both keys are included.
ClosedOpen is closed on the left and open on the right: the Start key is included, the End key is excluded.
OpenClosed is open on the left and closed on the right: the Start key is excluded, the End key is included.
OpenOpen is open on the left and the right: neither key is included.
Scope is the scope for Cloud Spanner Data API.

# Variables

CommitTimestamp is a special value used to tell Cloud Spanner to insert the commit timestamp of the transaction into a column.
OpenSessionCount is a measure of the number of sessions currently opened.
OpenSessionCountView is a view of the last value of OpenSessionCount.

# Structs

BatchReadOnlyTransaction is a ReadOnlyTransaction that allows for exporting arbitrarily large amounts of data from Cloud Spanner databases.
BatchReadOnlyTransactionID is a unique identifier for a BatchReadOnlyTransaction.
Client is a client for reading and writing data to a Cloud Spanner database.
ClientConfig has configurations for the client.
Error is the structured error returned by Cloud Spanner client.
GenericColumnValue represents the generic encoded value and type of the column.
A KeyRange represents a range of rows in a table or index.
A Mutation describes a modification to one or more Cloud Spanner rows.
NullBool represents a Cloud Spanner BOOL that may be NULL.
NullDate represents a Cloud Spanner DATE that may be null.
NullFloat64 represents a Cloud Spanner FLOAT64 that may be NULL.
NullInt64 represents a Cloud Spanner INT64 that may be NULL.
NullRow represents a Cloud Spanner STRUCT that may be NULL.
NullString represents a Cloud Spanner STRING that may be NULL.
NullTime represents a Cloud Spanner TIMESTAMP that may be null.
Partition defines a segment of data to be read in a batch read or query.
PartitionOptions specifies options for a PartitionQueryRequest and PartitionReadRequest.
ReadOnlyTransaction provides a snapshot transaction with guaranteed consistency across reads, but does not allow writes.
ReadOptions provides options for reading rows from a database.
ReadWriteTransaction provides a locking read-write transaction.
A Row is a view of a row of data returned by a Cloud Spanner read.
RowIterator is an iterator over Rows.
SessionPoolConfig stores configurations of a session pool.
A Statement is a SQL query with named parameters.
TimestampBound defines how Cloud Spanner will choose a timestamp for a single read/query or read-only transaction.

# Interfaces

A KeySet defines a collection of Cloud Spanner keys and/or key ranges.

# Type aliases

An ApplyOption is an optional argument to Apply.
A Key can be either a Cloud Spanner row's primary key or a secondary index key.
KeyRangeKind describes the kind of interval represented by a KeyRange: whether it is open or closed on the left and right.