internal/

directory
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT

Directories

Path Synopsis
Package benchset installs the bench set for the tests that use its generated model.
Package benchset installs the bench set for the tests that use its generated model.
Conformance runner (Go).
Conformance runner (Go).
dbspec
apply command
Command go applies the chain of plans.json (tests/dbspec/plans.json; create-from-empty and rename-table-and-column) to one database with the Go engine (docs/spec/plans.md "Apply").
Command go applies the chain of plans.json (tests/dbspec/plans.json; create-from-empty and rename-table-and-column) to one database with the Go engine (docs/spec/plans.md "Apply").
compare command
Command go prints the Go dbspec results for all shared cases, stress documents, statement vectors, plan vectors, and Mermaid vectors in the line format of tests/dbspec/compare/check.mts.
Command go prints the Go dbspec results for all shared cases, stress documents, statement vectors, plan vectors, and Mermaid vectors in the line format of tests/dbspec/compare/check.mts.
database
Package database opens the databases of the dbspec tools by URI.
Package database opens the databases of the dbspec tools by URI.
introspect command
Command go introspects one database with the Go engine and writes it in the output format of tests/dbspec/introspect: the canonical document on stdout and the unsupported object lines "! kind<TAB>table<TAB>name", and on stderr a "reason ..." line per unsupported object and an "elapsed <ms>" line.
Command go introspects one database with the Go engine and writes it in the output format of tests/dbspec/introspect: the canonical document on stdout and the unsupported object lines "! kind<TAB>table<TAB>name", and on stderr a "reason ..." line per unsupported object and an "elapsed <ms>" line.
plancases
Package plancases reads the cases of tests/dbspec/plans.json, the plan vectors that the dbspec apply tool and the physical dialect tests share.
Package plancases reads the cases of tests/dbspec/plans.json, the plan vectors that the dbspec apply tool and the physical dialect tests share.
Package dialects holds the schema dialect fact probes of docs/spec/dialects.md.
Package dialects holds the schema dialect fact probes of docs/spec/dialects.md.
Package recipe runs the cases of a recipe (docs/spec/feature-coverage.md FCV-2 to FCV-4) in Go: the entry of each suite unit, TestRecipe<Recipe><Database>, starts its case with packages/go/testcase and calls Run with the recipe and the database, and Run runs each case as a subtest whose steps call the public API of the orm package that each op names.
Package recipe runs the cases of a recipe (docs/spec/feature-coverage.md FCV-2 to FCV-4) in Go: the entry of each suite unit, TestRecipe<Recipe><Database>, starts its case with packages/go/testcase and calls Run with the recipe and the database, and Run runs each case as a subtest whose steps call the public API of the orm package that each op names.
Package stmtevent is the statement event record of docs/operations/usage.md "Statement events", as the conformance vectors and the ORM tests write it.
Package stmtevent is the statement event record of docs/operations/usage.md "Statement events", as the conformance vectors and the ORM tests write it.
Go symbol extractor of tests/interfaces/check: prints the declarations of the Go files under the given roots as one JSON object of symbol to signature, read from Go's own syntax trees (go/parser, go/printer) without executing code.
Go symbol extractor of tests/interfaces/check: prints the declarations of the Go files under the given roots as one JSON object of symbol to signature, read from Go's own syntax trees (go/parser, go/printer) without executing code.
Package testdb creates the database that one database case uses alone (the case database).
Package testdb creates the database that one database case uses alone (the case database).
Package testmodel loads the runtime model of a dbspec document for the tests of the engine and the generator.
Package testmodel loads the runtime model of a dbspec document for the tests of the engine and the generator.

Jump to

Keyboard shortcuts

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