ChangeStreamRecord
import type { ChangeStreamRecord } from "https://googleapis.deno.dev/v1/spanner:v1.ts";
Spanner Change Streams enable customers to capture and stream out changes to their Spanner databases in real-time. A change stream can be created with option partition_mode='IMMUTABLE_KEY_RANGE' or partition_mode='MUTABLE_KEY_RANGE'. This message is only used in Change Streams created with the option partition_mode='MUTABLE_KEY_RANGE'. Spanner automatically creates a special Table-Valued Function (TVF) along with each Change Streams. The function provides access to the change stream's records. The function is named READ_ (where is the name of the change stream), and it returns a table with only one column called ChangeRecord.
§Properties
Data change record describing a data change for a change stream partition.
Heartbeat record describing a heartbeat for a change stream partition.
Partition end record describing a terminated change stream partition.
Partition event record describing key range changes for a change stream partition.
Partition start record describing a new change stream partition.