code: func AuthGroupByID(db XODB, id int) (*AuthGroup, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT ` +
  		`id, name ` +
  		`FROM django.auth_group ` +
  		`WHERE id = ?`
  
  	// run query
  	XOLog(sqlstr, id)
  	ag := AuthGroup{
  		_exists: true,
  	}
  
  	err = db.QueryRow(sqlstr, id).Scan(&ag.ID, &ag.Name)
  	if err != nil {
  		return nil, err
  	}
  
  	return &ag, nil
  }
docs: // AuthGroupByID retrieves a row from 'django.auth_group' as a AuthGroup.
  //
  // Generated from index 'auth_group_id_pkey'.