Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 10
0
Arquivo: files.go Projeto: 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())
}
Exemplo n.º 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())
}
Exemplo n.º 12
0
Arquivo: files.go Projeto: 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())
}
Exemplo n.º 13
0
Arquivo: files.go Projeto: 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}
Exemplo n.º 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())
}