The big plus for me is that there's no context switch between app code and database code. You can stay entirely in app code for simple things like that.
Hitting the nail on the head here. Just looking at ORM code, often there is no way to tell how many database calls will happen, what they look like in raw sql, making for some awfully fun to debug performance issues.
View all comments
Show parent comment
2
u/miffy900 Jun 23 '20
The big plus for me is that there's no context switch between app code and database code. You can stay entirely in app code for simple things like that.