Matt Kingshott on Twitter: "🔥 #Laravel Tip: Eloquent provides a 'withCount' method, but it uses a sub-query, which can be up to 8 times slower (or more in some cases) than using
![eloquent - Laravel save to database with multiple tables having many relations to a table - Stack Overflow eloquent - Laravel save to database with multiple tables having many relations to a table - Stack Overflow](https://i.stack.imgur.com/CRkXl.png)
eloquent - Laravel save to database with multiple tables having many relations to a table - Stack Overflow
Bug 5.5] Eloquent returns all records using Model::where('any_text_field', 0)->get() · Issue #21741 · laravel/framework · GitHub
![Storing and retrieving data from database tables using eloquent in Laravel and sending to views. | by Mubasheer Shaik | Medium Storing and retrieving data from database tables using eloquent in Laravel and sending to views. | by Mubasheer Shaik | Medium](https://miro.medium.com/max/1400/1*qO_wLspKbpUAM8iHkZU59A.png)