notes postgres backend
This commit is contained in:
parent
9d716fd449
commit
6519fa6827
9 changed files with 82 additions and 55 deletions
7
templates/lib.php
Normal file
7
templates/lib.php
Normal 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,
|
||||
]);
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue