Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RiskHistory) predicate.RiskHistory
- func BusinessCosts(v string) predicate.RiskHistory
- func BusinessCostsContains(v string) predicate.RiskHistory
- func BusinessCostsContainsFold(v string) predicate.RiskHistory
- func BusinessCostsEQ(v string) predicate.RiskHistory
- func BusinessCostsEqualFold(v string) predicate.RiskHistory
- func BusinessCostsGT(v string) predicate.RiskHistory
- func BusinessCostsGTE(v string) predicate.RiskHistory
- func BusinessCostsHasPrefix(v string) predicate.RiskHistory
- func BusinessCostsHasSuffix(v string) predicate.RiskHistory
- func BusinessCostsIn(vs ...string) predicate.RiskHistory
- func BusinessCostsIsNil() predicate.RiskHistory
- func BusinessCostsLT(v string) predicate.RiskHistory
- func BusinessCostsLTE(v string) predicate.RiskHistory
- func BusinessCostsNEQ(v string) predicate.RiskHistory
- func BusinessCostsNotIn(vs ...string) predicate.RiskHistory
- func BusinessCostsNotNil() predicate.RiskHistory
- func CreatedAt(v time.Time) predicate.RiskHistory
- func CreatedAtEQ(v time.Time) predicate.RiskHistory
- func CreatedAtGT(v time.Time) predicate.RiskHistory
- func CreatedAtGTE(v time.Time) predicate.RiskHistory
- func CreatedAtIn(vs ...time.Time) predicate.RiskHistory
- func CreatedAtIsNil() predicate.RiskHistory
- func CreatedAtLT(v time.Time) predicate.RiskHistory
- func CreatedAtLTE(v time.Time) predicate.RiskHistory
- func CreatedAtNEQ(v time.Time) predicate.RiskHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.RiskHistory
- func CreatedAtNotNil() predicate.RiskHistory
- func CreatedBy(v string) predicate.RiskHistory
- func CreatedByContains(v string) predicate.RiskHistory
- func CreatedByContainsFold(v string) predicate.RiskHistory
- func CreatedByEQ(v string) predicate.RiskHistory
- func CreatedByEqualFold(v string) predicate.RiskHistory
- func CreatedByGT(v string) predicate.RiskHistory
- func CreatedByGTE(v string) predicate.RiskHistory
- func CreatedByHasPrefix(v string) predicate.RiskHistory
- func CreatedByHasSuffix(v string) predicate.RiskHistory
- func CreatedByIn(vs ...string) predicate.RiskHistory
- func CreatedByIsNil() predicate.RiskHistory
- func CreatedByLT(v string) predicate.RiskHistory
- func CreatedByLTE(v string) predicate.RiskHistory
- func CreatedByNEQ(v string) predicate.RiskHistory
- func CreatedByNotIn(vs ...string) predicate.RiskHistory
- func CreatedByNotNil() predicate.RiskHistory
- func DeletedAt(v time.Time) predicate.RiskHistory
- func DeletedAtEQ(v time.Time) predicate.RiskHistory
- func DeletedAtGT(v time.Time) predicate.RiskHistory
- func DeletedAtGTE(v time.Time) predicate.RiskHistory
- func DeletedAtIn(vs ...time.Time) predicate.RiskHistory
- func DeletedAtIsNil() predicate.RiskHistory
- func DeletedAtLT(v time.Time) predicate.RiskHistory
- func DeletedAtLTE(v time.Time) predicate.RiskHistory
- func DeletedAtNEQ(v time.Time) predicate.RiskHistory
- func DeletedAtNotIn(vs ...time.Time) predicate.RiskHistory
- func DeletedAtNotNil() predicate.RiskHistory
- func DeletedBy(v string) predicate.RiskHistory
- func DeletedByContains(v string) predicate.RiskHistory
- func DeletedByContainsFold(v string) predicate.RiskHistory
- func DeletedByEQ(v string) predicate.RiskHistory
- func DeletedByEqualFold(v string) predicate.RiskHistory
- func DeletedByGT(v string) predicate.RiskHistory
- func DeletedByGTE(v string) predicate.RiskHistory
- func DeletedByHasPrefix(v string) predicate.RiskHistory
- func DeletedByHasSuffix(v string) predicate.RiskHistory
- func DeletedByIn(vs ...string) predicate.RiskHistory
- func DeletedByIsNil() predicate.RiskHistory
- func DeletedByLT(v string) predicate.RiskHistory
- func DeletedByLTE(v string) predicate.RiskHistory
- func DeletedByNEQ(v string) predicate.RiskHistory
- func DeletedByNotIn(vs ...string) predicate.RiskHistory
- func DeletedByNotNil() predicate.RiskHistory
- func Description(v string) predicate.RiskHistory
- func DescriptionContains(v string) predicate.RiskHistory
- func DescriptionContainsFold(v string) predicate.RiskHistory
- func DescriptionEQ(v string) predicate.RiskHistory
- func DescriptionEqualFold(v string) predicate.RiskHistory
- func DescriptionGT(v string) predicate.RiskHistory
- func DescriptionGTE(v string) predicate.RiskHistory
- func DescriptionHasPrefix(v string) predicate.RiskHistory
- func DescriptionHasSuffix(v string) predicate.RiskHistory
- func DescriptionIn(vs ...string) predicate.RiskHistory
- func DescriptionIsNil() predicate.RiskHistory
- func DescriptionLT(v string) predicate.RiskHistory
- func DescriptionLTE(v string) predicate.RiskHistory
- func DescriptionNEQ(v string) predicate.RiskHistory
- func DescriptionNotIn(vs ...string) predicate.RiskHistory
- func DescriptionNotNil() predicate.RiskHistory
- func DetailsIsNil() predicate.RiskHistory
- func DetailsNotNil() predicate.RiskHistory
- func HistoryTime(v time.Time) predicate.RiskHistory
- func HistoryTimeEQ(v time.Time) predicate.RiskHistory
- func HistoryTimeGT(v time.Time) predicate.RiskHistory
- func HistoryTimeGTE(v time.Time) predicate.RiskHistory
- func HistoryTimeIn(vs ...time.Time) predicate.RiskHistory
- func HistoryTimeLT(v time.Time) predicate.RiskHistory
- func HistoryTimeLTE(v time.Time) predicate.RiskHistory
- func HistoryTimeNEQ(v time.Time) predicate.RiskHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.RiskHistory
- func ID(id string) predicate.RiskHistory
- func IDContainsFold(id string) predicate.RiskHistory
- func IDEQ(id string) predicate.RiskHistory
- func IDEqualFold(id string) predicate.RiskHistory
- func IDGT(id string) predicate.RiskHistory
- func IDGTE(id string) predicate.RiskHistory
- func IDIn(ids ...string) predicate.RiskHistory
- func IDLT(id string) predicate.RiskHistory
- func IDLTE(id string) predicate.RiskHistory
- func IDNEQ(id string) predicate.RiskHistory
- func IDNotIn(ids ...string) predicate.RiskHistory
- func ImpactEQ(v enums.RiskImpact) predicate.RiskHistory
- func ImpactIn(vs ...enums.RiskImpact) predicate.RiskHistory
- func ImpactIsNil() predicate.RiskHistory
- func ImpactNEQ(v enums.RiskImpact) predicate.RiskHistory
- func ImpactNotIn(vs ...enums.RiskImpact) predicate.RiskHistory
- func ImpactNotNil() predicate.RiskHistory
- func ImpactValidator(i enums.RiskImpact) error
- func LikelihoodEQ(v enums.RiskLikelihood) predicate.RiskHistory
- func LikelihoodIn(vs ...enums.RiskLikelihood) predicate.RiskHistory
- func LikelihoodIsNil() predicate.RiskHistory
- func LikelihoodNEQ(v enums.RiskLikelihood) predicate.RiskHistory
- func LikelihoodNotIn(vs ...enums.RiskLikelihood) predicate.RiskHistory
- func LikelihoodNotNil() predicate.RiskHistory
- func LikelihoodValidator(l enums.RiskLikelihood) error
- func MappingID(v string) predicate.RiskHistory
- func MappingIDContains(v string) predicate.RiskHistory
- func MappingIDContainsFold(v string) predicate.RiskHistory
- func MappingIDEQ(v string) predicate.RiskHistory
- func MappingIDEqualFold(v string) predicate.RiskHistory
- func MappingIDGT(v string) predicate.RiskHistory
- func MappingIDGTE(v string) predicate.RiskHistory
- func MappingIDHasPrefix(v string) predicate.RiskHistory
- func MappingIDHasSuffix(v string) predicate.RiskHistory
- func MappingIDIn(vs ...string) predicate.RiskHistory
- func MappingIDLT(v string) predicate.RiskHistory
- func MappingIDLTE(v string) predicate.RiskHistory
- func MappingIDNEQ(v string) predicate.RiskHistory
- func MappingIDNotIn(vs ...string) predicate.RiskHistory
- func Mitigation(v string) predicate.RiskHistory
- func MitigationContains(v string) predicate.RiskHistory
- func MitigationContainsFold(v string) predicate.RiskHistory
- func MitigationEQ(v string) predicate.RiskHistory
- func MitigationEqualFold(v string) predicate.RiskHistory
- func MitigationGT(v string) predicate.RiskHistory
- func MitigationGTE(v string) predicate.RiskHistory
- func MitigationHasPrefix(v string) predicate.RiskHistory
- func MitigationHasSuffix(v string) predicate.RiskHistory
- func MitigationIn(vs ...string) predicate.RiskHistory
- func MitigationIsNil() predicate.RiskHistory
- func MitigationLT(v string) predicate.RiskHistory
- func MitigationLTE(v string) predicate.RiskHistory
- func MitigationNEQ(v string) predicate.RiskHistory
- func MitigationNotIn(vs ...string) predicate.RiskHistory
- func MitigationNotNil() predicate.RiskHistory
- func Name(v string) predicate.RiskHistory
- func NameContains(v string) predicate.RiskHistory
- func NameContainsFold(v string) predicate.RiskHistory
- func NameEQ(v string) predicate.RiskHistory
- func NameEqualFold(v string) predicate.RiskHistory
- func NameGT(v string) predicate.RiskHistory
- func NameGTE(v string) predicate.RiskHistory
- func NameHasPrefix(v string) predicate.RiskHistory
- func NameHasSuffix(v string) predicate.RiskHistory
- func NameIn(vs ...string) predicate.RiskHistory
- func NameLT(v string) predicate.RiskHistory
- func NameLTE(v string) predicate.RiskHistory
- func NameNEQ(v string) predicate.RiskHistory
- func NameNotIn(vs ...string) predicate.RiskHistory
- func Not(p predicate.RiskHistory) predicate.RiskHistory
- func OperationEQ(v history.OpType) predicate.RiskHistory
- func OperationIn(vs ...history.OpType) predicate.RiskHistory
- func OperationNEQ(v history.OpType) predicate.RiskHistory
- func OperationNotIn(vs ...history.OpType) predicate.RiskHistory
- func OperationValidator(o history.OpType) error
- func Or(predicates ...predicate.RiskHistory) predicate.RiskHistory
- func Ref(v string) predicate.RiskHistory
- func RefContains(v string) predicate.RiskHistory
- func RefContainsFold(v string) predicate.RiskHistory
- func RefEQ(v string) predicate.RiskHistory
- func RefEqualFold(v string) predicate.RiskHistory
- func RefGT(v string) predicate.RiskHistory
- func RefGTE(v string) predicate.RiskHistory
- func RefHasPrefix(v string) predicate.RiskHistory
- func RefHasSuffix(v string) predicate.RiskHistory
- func RefIn(vs ...string) predicate.RiskHistory
- func RefIsNil() predicate.RiskHistory
- func RefLT(v string) predicate.RiskHistory
- func RefLTE(v string) predicate.RiskHistory
- func RefNEQ(v string) predicate.RiskHistory
- func RefNotIn(vs ...string) predicate.RiskHistory
- func RefNotNil() predicate.RiskHistory
- func RiskType(v string) predicate.RiskHistory
- func RiskTypeContains(v string) predicate.RiskHistory
- func RiskTypeContainsFold(v string) predicate.RiskHistory
- func RiskTypeEQ(v string) predicate.RiskHistory
- func RiskTypeEqualFold(v string) predicate.RiskHistory
- func RiskTypeGT(v string) predicate.RiskHistory
- func RiskTypeGTE(v string) predicate.RiskHistory
- func RiskTypeHasPrefix(v string) predicate.RiskHistory
- func RiskTypeHasSuffix(v string) predicate.RiskHistory
- func RiskTypeIn(vs ...string) predicate.RiskHistory
- func RiskTypeIsNil() predicate.RiskHistory
- func RiskTypeLT(v string) predicate.RiskHistory
- func RiskTypeLTE(v string) predicate.RiskHistory
- func RiskTypeNEQ(v string) predicate.RiskHistory
- func RiskTypeNotIn(vs ...string) predicate.RiskHistory
- func RiskTypeNotNil() predicate.RiskHistory
- func Satisfies(v string) predicate.RiskHistory
- func SatisfiesContains(v string) predicate.RiskHistory
- func SatisfiesContainsFold(v string) predicate.RiskHistory
- func SatisfiesEQ(v string) predicate.RiskHistory
- func SatisfiesEqualFold(v string) predicate.RiskHistory
- func SatisfiesGT(v string) predicate.RiskHistory
- func SatisfiesGTE(v string) predicate.RiskHistory
- func SatisfiesHasPrefix(v string) predicate.RiskHistory
- func SatisfiesHasSuffix(v string) predicate.RiskHistory
- func SatisfiesIn(vs ...string) predicate.RiskHistory
- func SatisfiesIsNil() predicate.RiskHistory
- func SatisfiesLT(v string) predicate.RiskHistory
- func SatisfiesLTE(v string) predicate.RiskHistory
- func SatisfiesNEQ(v string) predicate.RiskHistory
- func SatisfiesNotIn(vs ...string) predicate.RiskHistory
- func SatisfiesNotNil() predicate.RiskHistory
- func Status(v string) predicate.RiskHistory
- func StatusContains(v string) predicate.RiskHistory
- func StatusContainsFold(v string) predicate.RiskHistory
- func StatusEQ(v string) predicate.RiskHistory
- func StatusEqualFold(v string) predicate.RiskHistory
- func StatusGT(v string) predicate.RiskHistory
- func StatusGTE(v string) predicate.RiskHistory
- func StatusHasPrefix(v string) predicate.RiskHistory
- func StatusHasSuffix(v string) predicate.RiskHistory
- func StatusIn(vs ...string) predicate.RiskHistory
- func StatusIsNil() predicate.RiskHistory
- func StatusLT(v string) predicate.RiskHistory
- func StatusLTE(v string) predicate.RiskHistory
- func StatusNEQ(v string) predicate.RiskHistory
- func StatusNotIn(vs ...string) predicate.RiskHistory
- func StatusNotNil() predicate.RiskHistory
- func TagsIsNil() predicate.RiskHistory
- func TagsNotNil() predicate.RiskHistory
- func UpdatedAt(v time.Time) predicate.RiskHistory
- func UpdatedAtEQ(v time.Time) predicate.RiskHistory
- func UpdatedAtGT(v time.Time) predicate.RiskHistory
- func UpdatedAtGTE(v time.Time) predicate.RiskHistory
- func UpdatedAtIn(vs ...time.Time) predicate.RiskHistory
- func UpdatedAtIsNil() predicate.RiskHistory
- func UpdatedAtLT(v time.Time) predicate.RiskHistory
- func UpdatedAtLTE(v time.Time) predicate.RiskHistory
- func UpdatedAtNEQ(v time.Time) predicate.RiskHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.RiskHistory
- func UpdatedAtNotNil() predicate.RiskHistory
- func UpdatedBy(v string) predicate.RiskHistory
- func UpdatedByContains(v string) predicate.RiskHistory
- func UpdatedByContainsFold(v string) predicate.RiskHistory
- func UpdatedByEQ(v string) predicate.RiskHistory
- func UpdatedByEqualFold(v string) predicate.RiskHistory
- func UpdatedByGT(v string) predicate.RiskHistory
- func UpdatedByGTE(v string) predicate.RiskHistory
- func UpdatedByHasPrefix(v string) predicate.RiskHistory
- func UpdatedByHasSuffix(v string) predicate.RiskHistory
- func UpdatedByIn(vs ...string) predicate.RiskHistory
- func UpdatedByIsNil() predicate.RiskHistory
- func UpdatedByLT(v string) predicate.RiskHistory
- func UpdatedByLTE(v string) predicate.RiskHistory
- func UpdatedByNEQ(v string) predicate.RiskHistory
- func UpdatedByNotIn(vs ...string) predicate.RiskHistory
- func UpdatedByNotNil() predicate.RiskHistory
- func ValidColumn(column string) bool
- type OrderOption
- func ByBusinessCosts(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByImpact(opts ...sql.OrderTermOption) OrderOption
- func ByLikelihood(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByMitigation(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByRef(opts ...sql.OrderTermOption) OrderOption
- func ByRiskType(opts ...sql.OrderTermOption) OrderOption
- func BySatisfies(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the riskhistory type in the database. Label = "risk_history" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHistoryTime holds the string denoting the history_time field in the database. FieldHistoryTime = "history_time" // FieldRef holds the string denoting the ref field in the database. FieldRef = "ref" // FieldOperation holds the string denoting the operation field in the database. FieldOperation = "operation" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldRiskType holds the string denoting the risk_type field in the database. FieldRiskType = "risk_type" // FieldBusinessCosts holds the string denoting the business_costs field in the database. FieldBusinessCosts = "business_costs" // FieldImpact holds the string denoting the impact field in the database. FieldImpact = "impact" // FieldLikelihood holds the string denoting the likelihood field in the database. FieldLikelihood = "likelihood" // FieldMitigation holds the string denoting the mitigation field in the database. FieldMitigation = "mitigation" // FieldSatisfies holds the string denoting the satisfies field in the database. FieldSatisfies = "satisfies" // FieldDetails holds the string denoting the details field in the database. FieldDetails = "details" // Table holds the table name of the riskhistory in the database. Table = "risk_history" )
Variables ¶
var ( // DefaultHistoryTime holds the default value on creation for the "history_time" field. DefaultHistoryTime func() time.Time // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldHistoryTime, FieldRef, FieldOperation, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldMappingID, FieldTags, FieldName, FieldDescription, FieldStatus, FieldRiskType, FieldBusinessCosts, FieldImpact, FieldLikelihood, FieldMitigation, FieldSatisfies, FieldDetails, }
Columns holds all SQL columns for riskhistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.RiskHistory) predicate.RiskHistory
And groups predicates with the AND operator between them.
func BusinessCosts ¶
func BusinessCosts(v string) predicate.RiskHistory
BusinessCosts applies equality check predicate on the "business_costs" field. It's identical to BusinessCostsEQ.
func BusinessCostsContains ¶
func BusinessCostsContains(v string) predicate.RiskHistory
BusinessCostsContains applies the Contains predicate on the "business_costs" field.
func BusinessCostsContainsFold ¶
func BusinessCostsContainsFold(v string) predicate.RiskHistory
BusinessCostsContainsFold applies the ContainsFold predicate on the "business_costs" field.
func BusinessCostsEQ ¶
func BusinessCostsEQ(v string) predicate.RiskHistory
BusinessCostsEQ applies the EQ predicate on the "business_costs" field.
func BusinessCostsEqualFold ¶
func BusinessCostsEqualFold(v string) predicate.RiskHistory
BusinessCostsEqualFold applies the EqualFold predicate on the "business_costs" field.
func BusinessCostsGT ¶
func BusinessCostsGT(v string) predicate.RiskHistory
BusinessCostsGT applies the GT predicate on the "business_costs" field.
func BusinessCostsGTE ¶
func BusinessCostsGTE(v string) predicate.RiskHistory
BusinessCostsGTE applies the GTE predicate on the "business_costs" field.
func BusinessCostsHasPrefix ¶
func BusinessCostsHasPrefix(v string) predicate.RiskHistory
BusinessCostsHasPrefix applies the HasPrefix predicate on the "business_costs" field.
func BusinessCostsHasSuffix ¶
func BusinessCostsHasSuffix(v string) predicate.RiskHistory
BusinessCostsHasSuffix applies the HasSuffix predicate on the "business_costs" field.
func BusinessCostsIn ¶
func BusinessCostsIn(vs ...string) predicate.RiskHistory
BusinessCostsIn applies the In predicate on the "business_costs" field.
func BusinessCostsIsNil ¶
func BusinessCostsIsNil() predicate.RiskHistory
BusinessCostsIsNil applies the IsNil predicate on the "business_costs" field.
func BusinessCostsLT ¶
func BusinessCostsLT(v string) predicate.RiskHistory
BusinessCostsLT applies the LT predicate on the "business_costs" field.
func BusinessCostsLTE ¶
func BusinessCostsLTE(v string) predicate.RiskHistory
BusinessCostsLTE applies the LTE predicate on the "business_costs" field.
func BusinessCostsNEQ ¶
func BusinessCostsNEQ(v string) predicate.RiskHistory
BusinessCostsNEQ applies the NEQ predicate on the "business_costs" field.
func BusinessCostsNotIn ¶
func BusinessCostsNotIn(vs ...string) predicate.RiskHistory
BusinessCostsNotIn applies the NotIn predicate on the "business_costs" field.
func BusinessCostsNotNil ¶
func BusinessCostsNotNil() predicate.RiskHistory
BusinessCostsNotNil applies the NotNil predicate on the "business_costs" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.RiskHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.RiskHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.RiskHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.RiskHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.RiskHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.RiskHistory
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.RiskHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.RiskHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.RiskHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.RiskHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.RiskHistory
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.RiskHistory
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.RiskHistory
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.RiskHistory
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.RiskHistory
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.RiskHistory
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.RiskHistory
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.RiskHistory
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.RiskHistory
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.RiskHistory
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.RiskHistory
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.RiskHistory
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.RiskHistory
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.RiskHistory
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.RiskHistory
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.RiskHistory
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.RiskHistory
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.RiskHistory
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.RiskHistory
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.RiskHistory
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.RiskHistory
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.RiskHistory
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.RiskHistory
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.RiskHistory
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.RiskHistory
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.RiskHistory
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.RiskHistory
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.RiskHistory
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.RiskHistory
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.RiskHistory
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.RiskHistory
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.RiskHistory
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.RiskHistory
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.RiskHistory
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.RiskHistory
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.RiskHistory
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.RiskHistory
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.RiskHistory
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.RiskHistory
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.RiskHistory
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.RiskHistory
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.RiskHistory
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.RiskHistory
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.RiskHistory
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
func Description(v string) predicate.RiskHistory
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.RiskHistory
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.RiskHistory
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.RiskHistory
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.RiskHistory
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.RiskHistory
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.RiskHistory
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.RiskHistory
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.RiskHistory
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.RiskHistory
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.RiskHistory
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.RiskHistory
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.RiskHistory
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.RiskHistory
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.RiskHistory
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.RiskHistory
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DetailsIsNil ¶
func DetailsIsNil() predicate.RiskHistory
DetailsIsNil applies the IsNil predicate on the "details" field.
func DetailsNotNil ¶
func DetailsNotNil() predicate.RiskHistory
DetailsNotNil applies the NotNil predicate on the "details" field.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.RiskHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.RiskHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.RiskHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.RiskHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.RiskHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.RiskHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.RiskHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.RiskHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.RiskHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.RiskHistory
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.RiskHistory
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.RiskHistory
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.RiskHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.RiskHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.RiskHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.RiskHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.RiskHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.RiskHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.RiskHistory
IDNotIn applies the NotIn predicate on the ID field.
func ImpactEQ ¶
func ImpactEQ(v enums.RiskImpact) predicate.RiskHistory
ImpactEQ applies the EQ predicate on the "impact" field.
func ImpactIn ¶
func ImpactIn(vs ...enums.RiskImpact) predicate.RiskHistory
ImpactIn applies the In predicate on the "impact" field.
func ImpactIsNil ¶
func ImpactIsNil() predicate.RiskHistory
ImpactIsNil applies the IsNil predicate on the "impact" field.
func ImpactNEQ ¶
func ImpactNEQ(v enums.RiskImpact) predicate.RiskHistory
ImpactNEQ applies the NEQ predicate on the "impact" field.
func ImpactNotIn ¶
func ImpactNotIn(vs ...enums.RiskImpact) predicate.RiskHistory
ImpactNotIn applies the NotIn predicate on the "impact" field.
func ImpactNotNil ¶
func ImpactNotNil() predicate.RiskHistory
ImpactNotNil applies the NotNil predicate on the "impact" field.
func ImpactValidator ¶
func ImpactValidator(i enums.RiskImpact) error
ImpactValidator is a validator for the "impact" field enum values. It is called by the builders before save.
func LikelihoodEQ ¶
func LikelihoodEQ(v enums.RiskLikelihood) predicate.RiskHistory
LikelihoodEQ applies the EQ predicate on the "likelihood" field.
func LikelihoodIn ¶
func LikelihoodIn(vs ...enums.RiskLikelihood) predicate.RiskHistory
LikelihoodIn applies the In predicate on the "likelihood" field.
func LikelihoodIsNil ¶
func LikelihoodIsNil() predicate.RiskHistory
LikelihoodIsNil applies the IsNil predicate on the "likelihood" field.
func LikelihoodNEQ ¶
func LikelihoodNEQ(v enums.RiskLikelihood) predicate.RiskHistory
LikelihoodNEQ applies the NEQ predicate on the "likelihood" field.
func LikelihoodNotIn ¶
func LikelihoodNotIn(vs ...enums.RiskLikelihood) predicate.RiskHistory
LikelihoodNotIn applies the NotIn predicate on the "likelihood" field.
func LikelihoodNotNil ¶
func LikelihoodNotNil() predicate.RiskHistory
LikelihoodNotNil applies the NotNil predicate on the "likelihood" field.
func LikelihoodValidator ¶
func LikelihoodValidator(l enums.RiskLikelihood) error
LikelihoodValidator is a validator for the "likelihood" field enum values. It is called by the builders before save.
func MappingID ¶
func MappingID(v string) predicate.RiskHistory
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
func MappingIDContains(v string) predicate.RiskHistory
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
func MappingIDContainsFold(v string) predicate.RiskHistory
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
func MappingIDEQ(v string) predicate.RiskHistory
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
func MappingIDEqualFold(v string) predicate.RiskHistory
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
func MappingIDGT(v string) predicate.RiskHistory
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
func MappingIDGTE(v string) predicate.RiskHistory
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
func MappingIDHasPrefix(v string) predicate.RiskHistory
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
func MappingIDHasSuffix(v string) predicate.RiskHistory
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
func MappingIDIn(vs ...string) predicate.RiskHistory
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
func MappingIDLT(v string) predicate.RiskHistory
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
func MappingIDLTE(v string) predicate.RiskHistory
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
func MappingIDNEQ(v string) predicate.RiskHistory
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
func MappingIDNotIn(vs ...string) predicate.RiskHistory
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Mitigation ¶
func Mitigation(v string) predicate.RiskHistory
Mitigation applies equality check predicate on the "mitigation" field. It's identical to MitigationEQ.
func MitigationContains ¶
func MitigationContains(v string) predicate.RiskHistory
MitigationContains applies the Contains predicate on the "mitigation" field.
func MitigationContainsFold ¶
func MitigationContainsFold(v string) predicate.RiskHistory
MitigationContainsFold applies the ContainsFold predicate on the "mitigation" field.
func MitigationEQ ¶
func MitigationEQ(v string) predicate.RiskHistory
MitigationEQ applies the EQ predicate on the "mitigation" field.
func MitigationEqualFold ¶
func MitigationEqualFold(v string) predicate.RiskHistory
MitigationEqualFold applies the EqualFold predicate on the "mitigation" field.
func MitigationGT ¶
func MitigationGT(v string) predicate.RiskHistory
MitigationGT applies the GT predicate on the "mitigation" field.
func MitigationGTE ¶
func MitigationGTE(v string) predicate.RiskHistory
MitigationGTE applies the GTE predicate on the "mitigation" field.
func MitigationHasPrefix ¶
func MitigationHasPrefix(v string) predicate.RiskHistory
MitigationHasPrefix applies the HasPrefix predicate on the "mitigation" field.
func MitigationHasSuffix ¶
func MitigationHasSuffix(v string) predicate.RiskHistory
MitigationHasSuffix applies the HasSuffix predicate on the "mitigation" field.
func MitigationIn ¶
func MitigationIn(vs ...string) predicate.RiskHistory
MitigationIn applies the In predicate on the "mitigation" field.
func MitigationIsNil ¶
func MitigationIsNil() predicate.RiskHistory
MitigationIsNil applies the IsNil predicate on the "mitigation" field.
func MitigationLT ¶
func MitigationLT(v string) predicate.RiskHistory
MitigationLT applies the LT predicate on the "mitigation" field.
func MitigationLTE ¶
func MitigationLTE(v string) predicate.RiskHistory
MitigationLTE applies the LTE predicate on the "mitigation" field.
func MitigationNEQ ¶
func MitigationNEQ(v string) predicate.RiskHistory
MitigationNEQ applies the NEQ predicate on the "mitigation" field.
func MitigationNotIn ¶
func MitigationNotIn(vs ...string) predicate.RiskHistory
MitigationNotIn applies the NotIn predicate on the "mitigation" field.
func MitigationNotNil ¶
func MitigationNotNil() predicate.RiskHistory
MitigationNotNil applies the NotNil predicate on the "mitigation" field.
func Name ¶
func Name(v string) predicate.RiskHistory
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.RiskHistory
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.RiskHistory
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.RiskHistory
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.RiskHistory
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.RiskHistory
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.RiskHistory
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.RiskHistory
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.RiskHistory
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.RiskHistory
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.RiskHistory
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.RiskHistory
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.RiskHistory
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.RiskHistory
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.RiskHistory) predicate.RiskHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v history.OpType) predicate.RiskHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...history.OpType) predicate.RiskHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v history.OpType) predicate.RiskHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...history.OpType) predicate.RiskHistory
OperationNotIn applies the NotIn predicate on the "operation" field.
func OperationValidator ¶
OperationValidator is a validator for the "operation" field enum values. It is called by the builders before save.
func Or ¶
func Or(predicates ...predicate.RiskHistory) predicate.RiskHistory
Or groups predicates with the OR operator between them.
func Ref ¶
func Ref(v string) predicate.RiskHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.RiskHistory
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.RiskHistory
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.RiskHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.RiskHistory
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.RiskHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.RiskHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.RiskHistory
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.RiskHistory
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.RiskHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.RiskHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.RiskHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.RiskHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.RiskHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.RiskHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.RiskHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func RiskType ¶
func RiskType(v string) predicate.RiskHistory
RiskType applies equality check predicate on the "risk_type" field. It's identical to RiskTypeEQ.
func RiskTypeContains ¶
func RiskTypeContains(v string) predicate.RiskHistory
RiskTypeContains applies the Contains predicate on the "risk_type" field.
func RiskTypeContainsFold ¶
func RiskTypeContainsFold(v string) predicate.RiskHistory
RiskTypeContainsFold applies the ContainsFold predicate on the "risk_type" field.
func RiskTypeEQ ¶
func RiskTypeEQ(v string) predicate.RiskHistory
RiskTypeEQ applies the EQ predicate on the "risk_type" field.
func RiskTypeEqualFold ¶
func RiskTypeEqualFold(v string) predicate.RiskHistory
RiskTypeEqualFold applies the EqualFold predicate on the "risk_type" field.
func RiskTypeGT ¶
func RiskTypeGT(v string) predicate.RiskHistory
RiskTypeGT applies the GT predicate on the "risk_type" field.
func RiskTypeGTE ¶
func RiskTypeGTE(v string) predicate.RiskHistory
RiskTypeGTE applies the GTE predicate on the "risk_type" field.
func RiskTypeHasPrefix ¶
func RiskTypeHasPrefix(v string) predicate.RiskHistory
RiskTypeHasPrefix applies the HasPrefix predicate on the "risk_type" field.
func RiskTypeHasSuffix ¶
func RiskTypeHasSuffix(v string) predicate.RiskHistory
RiskTypeHasSuffix applies the HasSuffix predicate on the "risk_type" field.
func RiskTypeIn ¶
func RiskTypeIn(vs ...string) predicate.RiskHistory
RiskTypeIn applies the In predicate on the "risk_type" field.
func RiskTypeIsNil ¶
func RiskTypeIsNil() predicate.RiskHistory
RiskTypeIsNil applies the IsNil predicate on the "risk_type" field.
func RiskTypeLT ¶
func RiskTypeLT(v string) predicate.RiskHistory
RiskTypeLT applies the LT predicate on the "risk_type" field.
func RiskTypeLTE ¶
func RiskTypeLTE(v string) predicate.RiskHistory
RiskTypeLTE applies the LTE predicate on the "risk_type" field.
func RiskTypeNEQ ¶
func RiskTypeNEQ(v string) predicate.RiskHistory
RiskTypeNEQ applies the NEQ predicate on the "risk_type" field.
func RiskTypeNotIn ¶
func RiskTypeNotIn(vs ...string) predicate.RiskHistory
RiskTypeNotIn applies the NotIn predicate on the "risk_type" field.
func RiskTypeNotNil ¶
func RiskTypeNotNil() predicate.RiskHistory
RiskTypeNotNil applies the NotNil predicate on the "risk_type" field.
func Satisfies ¶
func Satisfies(v string) predicate.RiskHistory
Satisfies applies equality check predicate on the "satisfies" field. It's identical to SatisfiesEQ.
func SatisfiesContains ¶
func SatisfiesContains(v string) predicate.RiskHistory
SatisfiesContains applies the Contains predicate on the "satisfies" field.
func SatisfiesContainsFold ¶
func SatisfiesContainsFold(v string) predicate.RiskHistory
SatisfiesContainsFold applies the ContainsFold predicate on the "satisfies" field.
func SatisfiesEQ ¶
func SatisfiesEQ(v string) predicate.RiskHistory
SatisfiesEQ applies the EQ predicate on the "satisfies" field.
func SatisfiesEqualFold ¶
func SatisfiesEqualFold(v string) predicate.RiskHistory
SatisfiesEqualFold applies the EqualFold predicate on the "satisfies" field.
func SatisfiesGT ¶
func SatisfiesGT(v string) predicate.RiskHistory
SatisfiesGT applies the GT predicate on the "satisfies" field.
func SatisfiesGTE ¶
func SatisfiesGTE(v string) predicate.RiskHistory
SatisfiesGTE applies the GTE predicate on the "satisfies" field.
func SatisfiesHasPrefix ¶
func SatisfiesHasPrefix(v string) predicate.RiskHistory
SatisfiesHasPrefix applies the HasPrefix predicate on the "satisfies" field.
func SatisfiesHasSuffix ¶
func SatisfiesHasSuffix(v string) predicate.RiskHistory
SatisfiesHasSuffix applies the HasSuffix predicate on the "satisfies" field.
func SatisfiesIn ¶
func SatisfiesIn(vs ...string) predicate.RiskHistory
SatisfiesIn applies the In predicate on the "satisfies" field.
func SatisfiesIsNil ¶
func SatisfiesIsNil() predicate.RiskHistory
SatisfiesIsNil applies the IsNil predicate on the "satisfies" field.
func SatisfiesLT ¶
func SatisfiesLT(v string) predicate.RiskHistory
SatisfiesLT applies the LT predicate on the "satisfies" field.
func SatisfiesLTE ¶
func SatisfiesLTE(v string) predicate.RiskHistory
SatisfiesLTE applies the LTE predicate on the "satisfies" field.
func SatisfiesNEQ ¶
func SatisfiesNEQ(v string) predicate.RiskHistory
SatisfiesNEQ applies the NEQ predicate on the "satisfies" field.
func SatisfiesNotIn ¶
func SatisfiesNotIn(vs ...string) predicate.RiskHistory
SatisfiesNotIn applies the NotIn predicate on the "satisfies" field.
func SatisfiesNotNil ¶
func SatisfiesNotNil() predicate.RiskHistory
SatisfiesNotNil applies the NotNil predicate on the "satisfies" field.
func Status ¶
func Status(v string) predicate.RiskHistory
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
func StatusContains(v string) predicate.RiskHistory
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
func StatusContainsFold(v string) predicate.RiskHistory
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEQ ¶
func StatusEQ(v string) predicate.RiskHistory
StatusEQ applies the EQ predicate on the "status" field.
func StatusEqualFold ¶
func StatusEqualFold(v string) predicate.RiskHistory
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusGT ¶
func StatusGT(v string) predicate.RiskHistory
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v string) predicate.RiskHistory
StatusGTE applies the GTE predicate on the "status" field.
func StatusHasPrefix ¶
func StatusHasPrefix(v string) predicate.RiskHistory
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
func StatusHasSuffix(v string) predicate.RiskHistory
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...string) predicate.RiskHistory
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.RiskHistory
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusLT ¶
func StatusLT(v string) predicate.RiskHistory
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v string) predicate.RiskHistory
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v string) predicate.RiskHistory
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...string) predicate.RiskHistory
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.RiskHistory
StatusNotNil applies the NotNil predicate on the "status" field.
func TagsIsNil ¶
func TagsIsNil() predicate.RiskHistory
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.RiskHistory
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.RiskHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.RiskHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.RiskHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.RiskHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.RiskHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.RiskHistory
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.RiskHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.RiskHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.RiskHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.RiskHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.RiskHistory
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.RiskHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.RiskHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.RiskHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.RiskHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.RiskHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.RiskHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.RiskHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.RiskHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.RiskHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.RiskHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.RiskHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.RiskHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.RiskHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.RiskHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.RiskHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.RiskHistory
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the RiskHistory queries.
func ByBusinessCosts ¶
func ByBusinessCosts(opts ...sql.OrderTermOption) OrderOption
ByBusinessCosts orders the results by the business_costs field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByHistoryTime ¶
func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
ByHistoryTime orders the results by the history_time field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByImpact ¶
func ByImpact(opts ...sql.OrderTermOption) OrderOption
ByImpact orders the results by the impact field.
func ByLikelihood ¶
func ByLikelihood(opts ...sql.OrderTermOption) OrderOption
ByLikelihood orders the results by the likelihood field.
func ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByMitigation ¶
func ByMitigation(opts ...sql.OrderTermOption) OrderOption
ByMitigation orders the results by the mitigation field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOperation ¶
func ByOperation(opts ...sql.OrderTermOption) OrderOption
ByOperation orders the results by the operation field.
func ByRef ¶
func ByRef(opts ...sql.OrderTermOption) OrderOption
ByRef orders the results by the ref field.
func ByRiskType ¶
func ByRiskType(opts ...sql.OrderTermOption) OrderOption
ByRiskType orders the results by the risk_type field.
func BySatisfies ¶
func BySatisfies(opts ...sql.OrderTermOption) OrderOption
BySatisfies orders the results by the satisfies field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.