Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't agree with this being a cons

> Requires knowledge about SQL & your database

For me that's a pros, because it is transferable knowledge.

And

> No type safety

Is a bummer, if you could check at compile time or some other way that your queries are valid it will be cool, in rust is a crate that does exactly that sqlx[0], and besides sql being verbose I found so easy and enjoyable to work with, it's so easy to know exactly what the query does, with ORM's is easy to have a query that's hard to know what does and the only way to be sure is running and printing the query.

[0] https://crates.io/crates/sqlx




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: