dbms_primeidc init...1

This commit is contained in:
최준흠 2025-04-01 16:36:46 +09:00
parent c5b30cb07e
commit 326118234b

View File

@ -136,7 +136,8 @@ abstract class Model
} //
public function select(mixed $columns = "*"): void
{
$this->_querys["SELECT"] = "SELECT " . is_array($columns) ? implode(",", $columns) : $columns . " FROM {$this->getTable()} WHERE {$this->getWhere()}";
$columns = is_array($columns) ? implode(",", $columns) : $columns;
$this->_querys["SELECT"] = "SELECT {$columns} FROM {$this->getTable()} WHERE {$this->getWhere()}";
}
final public function join(string $table, mixed $match = null, $type = ""): void
{