Getting raw sql's from eloquent query.
DB::enableQueryLog();
$spam_events = SpamEvent::where('user_id', $user_id)->pluck('event_id');
$users = User::all();
dd(DB::getQueryLog());
Raw SQL's will be shown
More methods will be updated soon.
Getting raw sql's from eloquent query.
DB::enableQueryLog();
$spam_events = SpamEvent::where('user_id', $user_id)->pluck('event_id');
$users = User::all();
dd(DB::getQueryLog());
Raw SQL's will be shown
More methods will be updated soon.
For further actions, you may consider blocking this person and/or reporting abuse
Tim E -
Harish Kumar -
Raiyan Memon -
Nguyen Xuan hoa -
Top comments (0)