sudip1987 commited on
Commit
12ef2a8
·
verified ·
1 Parent(s): 2f57648

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -65,6 +65,7 @@ class SQLPromptModel:
65
  cur = self.conn.cursor()
66
  cur.execute(query)
67
  # Get column names
 
68
  columns = [header[0] for header in cur.description]
69
  # Get all rows
70
  rows = [row for row in cur.fetchall()]
 
65
  cur = self.conn.cursor()
66
  cur.execute(query)
67
  # Get column names
68
+ print(cur.description)
69
  columns = [header[0] for header in cur.description]
70
  # Get all rows
71
  rows = [row for row in cur.fetchall()]