aboutsummaryrefslogtreecommitdiff
path: root/pc2rec.py
diff options
context:
space:
mode:
Diffstat (limited to 'pc2rec.py')
-rw-r--r--pc2rec.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/pc2rec.py b/pc2rec.py
index d427dad..b802631 100644
--- a/pc2rec.py
+++ b/pc2rec.py
@@ -10,7 +10,9 @@ from sqlalchemy import func
movie_name = "Forrest Gump"
with engine.connect() as conn:
- movie_deets = select(movies_table).filter(func.lower(movies_table.columns.title)==func.lower(movie_name))
- result = conn.execute(movie_deets)
- for row in result:
- print(row) \ No newline at end of file
+ movie_deets = select(movies_table).filter(
+ func.lower(movies_table.columns.title) == func.lower(movie_name)
+ )
+ result = conn.execute(movie_deets)
+ for row in result:
+ print(row)