86326/how-to-return-database-table-name-in-laravel
Hello @kartik,
There is a public getTable() method defined in Eloquent\Model so you should be able to use $model->getTable().
Hope it helps!!
Thank You!!
Hii, Migrations are like version control for your database, ...READ MORE
You need do little modification in your ...READ MORE
Hello @kartik, Don't put the DB::insert() inside of ...READ MORE
Hello @kartik, The code below solved my problem: $messages ...READ MORE
Hello, In the error callback or $.ajax you have three ...READ MORE
Hello @kartik, If your script is called myScript.js ...READ MORE
Hello @kartik, Try this code : // Create an ...READ MORE
Hello @kartik, Use node-inspector from any browser supporting WebSocket. Breakpoints, ...READ MORE
Hello @kartik, There are date helpers available in ...READ MORE
You can get all columns name by ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.