]>
git.datanom.net - pwp.git/blob - app/DB/postgres.py
6a67caabfa7b9f6586d19110ac9511b5ee29b8c2
5 def __init__(self
, database
, user
, password
, host
, port
):
9 self
.conn
= psycopg2
.connect("dbname={0} user={1} password={2} host={3} port={4}".format(database
, user
, password
, host
, port
))
10 except psycopg2
.Error
as e
:
This page took 0.062922 seconds and 6 git commands to generate.