added the callable resource in the pg adapter

This commit is contained in:
ArnabChatterjee20k
2025-06-18 18:09:11 +05:30
parent f18fbc792e
commit e6f8055f60
+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
};