bugfix: sqlalchemy

This commit is contained in:
Steve Nyemba 2022-03-07 15:29:03 -06:00
parent cfc683c1b3
commit f672c04844
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ class SQLWriter(SQLRW,Writer):
if self._engine : if self._engine :
# pd.to_sql(_info,self._engine) # pd.to_sql(_info,self._engine)
rows = _info.to_sql(table,self._engine,if_exists='append',index=False) rows = _info.to_sql(table,self._engine,schema=self.schema,if_exists='append',index=False)
else: else:
_fields = ",".join(self.fields) _fields = ",".join(self.fields)