1 2 3 4 5 6 7 |
You'll need to use DB::raw(), perhaps something like Invite::where(DB::raw('BINARY `token`'), $token)->first(); or alternatively: Invite::whereRaw("BINARY `token`= ?",[$token])->first(); |
1 2 3 4 5 6 7 |
You'll need to use DB::raw(), perhaps something like Invite::where(DB::raw('BINARY `token`'), $token)->first(); or alternatively: Invite::whereRaw("BINARY `token`= ?",[$token])->first(); |
Leave a reply