added the callable resource in the pg adapter

This commit is contained in:
ArnabChatterjee20k
2025-05-16 18:07:17 +05:30
parent 26c3248375
commit 9f22ab4ef5
+1 -1
View File
@@ -258,7 +258,7 @@ $register->set('pools', function () {
$adapter = match ($dsn->getScheme()) {
'mariadb' => new MariaDB($resource()),
'mysql' => new MySQL($resource()),
'postgresql' => new Postgres($resource),
'postgresql' => new Postgres($resource()),
default => null
};