ajout mode de configuration mixte, tableau ou variable ENV

This commit is contained in:
2023-11-02 23:04:35 +01:00
parent 84bf765b84
commit d67916e2ff
5 changed files with 41 additions and 16 deletions

View File

@@ -17,7 +17,7 @@ class QueryBuilder
protected string $raw_query;
protected bool $distinct;
public function __construct($table, $pk = "id", $connection = "default")
public function __construct($table, $pk = "id", $connection = "")
{
$this->table = $table;
$this->pk = $pk;