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.
ByCorrelationID orders the results by the correlation_id field.
ByCreatedAt orders the results by the created_at field.
ByCreatedBy orders the results by the created_by field.
ByEventID orders the results by the event_id field.
ByEventType orders the results by the event_type field.
ByFile orders the results by file terms.
ByFileCount orders the results by file count.
ByGroup orders the results by group terms.
ByGroupCount orders the results by group count.
ByGroupmembership orders the results by groupmembership terms.
ByGroupmembershipCount orders the results by groupmembership count.
ByHush orders the results by hush terms.
ByHushCount orders the results by hush count.
ByID orders the results by the id field.
ByIntegration orders the results by integration terms.
ByIntegrationCount orders the results by integration count.
ByInvite orders the results by invite terms.
ByInviteCount orders the results by invite count.
ByMappingID orders the results by the mapping_id field.
ByOrganization orders the results by organization terms.
ByOrganizationCount orders the results by organization count.
ByOrgmembership orders the results by orgmembership terms.
ByOrgmembershipCount orders the results by orgmembership count.
ByPersonalAccessToken orders the results by personal_access_token terms.
ByPersonalAccessTokenCount orders the results by personal_access_token count.
BySubscriber orders the results by subscriber terms.
BySubscriberCount orders the results by subscriber count.
ByUpdatedAt orders the results by the updated_at field.
ByUpdatedBy orders the results by the updated_by field.
ByUser orders the results by user terms.
ByUserCount orders the results by user count.
CorrelationID applies equality check predicate on the "correlation_id" field.
CorrelationIDContains applies the Contains predicate on the "correlation_id" field.
CorrelationIDContainsFold applies the ContainsFold predicate on the "correlation_id" field.
CorrelationIDEQ applies the EQ predicate on the "correlation_id" field.
CorrelationIDEqualFold applies the EqualFold predicate on the "correlation_id" field.
CorrelationIDGT applies the GT predicate on the "correlation_id" field.
CorrelationIDGTE applies the GTE predicate on the "correlation_id" field.
CorrelationIDHasPrefix applies the HasPrefix predicate on the "correlation_id" field.
CorrelationIDHasSuffix applies the HasSuffix predicate on the "correlation_id" field.
CorrelationIDIn applies the In predicate on the "correlation_id" field.
CorrelationIDIsNil applies the IsNil predicate on the "correlation_id" field.
CorrelationIDLT applies the LT predicate on the "correlation_id" field.
CorrelationIDLTE applies the LTE predicate on the "correlation_id" field.
CorrelationIDNEQ applies the NEQ predicate on the "correlation_id" field.
CorrelationIDNotIn applies the NotIn predicate on the "correlation_id" field.
CorrelationIDNotNil applies the NotNil predicate on the "correlation_id" field.
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.
EventID applies equality check predicate on the "event_id" field.
EventIDContains applies the Contains predicate on the "event_id" field.
EventIDContainsFold applies the ContainsFold predicate on the "event_id" field.
EventIDEQ applies the EQ predicate on the "event_id" field.
EventIDEqualFold applies the EqualFold predicate on the "event_id" field.
EventIDGT applies the GT predicate on the "event_id" field.
EventIDGTE applies the GTE predicate on the "event_id" field.
EventIDHasPrefix applies the HasPrefix predicate on the "event_id" field.
EventIDHasSuffix applies the HasSuffix predicate on the "event_id" field.
EventIDIn applies the In predicate on the "event_id" field.
EventIDIsNil applies the IsNil predicate on the "event_id" field.
EventIDLT applies the LT predicate on the "event_id" field.
EventIDLTE applies the LTE predicate on the "event_id" field.
EventIDNEQ applies the NEQ predicate on the "event_id" field.
EventIDNotIn applies the NotIn predicate on the "event_id" field.
EventIDNotNil applies the NotNil predicate on the "event_id" field.
EventType applies equality check predicate on the "event_type" field.
EventTypeContains applies the Contains predicate on the "event_type" field.
EventTypeContainsFold applies the ContainsFold predicate on the "event_type" field.
EventTypeEQ applies the EQ predicate on the "event_type" field.
EventTypeEqualFold applies the EqualFold predicate on the "event_type" field.
EventTypeGT applies the GT predicate on the "event_type" field.
EventTypeGTE applies the GTE predicate on the "event_type" field.
EventTypeHasPrefix applies the HasPrefix predicate on the "event_type" field.
EventTypeHasSuffix applies the HasSuffix predicate on the "event_type" field.
EventTypeIn applies the In predicate on the "event_type" field.
EventTypeLT applies the LT predicate on the "event_type" field.
EventTypeLTE applies the LTE predicate on the "event_type" field.
EventTypeNEQ applies the NEQ predicate on the "event_type" field.
EventTypeNotIn applies the NotIn predicate on the "event_type" field.
HasFile applies the HasEdge predicate on the "file" edge.
HasFileWith applies the HasEdge predicate on the "file" edge with a given conditions (other predicates).
HasGroup applies the HasEdge predicate on the "group" edge.
HasGroupmembership applies the HasEdge predicate on the "groupmembership" edge.
HasGroupmembershipWith applies the HasEdge predicate on the "groupmembership" edge with a given conditions (other predicates).
HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).
HasHush applies the HasEdge predicate on the "hush" edge.
HasHushWith applies the HasEdge predicate on the "hush" edge with a given conditions (other predicates).
HasIntegration applies the HasEdge predicate on the "integration" edge.
HasIntegrationWith applies the HasEdge predicate on the "integration" edge with a given conditions (other predicates).
HasInvite applies the HasEdge predicate on the "invite" edge.
HasInviteWith applies the HasEdge predicate on the "invite" edge with a given conditions (other predicates).
HasOrganization applies the HasEdge predicate on the "organization" edge.
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
HasOrgmembership applies the HasEdge predicate on the "orgmembership" edge.
HasOrgmembershipWith applies the HasEdge predicate on the "orgmembership" edge with a given conditions (other predicates).
HasPersonalAccessToken applies the HasEdge predicate on the "personal_access_token" edge.
HasPersonalAccessTokenWith applies the HasEdge predicate on the "personal_access_token" edge with a given conditions (other predicates).
HasSubscriber applies the HasEdge predicate on the "subscriber" edge.
HasSubscriberWith applies the HasEdge predicate on the "subscriber" edge with a given conditions (other predicates).
HasUser applies the HasEdge predicate on the "user" edge.
HasUserWith applies the HasEdge predicate on the "user" 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.
MetadataIsNil applies the IsNil predicate on the "metadata" field.
MetadataNotNil applies the NotNil predicate on the "metadata" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
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

EdgeFile holds the string denoting the file edge name in mutations.
EdgeGroup holds the string denoting the group edge name in mutations.
EdgeGroupmembership holds the string denoting the groupmembership edge name in mutations.
EdgeHush holds the string denoting the hush edge name in mutations.
EdgeIntegration holds the string denoting the integration edge name in mutations.
EdgeInvite holds the string denoting the invite edge name in mutations.
EdgeOrganization holds the string denoting the organization edge name in mutations.
EdgeOrgmembership holds the string denoting the orgmembership edge name in mutations.
EdgePersonalAccessToken holds the string denoting the personal_access_token edge name in mutations.
EdgeSubscriber holds the string denoting the subscriber edge name in mutations.
EdgeUser holds the string denoting the user edge name in mutations.
FieldCorrelationID holds the string denoting the correlation_id 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.
FieldEventID holds the string denoting the event_id field in the database.
FieldEventType holds the string denoting the event_type 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.
FieldMetadata holds the string denoting the metadata 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.
FileInverseTable is the table name for the File entity.
FileTable is the table that holds the file relation/edge.
GroupInverseTable is the table name for the Group entity.
GroupmembershipInverseTable is the table name for the GroupMembership entity.
GroupmembershipTable is the table that holds the groupmembership relation/edge.
GroupTable is the table that holds the group relation/edge.
HushInverseTable is the table name for the Hush entity.
HushTable is the table that holds the hush relation/edge.
IntegrationInverseTable is the table name for the Integration entity.
IntegrationTable is the table that holds the integration relation/edge.
InviteInverseTable is the table name for the Invite entity.
InviteTable is the table that holds the invite relation/edge.
Label holds the string label denoting the event type in the database.
OrganizationInverseTable is the table name for the Organization entity.
OrganizationTable is the table that holds the organization relation/edge.
OrgmembershipInverseTable is the table name for the OrgMembership entity.
OrgmembershipTable is the table that holds the orgmembership relation/edge.
PersonalAccessTokenInverseTable is the table name for the PersonalAccessToken entity.
PersonalAccessTokenTable is the table that holds the personal_access_token relation/edge.
SubscriberInverseTable is the table name for the Subscriber entity.
SubscriberTable is the table that holds the subscriber relation/edge.
Table holds the table name of the event in the database.
UserInverseTable is the table name for the User entity.
UserTable is the table that holds the user relation/edge.

# Variables

Columns holds all SQL columns for event fields.
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.
FilePrimaryKey and FileColumn2 are the table columns denoting the primary key for the file relation (M2M).
GroupmembershipPrimaryKey and GroupmembershipColumn2 are the table columns denoting the primary key for the groupmembership relation (M2M).
GroupPrimaryKey and GroupColumn2 are the table columns denoting the primary key for the group relation (M2M).
Note that the variables below are initialized by the runtime package on the initialization of the application.
HushPrimaryKey and HushColumn2 are the table columns denoting the primary key for the hush relation (M2M).
IntegrationPrimaryKey and IntegrationColumn2 are the table columns denoting the primary key for the integration relation (M2M).
InvitePrimaryKey and InviteColumn2 are the table columns denoting the primary key for the invite relation (M2M).
OrganizationPrimaryKey and OrganizationColumn2 are the table columns denoting the primary key for the organization relation (M2M).
OrgmembershipPrimaryKey and OrgmembershipColumn2 are the table columns denoting the primary key for the orgmembership relation (M2M).
PersonalAccessTokenPrimaryKey and PersonalAccessTokenColumn2 are the table columns denoting the primary key for the personal_access_token relation (M2M).
SubscriberPrimaryKey and SubscriberColumn2 are the table columns denoting the primary key for the subscriber relation (M2M).
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
UserPrimaryKey and UserColumn2 are the table columns denoting the primary key for the user relation (M2M).

# Type aliases

OrderOption defines the ordering options for the Event queries.