Help us shape the future of Go! Take the 2026 Go Developer Survey

sql

module
v0.4.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
cmd
brevis-sql command
brevis-sql turns plain `.sql` files into tables and views, in dependency order, as an ordinary Brevis step.
brevis-sql turns plain `.sql` files into tables and views, in dependency order, as an ordinary Brevis step.
internal
check
Package check turns a model's `tests:` into SQL.
Package check turns a model's `tests:` into SQL.
connections
Package connections is the warehouses Brevis may reach, declared once.
Package connections is the warehouses Brevis may reach, declared once.
dialect
Package dialect is the part of building a model that differs per warehouse.
Package dialect is the part of building a model that differs per warehouse.
dialect/bigquery
Package bigquery builds models on Google BigQuery.
Package bigquery builds models on Google BigQuery.
dialect/dialecttest
Package dialecttest is the suite every dialect has to pass.
Package dialecttest is the suite every dialect has to pass.
dialect/dialecttest/leakprobe command
Command leakprobe is the other half of `scripts/leak-check.sh`: a harness that never cleans up, and the questions you ask BigQuery afterwards.
Command leakprobe is the other half of `scripts/leak-check.sh`: a harness that never cleans up, and the questions you ask BigQuery afterwards.
dialect/postgres
Package postgres builds models on PostgreSQL.
Package postgres builds models on PostgreSQL.
model
Package model reads one `.sql` file as a model: a header, a query, and the name the two of them make.
Package model reads one `.sql` file as a model: a header, a query, and the name the two of them make.
project
Package project reads a directory of models and works out the order.
Package project reads a directory of models and works out the order.
refs
Package refs answers one question about a query: which relations does it READ.
Package refs answers one question about a query: which relations does it READ.
run
Package run builds a project's models against a warehouse.
Package run builds a project's models against a warehouse.
serve
Package serve answers read-only questions about a warehouse, over HTTP, so the console never holds a warehouse credential.
Package serve answers read-only questions about a warehouse, over HTTP, so the console never holds a warehouse credential.
sqltok
Package sqltok splits SQL into tokens and does nothing else with them.
Package sqltok splits SQL into tokens and does nothing else with them.

Jump to

Keyboard shortcuts

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