Directories
¶
| Path | Synopsis |
|---|---|
|
blogschema
Package blogschema is the schema definition for the blog example: the single source of truth that an author, or an agent, edits.
|
Package blogschema is the schema definition for the blog example: the single source of truth that an author, or an agent, edits. |
|
Package computed shows how to get a derived value — one the row does not store — out of Postgres through sqlb.
|
Package computed shows how to get a derived value — one the row does not store — out of Postgres through sqlb. |
|
Package evolve is a schema that changed five times, and the machinery that kept the changes honest.
|
Package evolve is a schema that changed five times, and the machinery that kept the changes honest. |
|
evolveschema
Package evolveschema is the schema of a support desk, and the subject of docs/refactoring-a-database.md.
|
Package evolveschema is the schema of a support desk, and the subject of docs/refactoring-a-database.md. |
|
Package recipes is a collection of small, single-topic examples: one file per aspect of sqlb, each answering a question someone actually has.
|
Package recipes is a collection of small, single-topic examples: one file per aspect of sqlb, each answering a question someone actually has. |
|
Package withsqlc demonstrates sqlb and sqlc over one schema.
|
Package withsqlc demonstrates sqlb and sqlc over one schema. |
|
gen
command
Command gen renders the blog schema as the plain `schema.sql` that sqlc reads, which is the mechanical half of the sqlb/sqlc pairing story: one schema declaration, two consumers.
|
Command gen renders the blog schema as the plain `schema.sql` that sqlc reads, which is the mechanical half of the sqlb/sqlc pairing story: one schema declaration, two consumers. |
Click to show internal directories.
Click to hide internal directories.