bug fix: init function for fields not working
This commit is contained in:
parent
0933e4155f
commit
653d22cd8c
|
@ -239,6 +239,8 @@ class SQLWriter(SQLRW,Writer):
|
|||
try:
|
||||
table = self._tablename(self.table)
|
||||
self.fields = pd.read_sql_query("SELECT * FROM :table LIMIT 1".replace(":table",table),self.conn).columns.tolist()
|
||||
except Exception as e:
|
||||
pass
|
||||
finally:
|
||||
pass
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue