You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Find latest review of each user in each pull request, and set official field if appropriate
387
384
reviews:= []*Review{}
388
-
varpageint64
389
-
forpage=0; page<=totalPages; page++ {
390
-
iferr:=sess.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)",
385
+
386
+
varexecuteBody=func(page, pageSizeint64) error {
387
+
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)",
0 commit comments