rowsread

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package rowsread is the typed half of pkg/config's record readers (pkg/config records.go): it loads each record from the generated tables of schemas/config (pkg/configwire), from the table wire or from a fixed batch, and hands pkg/config the record as the store reads it. pkg/config imports no generated table (pkg/configwire's golden test imports pkg/config), so a program that reads the typed forms imports this package, whose init installs the loads (config.InstallRecordWire), as a database/sql driver registers.

Every table here is a fixed table (the owner's rule S1); the base64 of an image is decoded by pkg/schemaread before a load is called (S2). A load refuses an image it cannot read as the store's record (a field pair out of name order, a pair named argv, a kind no word names) as malformed; the generated load refuses the rest by name, and clamps count as refusals.

Index

Constants

View Source
const ReasonNotOneRecord = "not_one_record"

ReasonNotOneRecord is the refusal of a fixed batch that holds other than the one record a single value is.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL