beautify et ajout export type connection

This commit is contained in:
Gregory Letellier
2023-11-07 10:45:54 +01:00
parent fd54281ce3
commit 523d307f81
2 changed files with 7 additions and 2 deletions

View File

@@ -217,9 +217,14 @@ class Connection
{
return $this->error;
}
public function getPdo()
{
return $this->pdo;
}
public function getDriverType()
{
return $this->type;
}
}

View File

@@ -67,7 +67,7 @@ class Model
}
public function find(mixed $key): mixed
{
{
$qb = $this->newQueryBuilder();
$find = $qb->find($key);
if ($find !== null) {