extend positions bug fix
This commit is contained in:
@@ -20,7 +20,6 @@ async def insert_df_to_mysql(
|
||||
df = pd.DataFrame(params)
|
||||
else:
|
||||
df = params
|
||||
print(f'DB INSERT: table: {table_name}; CON: {CON}; params: {params}')
|
||||
await CON.run_sync(
|
||||
lambda sync_conn: df.to_sql(name=table_name, con=sync_conn, if_exists='append', index=False)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user