How can I use bulk update with FROM(values ...)?
i have a query:
UPDATE events AS e
SET status = $1,
handled_at = $2
FROM (VALUES
($3, $4, $5), ($6, $7, $8) ....
) AS u (object_id, init_event, name)
WHERE u.object_id = e.object_id
AND u.init_event = e.init_event
AND u.name = e.name;
How to rewrite it to gorm?
Comment From: github-actions[bot]
This issue has been automatically marked as stale because it has been open 360 days with no activity. Remove stale label or comment or this will be closed in 180 days