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.
ByBlockedGroups orders the results by blocked_groups terms.
ByBlockedGroupsCount orders the results by blocked_groups count.
ByControl orders the results by control terms.
ByControlCount orders the results by control count.
ByControlObjective orders the results by control_objective terms.
ByControlObjectiveCount orders the results by control_objective 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.
ByInternalPolicy orders the results by internal_policy terms.
ByInternalPolicyCount orders the results by internal_policy count.
ByMappingID orders the results by the mapping_id 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.
BySatisfies orders the results by the satisfies 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.
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.
HasControlObjective applies the HasEdge predicate on the "control_objective" edge.
HasControlObjectiveWith applies the HasEdge predicate on the "control_objective" edge with a given conditions (other predicates).
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).
HasInternalPolicy applies the HasEdge predicate on the "internal_policy" edge.
HasInternalPolicyWith applies the HasEdge predicate on the "internal_policy" 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.
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.
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.
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.
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

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.
ControlObjectiveInverseTable is the table name for the ControlObjective entity.
ControlObjectiveTable is the table that holds the control_objective relation/edge.
ControlTable is the table that holds the control relation/edge.
EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations.
EdgeControl holds the string denoting the control edge name in mutations.
EdgeControlObjective holds the string denoting the control_objective edge name in mutations.
EdgeEditors holds the string denoting the editors edge name in mutations.
EdgeInternalPolicy holds the string denoting the internal_policy 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.
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.
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.
FieldSatisfies holds the string denoting the satisfies 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.
InternalPolicyInverseTable is the table name for the InternalPolicy entity.
InternalPolicyTable is the table that holds the internal_policy relation/edge.
Label holds the string label denoting the narrative 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 narrative in the database.
ViewersInverseTable is the table name for the Group entity.
ViewersTable is the table that holds the viewers relation/edge.

# Variables

BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the primary key for the blocked_groups relation (M2M).
Columns holds all SQL columns for narrative fields.
ControlObjectivePrimaryKey and ControlObjectiveColumn2 are the table columns denoting the primary key for the control_objective relation (M2M).
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).
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.
InternalPolicyPrimaryKey and InternalPolicyColumn2 are the table columns denoting the primary key for the internal_policy relation (M2M).
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 Narrative queries.