Skip to main content

Module typeguard

Module typeguard 

Source
Expand description

Type guard definitions for schemaless collection write-time validation.

Type guards are per-field type + value constraints on schemaless collections. They are stored in the collection catalog and evaluated on the Data Plane at write time, before WAL append.

Structsยง

TypeGuardFieldDef
A single field guard: type check + optional REQUIRED + optional CHECK expression.