Skip to content

Commit

Permalink
Bugfix/Update mysql record manager update (FlowiseAI#3199)
Browse files Browse the repository at this point in the history
update mysql record manager update
  • Loading branch information
HenryHengZJ authored Sep 16, 2024
1 parent b02bdc7 commit 1ceea81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class MySQLRecordManager implements RecordManagerInterface {
const query = `
INSERT INTO \`${this.tableName}\` (\`key\`, \`namespace\`, \`updated_at\`, \`group_id\`)
VALUES (?, ?, ?, ?)
ON DUPLICATE KEY UPDATE updated_at = updated_at;`
ON DUPLICATE KEY UPDATE \`updated_at\` = VALUES(\`updated_at\`)`

// To handle multiple files upsert
for (const record of recordsToUpsert) {
Expand Down

0 comments on commit 1ceea81

Please sign in to comment.