▲ | Ozzie_osman 5 days ago | |
There are definitely examples of when you want to do joins in the application. For example, you may want to (or have the option to) vertically partition your database, or use different data stores. The app layer is usually stateless and can scale perpetually, but the database might be a bottleneck. Joining in the database over the application is a great default. But I wouldn't say "never join in the application code". |