Hy,
i want to ask, i’ve a query like this
select a.id,
(select max(b.last_update_login)
from login_history b
where b.user_id = a.id
) last_update_login
from user a
how to translate using gorm query
Hy,
i want to ask, i’ve a query like this
select a.id,
(select max(b.last_update_login)
from login_history b
where b.user_id = a.id
) last_update_login
from user a
how to translate using gorm query