Matt Kingshott on Twitter: "🔥 #Laravel Tip: Eloquent's 'whereExists' method is useful, but it relies on sub queries. A more efficient way to run the same query is an advanced inner join.
![Laravel Eloquent Query | Order by using multiple columns and manually array field in Laravel? | by Raviya Technical | Raviya Technical | Medium Laravel Eloquent Query | Order by using multiple columns and manually array field in Laravel? | by Raviya Technical | Raviya Technical | Medium](https://miro.medium.com/max/1400/1*XLHobGviEt2j4TxInk82Hw.png)
Laravel Eloquent Query | Order by using multiple columns and manually array field in Laravel? | by Raviya Technical | Raviya Technical | Medium
![mysql - Laravel Many-to-Many (on the same users table/Model): Query scopes to include related for the specified user - Stack Overflow mysql - Laravel Many-to-Many (on the same users table/Model): Query scopes to include related for the specified user - Stack Overflow](https://i.stack.imgur.com/qPhbN.png)
mysql - Laravel Many-to-Many (on the same users table/Model): Query scopes to include related for the specified user - Stack Overflow
![Matt Kingshott on Twitter: " #Laravel Tip: Eloquent's 'whereExists' method is useful, but it relies on sub queries. A more efficient way to run the same query is an advanced inner join. https://t.co/9GUf6tOecD" / Twitter Matt Kingshott on Twitter: " #Laravel Tip: Eloquent's 'whereExists' method is useful, but it relies on sub queries. A more efficient way to run the same query is an advanced inner join. https://t.co/9GUf6tOecD" / Twitter](https://pbs.twimg.com/media/FbUUtgbXEAMf1D1.jpg:large)
Matt Kingshott on Twitter: " #Laravel Tip: Eloquent's 'whereExists' method is useful, but it relies on sub queries. A more efficient way to run the same query is an advanced inner join. https://t.co/9GUf6tOecD" / Twitter
![mysql - how to get child and subchild of any parent user e.g, want to get nested child in php laravel - Stack Overflow mysql - how to get child and subchild of any parent user e.g, want to get nested child in php laravel - Stack Overflow](https://i.stack.imgur.com/BrVVi.png)
mysql - how to get child and subchild of any parent user e.g, want to get nested child in php laravel - Stack Overflow
![Use Laravel 5.3 Query Builder to replicate Eloquent ORM data structure for Sub Query - Stack Overflow Use Laravel 5.3 Query Builder to replicate Eloquent ORM data structure for Sub Query - Stack Overflow](https://i.stack.imgur.com/ySuyz.jpg)