Skip to main content

Module value

Module value 

Source
Expand description

Typed representation of a single generated value.

Generators produce GeneratedValue rather than writing SQL literals directly, so downstream stages (formatting, redaction interop, planner arithmetic) can inspect and combine values without re-parsing text. Money and other fixed-point quantities are represented as integer minor units (e.g. cents) plus a scale, so planner arithmetic never touches floats.

Enums§

GenerateError
Errors returned while running a compiled generator or modifier.
GeneratedValue
A single value produced by a generator, independent of any target SQL dialect’s literal syntax.