dbms_primeidc init...1
This commit is contained in:
parent
c5b30cb07e
commit
326118234b
@ -136,7 +136,8 @@ abstract class Model
|
|||||||
} //
|
} //
|
||||||
public function select(mixed $columns = "*"): void
|
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
|
final public function join(string $table, mixed $match = null, $type = ""): void
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user