Is there a way that I can get the current database table in use by the model that I\'m in? I see that there is a table() function in Laravel/Database/Eloquent/model.php but
Since table is a protected property in the Model class (Laravel >= 5) you will need an instance of your Model.
table
Here is a case example:
DB::table( (new YourModelClassname)->getTable() ) ->update(['field' => false]);