Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
blipWER
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
blipWER
2y ago
Library is driver agnostic. Jet cli code generator indeed uses mattn/go-sqlite3, but you can run your queries using any driver you prefer. You can also customize jet generator and use any other driver for code generation.
2.
▲
by
blipWER
2y ago
SQLC is good for basic staff, which you should be able to achieve with any ORM. For anything more complicated it fails miserably.
3.
▲
by
blipWER
2y ago
If you use jet generated models mapping(including joins) is implicitly type safe, since sql builder and models are generated from the same database schema. This doesn't apply for custom models, but custom models are rarely needed.