I have this pivot table:
http://3.1m.yt/0_7a5sa.png
I need to return multiple names of users (from users table) that have at least one expectation_id value as the current user have.
How do I achieve that? Do I need to iterate with foreach loop and use Auth::user() to do this?
Thanks.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.