I hear strong opinions among developers for both ways of working with relational database.
Common reasons in favour of raw SQL:
-
We can optimise queries for performance. ORMs can be limited in ways they can be customised, and writing raw SQL allows more control over the craft.
-
We have less …