voe1999
Results
issues of
voe1999
``` var friends []*models.Friend if res := f.db().Debug().Model(&models.Friend{}).Where(&models.Friend{UserA: userID}).Or(models.Friend{UserB: userID}).Find(&friends); res.Error != nil { logger.Error(res.Error) return nil, queryErr } ``` The code above executes the SQL as follows: ``` SELECT...
type:missing reproduction steps
status:stale
If I want to wrap several functions from different repositories in one transaction, how should i do it?