DEV Community

Discussion on: ORM vs Query Builders vs Raw SQL

chidioguejiofor profile image
Chidiebere Ogujeiofor

Personally I think that ORMs can be used in places where you just want to do a simple query( which is usually most of your app queries).
When we have features that require really complex queries, ORMs become slow thus we can fall back to good old SQL( in just those queries). I actually think it's quite painful and slow (development time wise) to use raw SQL everywhere in your application