themissingCRAM
commited on
Commit
·
af7f1fe
1
Parent(s):
02ffeb9
select test
Browse files
app.py
CHANGED
|
@@ -13,6 +13,7 @@ from sqlalchemy import (
|
|
| 13 |
insert,
|
| 14 |
inspect,
|
| 15 |
text,
|
|
|
|
| 16 |
)
|
| 17 |
import spaces
|
| 18 |
|
|
@@ -90,7 +91,7 @@ def init_db():
|
|
| 90 |
]
|
| 91 |
insert_rows_into_table(rows, receipts)
|
| 92 |
with engine.begin() as conn:
|
| 93 |
-
print("SELECT test", conn.execute("
|
| 94 |
|
| 95 |
|
| 96 |
if __name__ == "__main__":
|
|
|
|
| 13 |
insert,
|
| 14 |
inspect,
|
| 15 |
text,
|
| 16 |
+
select,
|
| 17 |
)
|
| 18 |
import spaces
|
| 19 |
|
|
|
|
| 91 |
]
|
| 92 |
insert_rows_into_table(rows, receipts)
|
| 93 |
with engine.begin() as conn:
|
| 94 |
+
print("SELECT test", conn.execute(select("receipts")))
|
| 95 |
|
| 96 |
|
| 97 |
if __name__ == "__main__":
|