package
0.6.8
Repository: https://github.com/theopenlane/core.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
AuditorReadComments applies equality check predicate on the "auditor_read_comments" field.
AuditorReadCommentsEQ applies the EQ predicate on the "auditor_read_comments" field.
AuditorReadCommentsNEQ applies the NEQ predicate on the "auditor_read_comments" field.
AuditorReady applies equality check predicate on the "auditor_ready" field.
AuditorReadyEQ applies the EQ predicate on the "auditor_ready" field.
AuditorReadyNEQ applies the NEQ predicate on the "auditor_ready" field.
AuditorWriteComments applies equality check predicate on the "auditor_write_comments" field.
AuditorWriteCommentsEQ applies the EQ predicate on the "auditor_write_comments" field.
AuditorWriteCommentsNEQ applies the NEQ predicate on the "auditor_write_comments" field.
ByActionPlans orders the results by action_plans terms.
ByActionPlansCount orders the results by action_plans count.
ByAuditorReadComments orders the results by the auditor_read_comments field.
ByAuditorReady orders the results by the auditor_ready field.
ByAuditorWriteComments orders the results by the auditor_write_comments field.
ByBlockedGroups orders the results by blocked_groups terms.
ByBlockedGroupsCount orders the results by blocked_groups count.
ByControlObjectives orders the results by control_objectives terms.
ByControlObjectivesCount orders the results by control_objectives count.
ByControls orders the results by controls terms.
ByControlsCount orders the results by controls 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.
ByEndDate orders the results by the end_date field.
ByFiles orders the results by files terms.
ByFilesCount orders the results by files count.
ByID orders the results by the id field.
ByInternalPolicies orders the results by internal_policies terms.
ByInternalPoliciesCount orders the results by internal_policies count.
ByMappingID orders the results by the mapping_id field.
ByMembers orders the results by members terms.
ByMembersCount orders the results by members count.
ByName orders the results by the name field.
ByNarratives orders the results by narratives terms.
ByNarrativesCount orders the results by narratives count.
ByNotes orders the results by notes terms.
ByNotesCount orders the results by notes count.
ByOwnerField orders the results by owner field.
ByOwnerID orders the results by the owner_id field.
ByProcedures orders the results by procedures terms.
ByProceduresCount orders the results by procedures count.
ByRisks orders the results by risks terms.
ByRisksCount orders the results by risks count.
ByStandards orders the results by standards terms.
ByStandardsCount orders the results by standards count.
ByStartDate orders the results by the start_date field.
ByStatus orders the results by the status field.
BySubcontrols orders the results by subcontrols terms.
BySubcontrolsCount orders the results by subcontrols count.
ByTasks orders the results by tasks terms.
ByTasksCount orders the results by tasks count.
ByUpdatedAt orders the results by the updated_at field.
ByUpdatedBy orders the results by the updated_by field.
ByUsers orders the results by users terms.
ByUsersCount orders the results by users count.
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.
EndDate applies equality check predicate on the "end_date" field.
EndDateEQ applies the EQ predicate on the "end_date" field.
EndDateGT applies the GT predicate on the "end_date" field.
EndDateGTE applies the GTE predicate on the "end_date" field.
EndDateIn applies the In predicate on the "end_date" field.
EndDateIsNil applies the IsNil predicate on the "end_date" field.
EndDateLT applies the LT predicate on the "end_date" field.
EndDateLTE applies the LTE predicate on the "end_date" field.
EndDateNEQ applies the NEQ predicate on the "end_date" field.
EndDateNotIn applies the NotIn predicate on the "end_date" field.
EndDateNotNil applies the NotNil predicate on the "end_date" 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).
HasControlObjectives applies the HasEdge predicate on the "control_objectives" edge.
HasControlObjectivesWith applies the HasEdge predicate on the "control_objectives" edge with a given conditions (other predicates).
HasControls applies the HasEdge predicate on the "controls" edge.
HasControlsWith applies the HasEdge predicate on the "controls" 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).
HasFiles applies the HasEdge predicate on the "files" edge.
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
HasInternalPolicies applies the HasEdge predicate on the "internal_policies" edge.
HasInternalPoliciesWith applies the HasEdge predicate on the "internal_policies" edge with a given conditions (other predicates).
HasMembers applies the HasEdge predicate on the "members" edge.
HasMembersWith applies the HasEdge predicate on the "members" edge with a given conditions (other predicates).
HasNarratives applies the HasEdge predicate on the "narratives" edge.
HasNarrativesWith applies the HasEdge predicate on the "narratives" edge with a given conditions (other predicates).
HasNotes applies the HasEdge predicate on the "notes" edge.
HasNotesWith applies the HasEdge predicate on the "notes" 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).
HasProcedures applies the HasEdge predicate on the "procedures" edge.
HasProceduresWith applies the HasEdge predicate on the "procedures" edge with a given conditions (other predicates).
HasRisks applies the HasEdge predicate on the "risks" edge.
HasRisksWith applies the HasEdge predicate on the "risks" edge with a given conditions (other predicates).
HasStandards applies the HasEdge predicate on the "standards" edge.
HasStandardsWith applies the HasEdge predicate on the "standards" edge with a given conditions (other predicates).
HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.
HasSubcontrolsWith applies the HasEdge predicate on the "subcontrols" edge with a given conditions (other predicates).
HasTasks applies the HasEdge predicate on the "tasks" edge.
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
HasUsers applies the HasEdge predicate on the "users" edge.
HasUsersWith applies the HasEdge predicate on the "users" 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.
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.
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.
OwnerIDIsNil applies the IsNil 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.
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
StartDate applies equality check predicate on the "start_date" field.
StartDateEQ applies the EQ predicate on the "start_date" field.
StartDateGT applies the GT predicate on the "start_date" field.
StartDateGTE applies the GTE predicate on the "start_date" field.
StartDateIn applies the In predicate on the "start_date" field.
StartDateIsNil applies the IsNil predicate on the "start_date" field.
StartDateLT applies the LT predicate on the "start_date" field.
StartDateLTE applies the LTE predicate on the "start_date" field.
StartDateNEQ applies the NEQ predicate on the "start_date" field.
StartDateNotIn applies the NotIn predicate on the "start_date" field.
StartDateNotNil applies the NotNil predicate on the "start_date" field.
StatusEQ applies the EQ predicate on the "status" field.
StatusIn applies the In predicate on the "status" field.
StatusNEQ applies the NEQ predicate on the "status" field.
StatusNotIn applies the NotIn predicate on the "status" field.
StatusValidator is a validator for the "status" field enum values.
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.
ControlObjectivesInverseTable is the table name for the ControlObjective entity.
ControlObjectivesTable is the table that holds the control_objectives relation/edge.
ControlsInverseTable is the table name for the Control entity.
ControlsTable is the table that holds the controls relation/edge.
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.
EdgeControlObjectives holds the string denoting the control_objectives edge name in mutations.
EdgeControls holds the string denoting the controls edge name in mutations.
EdgeEditors holds the string denoting the editors edge name in mutations.
EdgeFiles holds the string denoting the files edge name in mutations.
EdgeInternalPolicies holds the string denoting the internal_policies edge name in mutations.
EdgeMembers holds the string denoting the members edge name in mutations.
EdgeNarratives holds the string denoting the narratives edge name in mutations.
EdgeNotes holds the string denoting the notes edge name in mutations.
EdgeOwner holds the string denoting the owner edge name in mutations.
EdgeProcedures holds the string denoting the procedures edge name in mutations.
EdgeRisks holds the string denoting the risks edge name in mutations.
EdgeStandards holds the string denoting the standards edge name in mutations.
EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations.
EdgeTasks holds the string denoting the tasks edge name in mutations.
EdgeUsers holds the string denoting the users 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.
FieldAuditorReadComments holds the string denoting the auditor_read_comments field in the database.
FieldAuditorReady holds the string denoting the auditor_ready field in the database.
FieldAuditorWriteComments holds the string denoting the auditor_write_comments 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.
FieldEndDate holds the string denoting the end_date field in the database.
FieldID holds the string denoting the id field in the database.
FieldMappingID holds the string denoting the mapping_id 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.
FieldStartDate holds the string denoting the start_date 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.
FilesInverseTable is the table name for the File entity.
FilesTable is the table that holds the files relation/edge.
InternalPoliciesInverseTable is the table name for the InternalPolicy entity.
InternalPoliciesTable is the table that holds the internal_policies relation/edge.
Label holds the string label denoting the program type in the database.
MembersColumn is the table column denoting the members relation/edge.
MembersInverseTable is the table name for the ProgramMembership entity.
MembersTable is the table that holds the members relation/edge.
NarrativesInverseTable is the table name for the Narrative entity.
NarrativesTable is the table that holds the narratives relation/edge.
NotesInverseTable is the table name for the Note entity.
NotesTable is the table that holds the notes relation/edge.
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.
ProceduresInverseTable is the table name for the Procedure entity.
ProceduresTable is the table that holds the procedures relation/edge.
RisksInverseTable is the table name for the Risk entity.
RisksTable is the table that holds the risks relation/edge.
StandardsInverseTable is the table name for the Standard entity.
StandardsTable is the table that holds the standards relation/edge.
SubcontrolsInverseTable is the table name for the Subcontrol entity.
SubcontrolsTable is the table that holds the subcontrols relation/edge.
Table holds the table name of the program in the database.
TasksInverseTable is the table name for the Task entity.
TasksTable is the table that holds the tasks relation/edge.
UsersInverseTable is the table name for the User entity.
UsersTable is the table that holds the users relation/edge.
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 program fields.
ControlObjectivesPrimaryKey and ControlObjectivesColumn2 are the table columns denoting the primary key for the control_objectives relation (M2M).
ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the primary key for the controls relation (M2M).
DefaultAuditorReadComments holds the default value on creation for the "auditor_read_comments" field.
DefaultAuditorReady holds the default value on creation for the "auditor_ready" field.
DefaultAuditorWriteComments holds the default value on creation for the "auditor_write_comments" field.
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).
FilesPrimaryKey and FilesColumn2 are the table columns denoting the primary key for the files relation (M2M).
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.
InternalPoliciesPrimaryKey and InternalPoliciesColumn2 are the table columns denoting the primary key for the internal_policies relation (M2M).
NameValidator is a validator for the "name" field.
NarrativesPrimaryKey and NarrativesColumn2 are the table columns denoting the primary key for the narratives relation (M2M).
NotesPrimaryKey and NotesColumn2 are the table columns denoting the primary key for the notes relation (M2M).
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.
ProceduresPrimaryKey and ProceduresColumn2 are the table columns denoting the primary key for the procedures relation (M2M).
RisksPrimaryKey and RisksColumn2 are the table columns denoting the primary key for the risks relation (M2M).
StandardsPrimaryKey and StandardsColumn2 are the table columns denoting the primary key for the standards relation (M2M).
SubcontrolsPrimaryKey and SubcontrolsColumn2 are the table columns denoting the primary key for the subcontrols relation (M2M).
TasksPrimaryKey and TasksColumn2 are the table columns denoting the primary key for the tasks relation (M2M).
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
UsersPrimaryKey and UsersColumn2 are the table columns denoting the primary key for the users relation (M2M).
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 Program queries.