No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-05-09 00:40:26 +00:00
database initial commit 2024-05-08 20:36:56 -04:00
modules initial commit 2024-05-08 20:36:56 -04:00
.gitignore adding gitignore 2024-05-08 20:38:46 -04:00
config.ini initial commit 2024-05-08 20:36:56 -04:00
main.py initial commit 2024-05-08 20:36:56 -04:00
pyvenv.cfg initial commit 2024-05-08 20:36:56 -04:00
README.md initial commit 2024-05-08 20:36:56 -04:00
requirements.txt initial commit 2024-05-08 20:36:56 -04:00

Python-DatabasePool

Quick Summary

This is an outline for a DatabasePool setup in my average personal Python application.

Essential Understandings

  1. From the database folder, can name the python file whatever is required. Can call the Class
    • In this case its called DBName
    • Can create a object from DBName
  2. DBName references DatabaseHelper, which calls to DatabasePool and DatabasePool calls to DatabaseConnection function to create a new connection as required.
  3. This feeds back to the DBName function which allows for the user to call their required query.
  4. Keeps the cursor and db_conn and returns it back to the DatabasePool to be called at a later time, lowering latency and delay.