// Find latest review of each user in each pull request, and set official field if appropriate
reviews:=[]*Review{}
varexecuteBody=func(page,pageSizeint64)error{
// Find latest review of each user in each pull request, and set official field if appropriate
reviews:=[]*Review{}
iferr:=x.SQL("SELECT * FROM review WHERE id IN (SELECT max(id) as id FROM review WHERE issue_id > ? AND issue_id <= ? AND type in (?, ?) GROUP BY issue_id, reviewer_id)",