diff --git a/extdbms/lib/Core/Model.php b/extdbms/lib/Core/Model.php index d4e03f6..47ef6f0 100644 --- a/extdbms/lib/Core/Model.php +++ b/extdbms/lib/Core/Model.php @@ -141,7 +141,7 @@ abstract class Model public function select(mixed $columns = "*"): void { $columns = is_array($columns) ? implode(",", $columns) : $columns; - $this->_querys["SELECT"] = "SELECT {$columns} FROM {$this->getTable()} WHERE {$this->getWhere()}"; + $this->_querys["SELECT"] = "SELECT {$columns}"; } final public function join(string $table, mixed $match = null, $type = ""): void {