Add app/crud.py

This commit is contained in:
Cameron 2025-12-10 02:42:19 +00:00
parent 7a2d2daa55
commit 9a6418a9b6

8
app/crud.py Normal file
View file

@ -0,0 +1,8 @@
from sqlalchemy.orm import Session
from app import models
def get_customers(db: Session):
return db.query(models.Customer).all()
def get_accounts(db: Session):
return db.query(models.Account).all()