sqlc generates type-safe code from SQL. Here's how it works:
Check out an interactive example to see it in action, and the introductory blog post for the motivation behind sqlc.
docker pull sqlc/sqlc
Run sqlc using docker run:
docker run --rm -v $(pwd):/src -w /src sqlc/sqlc generate
Run sqlc using docker run in the Command Prompt on Windows (cmd):
docker run --rm -v "%cd%:/src" -w /src sqlc/sqlc generate
Content type
Image
Digest
sha256:b8d1092c7…
Size
38.2 MB
Last updated
7 months ago
Requires Docker Desktop 4.37.1 or later.