Skip to content

Commit

Permalink
feat/data api (#59)
Browse files Browse the repository at this point in the history
debug: removed a couple debug messages
  • Loading branch information
almosnow authored Aug 3, 2023
1 parent fa2afb2 commit 0680a20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion model/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def model_from_table(name, __tablename__=None, primary_keys=None):
connection = SQLAlchemyEngine.connect()

stmt = 'SELECT column_name, data_type FROM information_schema.columns WHERE table_schema = \'public\' AND table_name = \'' + __tablename__ + '\' ORDER BY ordinal_position ASC;'
# print('stmt', stmt)
columns = connection.execute(stmt).all()
connection.close()

Expand Down

0 comments on commit 0680a20

Please sign in to comment.