Core v2.3, N:M Relations
This commit is contained in:
@@ -38,6 +38,11 @@ class Select extends Query {
|
||||
$this->fetchType = SQL::FETCH_ALL;
|
||||
}
|
||||
|
||||
public function addColumn(string $columnName): Select {
|
||||
$this->selectValues[] = $columnName;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function from(...$tables): Select {
|
||||
$this->tables = array_merge($this->tables, $tables);
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user