# Functions
And groups predicates with the AND operator between them.
BusinessCosts applies equality check predicate on the "business_costs" field.
BusinessCostsContains applies the Contains predicate on the "business_costs" field.
BusinessCostsContainsFold applies the ContainsFold predicate on the "business_costs" field.
BusinessCostsEQ applies the EQ predicate on the "business_costs" field.
BusinessCostsEqualFold applies the EqualFold predicate on the "business_costs" field.
BusinessCostsGT applies the GT predicate on the "business_costs" field.
BusinessCostsGTE applies the GTE predicate on the "business_costs" field.
BusinessCostsHasPrefix applies the HasPrefix predicate on the "business_costs" field.
BusinessCostsHasSuffix applies the HasSuffix predicate on the "business_costs" field.
BusinessCostsIn applies the In predicate on the "business_costs" field.
BusinessCostsIsNil applies the IsNil predicate on the "business_costs" field.
BusinessCostsLT applies the LT predicate on the "business_costs" field.
BusinessCostsLTE applies the LTE predicate on the "business_costs" field.
BusinessCostsNEQ applies the NEQ predicate on the "business_costs" field.
BusinessCostsNotIn applies the NotIn predicate on the "business_costs" field.
BusinessCostsNotNil applies the NotNil predicate on the "business_costs" field.
ByActionPlans orders the results by action_plans terms.
ByActionPlansCount orders the results by action_plans count.
ByBlockedGroups orders the results by blocked_groups terms.
ByBlockedGroupsCount orders the results by blocked_groups count.
ByBusinessCosts orders the results by the business_costs field.
ByControl orders the results by control terms.
ByControlCount orders the results by control count.
ByCreatedAt orders the results by the created_at field.
ByCreatedBy orders the results by the created_by field.
ByDeletedAt orders the results by the deleted_at field.
ByDeletedBy orders the results by the deleted_by field.
ByDescription orders the results by the description field.
ByEditors orders the results by editors terms.
ByEditorsCount orders the results by editors count.
ByID orders the results by the id field.
ByImpact orders the results by the impact field.
ByLikelihood orders the results by the likelihood field.
ByMappingID orders the results by the mapping_id field.
ByMitigation orders the results by the mitigation field.
ByName orders the results by the name field.
ByOwnerField orders the results by owner field.
ByOwnerID orders the results by the owner_id field.
ByProcedure orders the results by procedure terms.
ByProcedureCount orders the results by procedure count.
ByPrograms orders the results by programs terms.
ByProgramsCount orders the results by programs count.
ByRiskType orders the results by the risk_type field.
BySatisfies orders the results by the satisfies field.
ByStatus orders the results by the status field.
ByUpdatedAt orders the results by the updated_at field.
ByUpdatedBy orders the results by the updated_by field.
ByViewers orders the results by viewers terms.
ByViewersCount orders the results by viewers count.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
CreatedBy applies equality check predicate on the "created_by" field.
CreatedByContains applies the Contains predicate on the "created_by" field.
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
CreatedByEQ applies the EQ predicate on the "created_by" field.
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
CreatedByGT applies the GT predicate on the "created_by" field.
CreatedByGTE applies the GTE predicate on the "created_by" field.
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
CreatedByIn applies the In predicate on the "created_by" field.
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
CreatedByLT applies the LT predicate on the "created_by" field.
CreatedByLTE applies the LTE predicate on the "created_by" field.
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
DeletedAt applies equality check predicate on the "deleted_at" field.
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
DeletedAtGT applies the GT predicate on the "deleted_at" field.
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
DeletedAtIn applies the In predicate on the "deleted_at" field.
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
DeletedAtLT applies the LT predicate on the "deleted_at" field.
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
DeletedBy applies equality check predicate on the "deleted_by" field.
DeletedByContains applies the Contains predicate on the "deleted_by" field.
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
DeletedByGT applies the GT predicate on the "deleted_by" field.
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
DeletedByIn applies the In predicate on the "deleted_by" field.
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
DeletedByLT applies the LT predicate on the "deleted_by" field.
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
Description applies equality check predicate on the "description" field.
DescriptionContains applies the Contains predicate on the "description" field.
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
DescriptionEQ applies the EQ predicate on the "description" field.
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
DescriptionGT applies the GT predicate on the "description" field.
DescriptionGTE applies the GTE predicate on the "description" field.
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
DescriptionIn applies the In predicate on the "description" field.
DescriptionIsNil applies the IsNil predicate on the "description" field.
DescriptionLT applies the LT predicate on the "description" field.
DescriptionLTE applies the LTE predicate on the "description" field.
DescriptionNEQ applies the NEQ predicate on the "description" field.
DescriptionNotIn applies the NotIn predicate on the "description" field.
DescriptionNotNil applies the NotNil predicate on the "description" field.
DetailsIsNil applies the IsNil predicate on the "details" field.
DetailsNotNil applies the NotNil predicate on the "details" field.
HasActionPlans applies the HasEdge predicate on the "action_plans" edge.
HasActionPlansWith applies the HasEdge predicate on the "action_plans" edge with a given conditions (other predicates).
HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.
HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).
HasControl applies the HasEdge predicate on the "control" edge.
HasControlWith applies the HasEdge predicate on the "control" edge with a given conditions (other predicates).
HasEditors applies the HasEdge predicate on the "editors" edge.
HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).
HasOwner applies the HasEdge predicate on the "owner" edge.
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
HasProcedure applies the HasEdge predicate on the "procedure" edge.
HasProcedureWith applies the HasEdge predicate on the "procedure" edge with a given conditions (other predicates).
HasPrograms applies the HasEdge predicate on the "programs" edge.
HasProgramsWith applies the HasEdge predicate on the "programs" edge with a given conditions (other predicates).
HasViewers applies the HasEdge predicate on the "viewers" edge.
HasViewersWith applies the HasEdge predicate on the "viewers" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDContainsFold applies the ContainsFold predicate on the ID field.
IDEQ applies the EQ predicate on the ID field.
IDEqualFold applies the EqualFold predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
ImpactEQ applies the EQ predicate on the "impact" field.
ImpactIn applies the In predicate on the "impact" field.
ImpactIsNil applies the IsNil predicate on the "impact" field.
ImpactNEQ applies the NEQ predicate on the "impact" field.
ImpactNotIn applies the NotIn predicate on the "impact" field.
ImpactNotNil applies the NotNil predicate on the "impact" field.
ImpactValidator is a validator for the "impact" field enum values.
LikelihoodEQ applies the EQ predicate on the "likelihood" field.
LikelihoodIn applies the In predicate on the "likelihood" field.
LikelihoodIsNil applies the IsNil predicate on the "likelihood" field.
LikelihoodNEQ applies the NEQ predicate on the "likelihood" field.
LikelihoodNotIn applies the NotIn predicate on the "likelihood" field.
LikelihoodNotNil applies the NotNil predicate on the "likelihood" field.
LikelihoodValidator is a validator for the "likelihood" field enum values.
MappingID applies equality check predicate on the "mapping_id" field.
MappingIDContains applies the Contains predicate on the "mapping_id" field.
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
MappingIDGT applies the GT predicate on the "mapping_id" field.
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
MappingIDIn applies the In predicate on the "mapping_id" field.
MappingIDLT applies the LT predicate on the "mapping_id" field.
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
Mitigation applies equality check predicate on the "mitigation" field.
MitigationContains applies the Contains predicate on the "mitigation" field.
MitigationContainsFold applies the ContainsFold predicate on the "mitigation" field.
MitigationEQ applies the EQ predicate on the "mitigation" field.
MitigationEqualFold applies the EqualFold predicate on the "mitigation" field.
MitigationGT applies the GT predicate on the "mitigation" field.
MitigationGTE applies the GTE predicate on the "mitigation" field.
MitigationHasPrefix applies the HasPrefix predicate on the "mitigation" field.
MitigationHasSuffix applies the HasSuffix predicate on the "mitigation" field.
MitigationIn applies the In predicate on the "mitigation" field.
MitigationIsNil applies the IsNil predicate on the "mitigation" field.
MitigationLT applies the LT predicate on the "mitigation" field.
MitigationLTE applies the LTE predicate on the "mitigation" field.
MitigationNEQ applies the NEQ predicate on the "mitigation" field.
MitigationNotIn applies the NotIn predicate on the "mitigation" field.
MitigationNotNil applies the NotNil predicate on the "mitigation" field.
Name applies equality check predicate on the "name" field.
NameContains applies the Contains predicate on the "name" field.
NameContainsFold applies the ContainsFold predicate on the "name" field.
NameEQ applies the EQ predicate on the "name" field.
NameEqualFold applies the EqualFold predicate on the "name" field.
NameGT applies the GT predicate on the "name" field.
NameGTE applies the GTE predicate on the "name" field.
NameHasPrefix applies the HasPrefix predicate on the "name" field.
NameHasSuffix applies the HasSuffix predicate on the "name" field.
NameIn applies the In predicate on the "name" field.
NameLT applies the LT predicate on the "name" field.
NameLTE applies the LTE predicate on the "name" field.
NameNEQ applies the NEQ predicate on the "name" field.
NameNotIn applies the NotIn predicate on the "name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
OwnerID applies equality check predicate on the "owner_id" field.
OwnerIDContains applies the Contains predicate on the "owner_id" field.
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
OwnerIDGT applies the GT predicate on the "owner_id" field.
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
OwnerIDIn applies the In predicate on the "owner_id" field.
OwnerIDLT applies the LT predicate on the "owner_id" field.
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
RiskType applies equality check predicate on the "risk_type" field.
RiskTypeContains applies the Contains predicate on the "risk_type" field.
RiskTypeContainsFold applies the ContainsFold predicate on the "risk_type" field.
RiskTypeEQ applies the EQ predicate on the "risk_type" field.
RiskTypeEqualFold applies the EqualFold predicate on the "risk_type" field.
RiskTypeGT applies the GT predicate on the "risk_type" field.
RiskTypeGTE applies the GTE predicate on the "risk_type" field.
RiskTypeHasPrefix applies the HasPrefix predicate on the "risk_type" field.
RiskTypeHasSuffix applies the HasSuffix predicate on the "risk_type" field.
RiskTypeIn applies the In predicate on the "risk_type" field.
RiskTypeIsNil applies the IsNil predicate on the "risk_type" field.
RiskTypeLT applies the LT predicate on the "risk_type" field.
RiskTypeLTE applies the LTE predicate on the "risk_type" field.
RiskTypeNEQ applies the NEQ predicate on the "risk_type" field.
RiskTypeNotIn applies the NotIn predicate on the "risk_type" field.
RiskTypeNotNil applies the NotNil predicate on the "risk_type" field.
Satisfies applies equality check predicate on the "satisfies" field.
SatisfiesContains applies the Contains predicate on the "satisfies" field.
SatisfiesContainsFold applies the ContainsFold predicate on the "satisfies" field.
SatisfiesEQ applies the EQ predicate on the "satisfies" field.
SatisfiesEqualFold applies the EqualFold predicate on the "satisfies" field.
SatisfiesGT applies the GT predicate on the "satisfies" field.
SatisfiesGTE applies the GTE predicate on the "satisfies" field.
SatisfiesHasPrefix applies the HasPrefix predicate on the "satisfies" field.
SatisfiesHasSuffix applies the HasSuffix predicate on the "satisfies" field.
SatisfiesIn applies the In predicate on the "satisfies" field.
SatisfiesIsNil applies the IsNil predicate on the "satisfies" field.
SatisfiesLT applies the LT predicate on the "satisfies" field.
SatisfiesLTE applies the LTE predicate on the "satisfies" field.
SatisfiesNEQ applies the NEQ predicate on the "satisfies" field.
SatisfiesNotIn applies the NotIn predicate on the "satisfies" field.
SatisfiesNotNil applies the NotNil predicate on the "satisfies" field.
Status applies equality check predicate on the "status" field.
StatusContains applies the Contains predicate on the "status" field.
StatusContainsFold applies the ContainsFold predicate on the "status" field.
StatusEQ applies the EQ predicate on the "status" field.
StatusEqualFold applies the EqualFold predicate on the "status" field.
StatusGT applies the GT predicate on the "status" field.
StatusGTE applies the GTE predicate on the "status" field.
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
StatusIn applies the In predicate on the "status" field.
StatusIsNil applies the IsNil predicate on the "status" field.
StatusLT applies the LT predicate on the "status" field.
StatusLTE applies the LTE predicate on the "status" field.
StatusNEQ applies the NEQ predicate on the "status" field.
StatusNotIn applies the NotIn predicate on the "status" field.
StatusNotNil applies the NotNil predicate on the "status" field.
TagsIsNil applies the IsNil predicate on the "tags" field.
TagsNotNil applies the NotNil predicate on the "tags" field.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
UpdatedBy applies equality check predicate on the "updated_by" field.
UpdatedByContains applies the Contains predicate on the "updated_by" field.
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
UpdatedByGT applies the GT predicate on the "updated_by" field.
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
UpdatedByIn applies the In predicate on the "updated_by" field.
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
UpdatedByLT applies the LT predicate on the "updated_by" field.
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
ActionPlansInverseTable is the table name for the ActionPlan entity.
ActionPlansTable is the table that holds the action_plans relation/edge.
BlockedGroupsInverseTable is the table name for the Group entity.
BlockedGroupsTable is the table that holds the blocked_groups relation/edge.
ControlInverseTable is the table name for the Control entity.
ControlTable is the table that holds the control relation/edge.
No description provided by the author
No description provided by the author
EdgeActionPlans holds the string denoting the action_plans edge name in mutations.
EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations.
EdgeControl holds the string denoting the control edge name in mutations.
EdgeEditors holds the string denoting the editors edge name in mutations.
EdgeOwner holds the string denoting the owner edge name in mutations.
EdgeProcedure holds the string denoting the procedure edge name in mutations.
EdgePrograms holds the string denoting the programs edge name in mutations.
EdgeViewers holds the string denoting the viewers edge name in mutations.
EditorsInverseTable is the table name for the Group entity.
EditorsTable is the table that holds the editors relation/edge.
FieldBusinessCosts holds the string denoting the business_costs field in the database.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldCreatedBy holds the string denoting the created_by field in the database.
FieldDeletedAt holds the string denoting the deleted_at field in the database.
FieldDeletedBy holds the string denoting the deleted_by field in the database.
FieldDescription holds the string denoting the description field in the database.
FieldDetails holds the string denoting the details field in the database.
FieldID holds the string denoting the id field in the database.
FieldImpact holds the string denoting the impact field in the database.
FieldLikelihood holds the string denoting the likelihood field in the database.
FieldMappingID holds the string denoting the mapping_id field in the database.
FieldMitigation holds the string denoting the mitigation field in the database.
FieldName holds the string denoting the name field in the database.
FieldOwnerID holds the string denoting the owner_id field in the database.
FieldRiskType holds the string denoting the risk_type field in the database.
FieldSatisfies holds the string denoting the satisfies field in the database.
FieldStatus holds the string denoting the status field in the database.
FieldTags holds the string denoting the tags field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
FieldUpdatedBy holds the string denoting the updated_by field in the database.
Label holds the string label denoting the risk type in the database.
OwnerColumn is the table column denoting the owner relation/edge.
OwnerInverseTable is the table name for the Organization entity.
OwnerTable is the table that holds the owner relation/edge.
ProcedureInverseTable is the table name for the Procedure entity.
ProcedureTable is the table that holds the procedure relation/edge.
ProgramsInverseTable is the table name for the Program entity.
ProgramsTable is the table that holds the programs relation/edge.
Table holds the table name of the risk in the database.
ViewersInverseTable is the table name for the Group entity.
ViewersTable is the table that holds the viewers relation/edge.
# Variables
ActionPlansPrimaryKey and ActionPlansColumn2 are the table columns denoting the primary key for the action_plans relation (M2M).
BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the primary key for the blocked_groups relation (M2M).
Columns holds all SQL columns for risk fields.
ControlPrimaryKey and ControlColumn2 are the table columns denoting the primary key for the control relation (M2M).
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultID holds the default value on creation for the "id" field.
DefaultMappingID holds the default value on creation for the "mapping_id" field.
DefaultTags holds the default value on creation for the "tags" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the primary key for the editors relation (M2M).
ForeignKeys holds the SQL foreign-keys that are owned by the "risks" table and are not defined as standalone fields in the schema.
Note that the variables below are initialized by the runtime package on the initialization of the application.
Note that the variables below are initialized by the runtime package on the initialization of the application.
NameValidator is a validator for the "name" field.
OwnerIDValidator is a validator for the "owner_id" field.
Note that the variables below are initialized by the runtime package on the initialization of the application.
ProcedurePrimaryKey and ProcedureColumn2 are the table columns denoting the primary key for the procedure relation (M2M).
ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the primary key for the programs relation (M2M).
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
ViewersPrimaryKey and ViewersColumn2 are the table columns denoting the primary key for the viewers relation (M2M).
# Type aliases
OrderOption defines the ordering options for the Risk queries.