Пример #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
// 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
// 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
// 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())
}