fix
This commit is contained in:
parent
be4eef7cac
commit
7b427ff799
|
@ -5,7 +5,7 @@ class Query {
|
||||||
private string $table;
|
private string $table;
|
||||||
private string $primaryKey;
|
private string $primaryKey;
|
||||||
public function __construct(string $model) {
|
public function __construct(string $model) {
|
||||||
,//$model = new $class();
|
//$model = new $class();
|
||||||
$this->table = $model::getTableName();
|
$this->table = $model::getTableName();
|
||||||
$this->primaryKey = $model::getPrimaryKey();
|
$this->primaryKey = $model::getPrimaryKey();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue