I just wrote a SQL query for the first time in... 7 years?
Any ORM that provides a query builder should also have a good story for working with raw SQL. I think there's places where both are appropriate personally
-
-
e.g. https://github.com/rust-lang/crates.io/blob/241d8dfcc2cc973e81b7e61d72ebe335e343f28a/src/models/krate_reverse_dependencies.sql … will always make more sense as raw SQL than using a query builder, but https://github.com/rust-lang/crates.io/blob/241d8dfcc2cc973e81b7e61d72ebe335e343f28a/src/controllers/krate/search.rs#L34 … was a nightmare when it was manually concatenating SQL strings.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.