dbspec/

directory
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT

Directories

Path Synopsis
Command go applies the chain of plan-cases.json (tests/dbspec/plan-cases.json; its cases are read from that file, 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 plan-cases.json (tests/dbspec/plan-cases.json; its cases are read from that file, create-from-empty and rename-table-and-column) to one database with the Go engine (docs/spec/plans.md "Apply").
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.
Package database opens the databases of the dbspec tools by URI.
Package database opens the databases of the dbspec tools by URI.
Package ddlcases reads the vectors of tests/dbspec/ddl.json, the rendered statements and behavior steps that the physical dialect tests and the client tests share.
Package ddlcases reads the vectors of tests/dbspec/ddl.json, the rendered statements and behavior steps that the physical dialect tests and the client tests share.
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.
Package plancases reads the cases of tests/dbspec/plan-cases.json, the recipe of the plan cases, and their physical data in tests/dbspec/plans-physical.json, which the dbspec apply tool and the physical dialect tests share.
Package plancases reads the cases of tests/dbspec/plan-cases.json, the recipe of the plan cases, and their physical data in tests/dbspec/plans-physical.json, which the dbspec apply tool and the physical dialect tests share.
Package skeleton writes the part of a dbspec document that Mermaid carries, which the Go recipe helper and the dbspec compare runner both check a Mermaid round trip by.
Package skeleton writes the part of a dbspec document that Mermaid carries, which the Go recipe helper and the dbspec compare runner both check a Mermaid round trip by.

Jump to

Keyboard shortcuts

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