We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db060d4 commit 529caeeCopy full SHA for 529caee
src/EloquentDataTable.php
@@ -141,19 +141,6 @@ protected function isMorphRelation($relation)
141
return $isMorph;
142
}
143
144
- protected function getColumnNameByIndex(int $index): string
145
- {
146
- $name = (isset($this->columns[$index]) && $this->columns[$index] != '*')
147
- ? $this->columns[$index]
148
- : $this->getPrimaryKeyName();
149
-
150
- if ($name instanceof Expression) {
151
- $name = $name->getValue($this->query->getGrammar());
152
- }
153
154
- return in_array($name, $this->extraColumns, true) ? $this->getPrimaryKeyName() : $name;
155
156
157
/**
158
* Resolve the proper column name be used.
159
*
0 commit comments