mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 23:01:09 +03:00
Bugfix/Update mysql record manager update (#3199)
update mysql record manager update
This commit is contained in:
@@ -258,7 +258,7 @@ class MySQLRecordManager implements RecordManagerInterface {
|
|||||||
const query = `
|
const query = `
|
||||||
INSERT INTO \`${this.tableName}\` (\`key\`, \`namespace\`, \`updated_at\`, \`group_id\`)
|
INSERT INTO \`${this.tableName}\` (\`key\`, \`namespace\`, \`updated_at\`, \`group_id\`)
|
||||||
VALUES (?, ?, ?, ?)
|
VALUES (?, ?, ?, ?)
|
||||||
ON DUPLICATE KEY UPDATE updated_at = updated_at;`
|
ON DUPLICATE KEY UPDATE \`updated_at\` = VALUES(\`updated_at\`)`
|
||||||
|
|
||||||
// To handle multiple files upsert
|
// To handle multiple files upsert
|
||||||
for (const record of recordsToUpsert) {
|
for (const record of recordsToUpsert) {
|
||||||
|
|||||||
Reference in New Issue
Block a user