themissingCRAM
commited on
Commit
·
e313ba6
1
Parent(s):
02abf34
checking tables
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def init_db():
|
|
60 |
for row in rows:
|
61 |
stmt = insert(table).values(**row)
|
62 |
with engine.begin() as connection:
|
63 |
-
r = connection.execute(stmt)
|
64 |
print(r)
|
65 |
|
66 |
table_name = "receipts"
|
|
|
60 |
for row in rows:
|
61 |
stmt = insert(table).values(**row)
|
62 |
with engine.begin() as connection:
|
63 |
+
r = connection.execute(stmt).mappings().all()
|
64 |
print(r)
|
65 |
|
66 |
table_name = "receipts"
|