code: func AuthUserGroupsByGroupID(db XODB, groupID int) ([]*AuthUserGroup, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT ` +
  		`id, user_id, group_id ` +
  		`FROM django.auth_user_groups ` +
  		`WHERE group_id = ?`
  
  	// run query
  	XOLog(sqlstr, groupID)
  	q, err := db.Query(sqlstr, groupID)
  	if err != nil {
  		return nil, err
  	}
  	defer q.Close()
  
  	// load results
  	res := []*AuthUserGroup{}
  	for q.Next() {
  		aug := AuthUserGroup{
  			_exists: true,
  		}
  
  		// scan
  		err = q.Scan(&aug.ID, &aug.UserID, &aug.GroupID)
  		if err != nil {
  			return nil, err
  		}
  
  		res = append(res, &aug)
  	}
  
  	return res, nil
  }
docs: // AuthUserGroupsByGroupID retrieves a row from 'django.auth_user_groups' as a AuthUserGroup.
  //
  // Generated from index 'auth_user_groups_group_id_97559544_fk_auth_group_id'.