Directories
¶
| Path | Synopsis |
|---|---|
|
bench
|
|
|
seedaes
command
seedaes fills the AES columns of the bench battle table on PostgreSQL and SQLite with the authenticated host format used by every client.
|
seedaes fills the AES columns of the bench battle table on PostgreSQL and SQLite with the authenticated host format used by every client. |
|
clients
|
|
|
go/model
Package model holds the Go models generated from schema/schema.json for the repository's tests, examples, and benchmarks.
|
Package model holds the Go models generated from schema/schema.json for the repository's tests, examples, and benchmarks. |
|
go/orm
Package orm is the Go client runtime.
|
Package orm is the Go client runtime. |
|
go/orm/pg
Package pg registers the PostgreSQL driver with the executor.
|
Package pg registers the PostgreSQL driver with the executor. |
|
go/orm/sqlite
Package sqlite registers the SQLite driver with the executor.
|
Package sqlite registers the SQLite driver with the executor. |
|
cmd
|
|
|
ormgen
command
|
|
|
Package contracts loads the common interface manifest, validates its native adapters, and generates the component documents from it.
|
Package contracts loads the common interface manifest, validates its native adapters, and generates the component documents from it. |
|
Package engine is the query planner: IR in, Plan out.
|
Package engine is the query planner: IR in, Plan out. |
|
dialect
Package dialect renders the database-specific pieces of SQL.
|
Package dialect renders the database-specific pieces of SQL. |
|
ir
Package ir defines the wire form clients send (JSON, docs/protocol.md) and validates it against the manifest.
|
Package ir defines the wire form clients send (JSON, docs/protocol.md) and validates it against the manifest. |
|
plan
Package plan is what executors run: SQL text with bind slots and an assembly spec.
|
Package plan is what executors run: SQL text with bind slots and an assembly spec. |
|
planner
Package planner turns a validated IR request into a Plan.
|
Package planner turns a validated IR request into a Plan. |
|
schema
Package schema turns the hand-written Mermaid erDiagram (docs/schema.md) into the manifest the engine and generators consume.
|
Package schema turns the hand-written Mermaid erDiagram (docs/schema.md) into the manifest the engine and generators consume. |
|
examples
|
|
|
complex/go
command
A complex statement in every client language, one JSON document.
|
A complex statement in every client language, one JSON document. |
|
thin-slice/go
command
Thin-slice demo (Go): one statement in every client language, one JSON.
|
Thin-slice demo (Go): one statement in every client language, one JSON. |
|
Package generator exposes the Go model generator to other programs.
|
Package generator exposes the Go model generator to other programs. |
|
internal
|
|
|
ormgen
ormgen ddl: manifest → CREATE TABLE statements for one dialect (docs/dialects.md).
|
ormgen ddl: manifest → CREATE TABLE statements for one dialect (docs/dialects.md). |
|
tests
|
|
|
conformance/check
command
Conformance checker: runs the client runners (or reads their outputs) and compares each vector's statements and result against tests/conformance/vectors.json after canonicalizing the JSON (sorted keys, shortest numbers).
|
Conformance checker: runs the client runners (or reads their outputs) and compares each vector's statements and result against tests/conformance/vectors.json after canonicalizing the JSON (sorted keys, shortest numbers). |
|
conformance/runner_go
command
Conformance runner (Go).
|
Conformance runner (Go). |
|
interfaces/check
command
Interface checks compare native declarations to a reviewed symbol manifest and enforce common method contracts independently of the generated source.
|
Interface checks compare native declarations to a reviewed symbol manifest and enforce common method contracts independently of the generated source. |
|
schema/record
command
Records the schema tool results that every language's schema tools must reproduce: the manifest, the DDL of each dialect, the migration between manifests, and the migration plan file, for the Mermaid fixtures of the Go tests of the client, the engine, and the tools, and the bench schema.
|
Records the schema tool results that every language's schema tools must reproduce: the manifest, the DDL of each dialect, the migration between manifests, and the migration plan file, for the Mermaid fixtures of the Go tests of the client, the engine, and the tools, and the bench schema. |
Click to show internal directories.
Click to hide internal directories.