Unverified Commit 4aae69f7 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix sql error

parent c4778f4c
Pipeline #17939 passed with stages
in 1 minute and 47 seconds
......@@ -192,7 +192,7 @@ def _create_sql_stmt(table_name, record, fields) -> str:
for db_field in db_fields])
db_fields = ','.join(db_fields)
# noinspection SqlNoDataSourceInspection
return 'INSERT ON DUPLICATE KEY UPDATE INTO {} ({}) VALUES ({})'.format(
return 'INSERT IGNORE INTO {} ({}) VALUES ({})'.format(
table_name, db_fields, db_values)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment