|
|
|
|
|
by syastrov
2277 days ago
|
|
This is actually something I thought of doing, but you actually did it. It would be amazing if you can find a way to open-source at least part of it. But my application was to be able to use raw SQL queries instead of an ORM in an application. By statically analyzing the SQL queries, then you can, in a statically typed language, automatically type-check the parameters to and results of the queries.
Combining that and an IDE like the Jetbrains ones, which provide intelligent SQL autocompletion/refactoring, then tbh., I think it would beat an ORM in terms of ergonomics. Some people like LINQ or various Haskell/Scala ORMs because they are type-safe. This would be totally natural to those who know SQL without the downsides of being totally unanalyzed and type-checked. It would be like the clojure library called hugs, but with static type-checking. |
|