Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $posts = Post::whereHas('author', function ($q) {
- $q->where('name', 'Artur');
- })->get();
- GitHub: shfx17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement