DB Where And - Is it possible?
I am trying to do something like this, but looking in the documentation I could not find anything.
DB::table($this->tablex)->where('user_id', '=', Auth::user()->id)->and('product_id', '=', $slug)->delete();
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!