cakephp3_model_getColumnName.php
// Controller
$this->Model->schema()->columns();
// Table
$this->schema()->columns();
// Behavior
$this->_table->schema()->columns();
More than 5 years have passed since last update.
// Controller
$this->Model->schema()->columns();
// Table
$this->schema()->columns();
// Behavior
$this->_table->schema()->columns();
Register as a new user and use Qiita more conveniently