Skip to content

Commit

Permalink
Clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
soft9000 authored May 24, 2024
1 parent 1ac2677 commit c4013ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SqltDAO/Demo123.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@
from SqltDAO.CodeGen01.SqlSyntax import SqliteCrud


for line in tables:
zname = line["ObjectName"]
for table in tables:
zname = table["ObjectName"]
print("Table:", zname)
order = OrderClass(
db_name=output_file + ".sqlt3",
class_name=zname,
table_name=zname,
file_name="./" + zname + ".py")
zfields = line["Fields"]
zfields = table["Fields"]
sql = SqliteCrud(order, zfields)
data_file = str(zname + '.csv')
result = sql.code_class_template(data_file)
Expand Down

0 comments on commit c4013ee

Please sign in to comment.