Skip to content

Commit

Permalink
Create database.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH committed May 11, 2024
1 parent cff4fb5 commit f2a71af
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions services/database.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# services/database.py
from sqlalchemy import create_engine

class Database:
def __init__(self, db_uri):
self.engine = create_engine(db_uri)

def execute(self, query):
# ...

0 comments on commit f2a71af

Please sign in to comment.