3 ms·
Active record is a great pattern. Where things fall apart is when you want to do things like a subquery on a select field.
by wolco 7y ago
Active record is a great pattern.
Where things fall apart is when you want to do things like a subquery on a select field.
- dsego 7y agoLike this? https://laravel.com/docs/6.x/eloquent#advanced-subqueries https://laravel.com/docs/6.x/eloquent#advanced-subqueries Seems more like a limitation of particular implementation than a fundamental problem with the pattern.