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

Mod

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

A mod describes all data changes in a watched table row.

interface Mod {
keys?: ModValue[];
newValues?: ModValue[];
oldValues?: ModValue[];
}

§Properties

§
keys?: ModValue[]
[src]

Returns the value of the primary key of the modified row.

§
newValues?: ModValue[]
[src]

Returns the new values after the change for the modified columns. Always empty for DELETE.

§
oldValues?: ModValue[]
[src]

Returns the old values before the change for the modified columns. Always empty for INSERT, or if old values are not being captured specified by value_capture_type.