Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 920 Bytes

File metadata and controls

23 lines (18 loc) · 920 Bytes

dbression examples

Tiny, self-contained .test.md suites that double as living documentation for dbression's Markdown format. Each example renders nicely on GitHub — open any file and you can read it as prose, then run it as a test.

Example What it shows
01-hello/ The smallest possible test: a single Query
02-stored-procedure/ InsertExecute ProcedureQuery, with >>capture and <<read
03-schema-drift/ Inspect Table as a guard against unintended schema changes

Running

Every example needs a working connection.properties next to its _root.wiki (point it at any Postgres for the first two; the schema-drift demo expects a specific table — see that example's README).

# Quickstart against your own Postgres:
export POSTGRES_PASSWORD=...
dbression run examples/01-hello/