testing selects
This commit is contained in:
parent
333c3ecba3
commit
b5223ca8cb
1 changed files with 4 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import datetime
|
||||
import openpyxl
|
||||
import time
|
||||
from sqlalchemy import create_engine, MetaData, Table
|
||||
from sqlalchemy import create_engine, MetaData, Table, select
|
||||
import os
|
||||
|
||||
def engineer():
|
||||
|
|
@ -24,6 +24,9 @@ def playground():
|
|||
budget_category_table = Table("budget_category", metadata_obj, autoload_with=engine)
|
||||
vendor_table = Table("vendor", metadata_obj, autoload_with=engine)
|
||||
|
||||
with engine.connect() as conn:
|
||||
lis = conn.execute(select(line_item_table))
|
||||
|
||||
# xl = openpyxl.load_workbook('C:/Users/Lenovo/Desktop/BudgetingApp/app/static/uploadable/Bulk_Line_Item_Upload.xlsx',read_only=True)
|
||||
# wb = xl.worksheets[0]
|
||||
# items_to_add = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue