Majeed
156
6
Laravel

HOW To Use where clause in egar loading eloquent Query in Laravel

Posted 6 months ago by Majeed

I'm working on ACL system. during working on system I've face a challenge. Here is my query , How can i use where clause in this query...

$this->roles()->with('permissions')->get()->pluck('permissions')

Please sign in or create an account to participate in this conversation.