code: func (agp *AuthGroupPermission) AuthPermission(db XODB) (*AuthPermission, error) {
  	return AuthPermissionByID(db, agp.PermissionID)
  }
docs: // AuthPermission returns the AuthPermission associated with the AuthGroupPermission's PermissionID (permission_id).
  //
  // Generated from foreign key 'auth_group_permissi_permission_id_84c5c92e_fk_auth_permission_id'.