runtime

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoResults      = errors.New("no results")
	ErrTooManyResults = errors.New("expected one result, got many")
	ErrInvalidQuery   = errors.New("invalid query")
	ErrFailedBeginTx  = errors.New("failed to begin transaction")
	ErrFailedCommitTx = errors.New("failed to commit transaction")
)

Errors shared by dialect runtimes.

Functions

func IsZeroValue

func IsZeroValue(v any) bool

IsZeroValue returns whether v should be treated as absent by generated CRUD validation. Nullable structs are checked by a Valid boolean field regardless of presence of other fields.

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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