frontend.database package¶
Submodules¶
frontend.database.connect module¶
-
frontend.database.connect.connect()¶ Connects to the PostgreSQL database server
- Returns
The psycopg2
connectionobject for the connection.
-
frontend.database.connect.create_pool(**kwargs)¶ Creates a new pool of database connections.
- Returns
The connection pool.
- Return type
psycopg2.pool.ThreadedConnectionPool