sqlc
source link: https://console.dev/tools/sqlc
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Our review
What we like
Generates idiomatic Go code based on your database schema and desired queries. Translates SQL to type-safe Go code. Interface to the generated code feels like proper Go. Can run static analysis on schema changes to detect breaking changes across the codebase. Useful tools to help ensure codegen is up to date and highlights SQL anti-patterns. Open source.
What we don't like
No support for cloud databases like BigQuery or ClickHouse (there is currently a waitlist). Primarily supports Go, but has some experimental plugins for Python and TypeScript.
Reviewed: 2024-05-02
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK