notes postgres backend

This commit is contained in:
bogale 2026-09-29 17:49:35 +09:00
commit 6519fa6827
9 changed files with 82 additions and 55 deletions

7
templates/lib.php Normal file
View file

@ -0,0 +1,7 @@
<?php
function pdo_init() {
return new PDO("pgsql:dbname=php", null, null, [
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
]);
}
?>