class NewMediaModel extends Model { public function getTableColumns() { return $this->getConnection()->getSchemaBuilder()->getColumnListing($this->getTable()); } }
Subscribe
Login
1 Comment
Most Voted
wpDiscuz
Tutorials focused on Web Development, ReactJS, JavaScript, PHP, Database Design, Devops
class NewMediaModel extends Model { public function getTableColumns() { return $this->getConnection()->getSchemaBuilder()->getColumnListing($this->getTable()); } }