Technology Radar
Published : Mar 29, 2022
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar.
Understand more
Mar 2022
Assess
sqlc 是一个特别的编译器,它可以根据 SQL 生成类型安全并且风格自然的 Go 代码。与其他基于对象关系映射 (ORM) 的方法不同,sqlc 允许你根据需要编写原生的 SQL。一旦 sqlc 被调用,它会检查 SQL 代码的正确性并生成高性能的 Go 代码,这些代码可以直接被应用程序的其它部分调用。凭借对 PostgreSQL 和 MySQL 的稳定支持,sqlc 值得我们一试,因此我们鼓励你对其进行评估。