예제 #1
0
// ReloadG refetches the object from the database using the primary keys.
func (o *PubRelationship) ReloadG() error {
	if o == nil {
		return errors.New("chado: no PubRelationship provided for reload")
	}

	return o.Reload(boil.GetDB())
}
예제 #2
0
// ReloadAllG refetches every row with matching primary key column values
// and overwrites the original object slice with the newly updated slice.
func (o *TableinfoSlice) ReloadAllG() error {
	if o == nil {
		return errors.New("chado: empty TableinfoSlice provided for reload all")
	}

	return o.ReloadAll(boil.GetDB())
}
예제 #3
0
// ReloadG refetches the object from the database using the primary keys.
func (o *FeaturepropPub) ReloadG() error {
	if o == nil {
		return errors.New("chado: no FeaturepropPub provided for reload")
	}

	return o.Reload(boil.GetDB())
}
예제 #4
0
// ReloadG refetches the object from the database using the primary keys.
func (o *AuthUserRole) ReloadG() error {
	if o == nil {
		return errors.New("chado: no AuthUserRole provided for reload")
	}

	return o.Reload(boil.GetDB())
}
예제 #5
0
// DeleteG deletes a single Tableinfo record.
// DeleteG will match against the primary key column to find the record to delete.
func (o *Tableinfo) DeleteG() error {
	if o == nil {
		return errors.New("chado: no Tableinfo provided for deletion")
	}

	return o.Delete(boil.GetDB())
}
예제 #6
0
// DeleteG deletes a single CvtermDbxref record.
// DeleteG will match against the primary key column to find the record to delete.
func (o *CvtermDbxref) DeleteG() error {
	if o == nil {
		return errors.New("chado: no CvtermDbxref provided for deletion")
	}

	return o.Delete(boil.GetDB())
}
예제 #7
0
// ReloadAllG refetches every row with matching primary key column values
// and overwrites the original object slice with the newly updated slice.
func (o *CvtermDbxrefSlice) ReloadAllG() error {
	if o == nil {
		return errors.New("chado: empty CvtermDbxrefSlice provided for reload all")
	}

	return o.ReloadAll(boil.GetDB())
}
// ReloadG refetches the object from the database using the primary keys.
func (o *StockRelationshipCvterm) ReloadG() error {
	if o == nil {
		return errors.New("chado: no StockRelationshipCvterm provided for reload")
	}

	return o.Reload(boil.GetDB())
}
예제 #9
0
// DeleteG deletes a single AuthRolePermission record.
// DeleteG will match against the primary key column to find the record to delete.
func (o *AuthRolePermission) DeleteG() error {
	if o == nil {
		return errors.New("chado: no AuthRolePermission provided for deletion")
	}

	return o.Delete(boil.GetDB())
}
예제 #10
0
파일: files.go 프로젝트: zqzca/back
// ReloadAllG refetches every row with matching primary key column values
// and overwrites the original object slice with the newly updated slice.
func (o *FileSlice) ReloadAllG() error {
	if o == nil {
		return errors.New("models: empty FileSlice provided for reload all")
	}

	return o.ReloadAll(boil.GetDB())
}
예제 #11
0
// DeleteG deletes a single StockRelationshipCvterm record.
// DeleteG will match against the primary key column to find the record to delete.
func (o *StockRelationshipCvterm) DeleteG() error {
	if o == nil {
		return errors.New("chado: no StockRelationshipCvterm provided for deletion")
	}

	return o.Delete(boil.GetDB())
}
예제 #12
0
파일: files.go 프로젝트: zqzca/back
// ReloadG refetches the object from the database using the primary keys.
func (o *File) ReloadG() error {
	if o == nil {
		return errors.New("models: no File provided for reload")
	}

	return o.Reload(boil.GetDB())
}
예제 #13
0
파일: files.go 프로젝트: zqzca/back
// DeleteG deletes a single File record.
// DeleteG will match against the primary key column to find the record to delete.
func (o *File) DeleteG() error {
	if o == nil {
		return errors.New("models: no File provided for deletion")
	}

	return o.Delete(boil.GetDB())
}
예제 #14
0
// ReloadAllG refetches every row with matching primary key column values
// and overwrites the original object slice with the newly updated slice.
func (o *PubRelationshipSlice) ReloadAllG() error {
	if o == nil {
		return errors.New("chado: empty PubRelationshipSlice provided for reload all")
	}

	return o.ReloadAll(boil.GetDB())
}
예제 #15
0
// ReloadG refetches the object from the database using the primary keys.
func (o *Analysisfeature) ReloadG() error {
	if o == nil {
		return errors.New("chado: no Analysisfeature provided for reload")
	}

	return o.Reload(boil.GetDB())
}
예제 #16
0
// ReloadG refetches the object from the database using the primary keys.
func (o *AuthRolePermission) ReloadG() error {
	if o == nil {
		return errors.New("chado: no AuthRolePermission provided for reload")
	}

	return o.Reload(boil.GetDB())
}
예제 #17
0
// ReloadAllG refetches every row with matching primary key column values
// and overwrites the original object slice with the newly updated slice.
func (o *AnalysisfeatureSlice) ReloadAllG() error {
	if o == nil {
		return errors.New("chado: empty AnalysisfeatureSlice provided for reload all")
	}

	return o.ReloadAll(boil.GetDB())
}
예제 #18
0
// DeleteG deletes a single Stockcollection record.
// DeleteG will match against the primary key column to find the record to delete.
func (o *Stockcollection) DeleteG() error {
	if o == nil {
		return errors.New("chado: no Stockcollection provided for deletion")
	}

	return o.Delete(boil.GetDB())
}
예제 #19
0
// ReloadG refetches the object from the database using the primary keys.
func (o *CvtermDbxref) ReloadG() error {
	if o == nil {
		return errors.New("chado: no CvtermDbxref provided for reload")
	}

	return o.Reload(boil.GetDB())
}
예제 #20
0
// ReloadG refetches the object from the database using the primary keys.
func (o *Stockcollection) ReloadG() error {
	if o == nil {
		return errors.New("chado: no Stockcollection provided for reload")
	}

	return o.Reload(boil.GetDB())
}
예제 #21
0
// DeleteG deletes a single AuthUserRole record.
// DeleteG will match against the primary key column to find the record to delete.
func (o *AuthUserRole) DeleteG() error {
	if o == nil {
		return errors.New("chado: no AuthUserRole provided for deletion")
	}

	return o.Delete(boil.GetDB())
}
예제 #22
0
// ReloadAllG refetches every row with matching primary key column values
// and overwrites the original object slice with the newly updated slice.
func (o *StockcollectionSlice) ReloadAllG() error {
	if o == nil {
		return errors.New("chado: empty StockcollectionSlice provided for reload all")
	}

	return o.ReloadAll(boil.GetDB())
}
예제 #23
0
// ReloadAllG refetches every row with matching primary key column values
// and overwrites the original object slice with the newly updated slice.
func (o *AuthUserRoleSlice) ReloadAllG() error {
	if o == nil {
		return errors.New("chado: empty AuthUserRoleSlice provided for reload all")
	}

	return o.ReloadAll(boil.GetDB())
}
예제 #24
0
// DeleteG deletes a single Contact record.
// DeleteG will match against the primary key column to find the record to delete.
func (o *Contact) DeleteG() error {
	if o == nil {
		return errors.New("chado: no Contact provided for deletion")
	}

	return o.Delete(boil.GetDB())
}
예제 #25
0
// ReloadG refetches the object from the database using the primary keys.
func (o *Tableinfo) ReloadG() error {
	if o == nil {
		return errors.New("chado: no Tableinfo provided for reload")
	}

	return o.Reload(boil.GetDB())
}
예제 #26
0
// ReloadG refetches the object from the database using the primary keys.
func (o *Contact) ReloadG() error {
	if o == nil {
		return errors.New("chado: no Contact provided for reload")
	}

	return o.Reload(boil.GetDB())
}
예제 #27
0
// DeleteG deletes a single FeaturepropPub record.
// DeleteG will match against the primary key column to find the record to delete.
func (o *FeaturepropPub) DeleteG() error {
	if o == nil {
		return errors.New("chado: no FeaturepropPub provided for deletion")
	}

	return o.Delete(boil.GetDB())
}
예제 #28
0
// DeleteG deletes a single Analysisfeature record.
// DeleteG will match against the primary key column to find the record to delete.
func (o *Analysisfeature) DeleteG() error {
	if o == nil {
		return errors.New("chado: no Analysisfeature provided for deletion")
	}

	return o.Delete(boil.GetDB())
}
예제 #29
0
// ReloadAllG refetches every row with matching primary key column values
// and overwrites the original object slice with the newly updated slice.
func (o *FeaturepropPubSlice) ReloadAllG() error {
	if o == nil {
		return errors.New("chado: empty FeaturepropPubSlice provided for reload all")
	}

	return o.ReloadAll(boil.GetDB())
}
예제 #30
0
// DeleteG deletes a single PubRelationship record.
// DeleteG will match against the primary key column to find the record to delete.
func (o *PubRelationship) DeleteG() error {
	if o == nil {
		return errors.New("chado: no PubRelationship provided for deletion")
	}

	return o.Delete(boil.GetDB())
}