stmtevent

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package stmtevent is the statement event record of docs/operations/usage.md "Statement events", as the conformance vectors and the ORM tests write it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	SQL         string   `json:"sql"`
	Binds       []any    `json:"binds"`
	Kind        string   `json:"kind"`
	Tables      []string `json:"tables"`
	Transaction *int64   `json:"transaction"`
	Error       *string  `json:"error"`
}

Record is one statement event. Transaction is the number counted from 1 again in order of first appearance within the vector, and null outside one. Error is the error code of the statement, or null.

Jump to

Keyboard shortcuts

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