Compare commits
2 Commits
1.0.2
...
a789231d5f
Author | SHA1 | Date | |
---|---|---|---|
a789231d5f | |||
682f0b87fa |
@ -51,10 +51,6 @@ abstract class Select extends Query implements SelectInterface
|
|||||||
}
|
}
|
||||||
public function addColumn(string $column, ?string $alias = null): SelectInterface
|
public function addColumn(string $column, ?string $alias = null): SelectInterface
|
||||||
{
|
{
|
||||||
if ($column === '*') {
|
|
||||||
$this->columns []= $column;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
$a = '';
|
$a = '';
|
||||||
if ($alias !== null) {
|
if ($alias !== null) {
|
||||||
$a = " AS '{$alias}'";
|
$a = " AS '{$alias}'";
|
||||||
|
Reference in New Issue
Block a user