How to write below query in posrgres using GORM? Can some one help on this? I don't see any documation in gorm for this type of query. https://gorm.io/docs/update.html

update users as u 
set 
  email = u2.email,
  first_name = u2.first_name,
  last_name = u2.last_name
from (values
  (1, 'hollis@weimann.biz', 'Hollis', 'Connell'),
  (2, 'robert@duncan.info', 'Robert', 'Duncan')
) as u2(id, email, first_name, last_name)
where u2.id = u.id;

The document you expected this should be explained

Expected answer