Re:Against SQL
by dorgo on Saturday July 10, 2021 @09:16AM
(#27793154)
ORMs assume that they are the only access point to the database and cache result sets based on that. Disable the cache or keep in mind that bugs can happen due to that behaviour.
[ Parent
| on HN ]
Caching is orthogonal to ORMs;
https://old.reddit.com/r/programming/comments/2cnw8x/what_or...
No it's not, and that link isn't relevant. Some ORMs do have caching layers and when you use those ORMs you have to know how to invalidate the appropriate caches when you update without going through them.