mini\Table\Contracts\MutableTableInterface::getAllColumns()
Method
public
abstract
Signature
public abstract function getAllColumns(): array
Returns
array
Documentation
Get all column definitions regardless of projection
Unlike getColumns(), this returns the full schema even after columns() has been called. Used by wrappers that need to filter/sort on columns that aren't in the output projection.
$projected = $table->columns('id', 'name');
$projected->getColumns(); // ['id' => ..., 'name' => ...]
$projected->getAllColumns(); // ['id' => ..., 'name' => ..., 'email' => ..., ...]
Inherited From
mini\Table\Contracts\TableInterface