Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Event) predicate.Event
- func CorrelationID(v string) predicate.Event
- func CorrelationIDContains(v string) predicate.Event
- func CorrelationIDContainsFold(v string) predicate.Event
- func CorrelationIDEQ(v string) predicate.Event
- func CorrelationIDEqualFold(v string) predicate.Event
- func CorrelationIDGT(v string) predicate.Event
- func CorrelationIDGTE(v string) predicate.Event
- func CorrelationIDHasPrefix(v string) predicate.Event
- func CorrelationIDHasSuffix(v string) predicate.Event
- func CorrelationIDIn(vs ...string) predicate.Event
- func CorrelationIDIsNil() predicate.Event
- func CorrelationIDLT(v string) predicate.Event
- func CorrelationIDLTE(v string) predicate.Event
- func CorrelationIDNEQ(v string) predicate.Event
- func CorrelationIDNotIn(vs ...string) predicate.Event
- func CorrelationIDNotNil() predicate.Event
- func CreatedAt(v time.Time) predicate.Event
- func CreatedAtEQ(v time.Time) predicate.Event
- func CreatedAtGT(v time.Time) predicate.Event
- func CreatedAtGTE(v time.Time) predicate.Event
- func CreatedAtIn(vs ...time.Time) predicate.Event
- func CreatedAtIsNil() predicate.Event
- func CreatedAtLT(v time.Time) predicate.Event
- func CreatedAtLTE(v time.Time) predicate.Event
- func CreatedAtNEQ(v time.Time) predicate.Event
- func CreatedAtNotIn(vs ...time.Time) predicate.Event
- func CreatedAtNotNil() predicate.Event
- func CreatedBy(v string) predicate.Event
- func CreatedByContains(v string) predicate.Event
- func CreatedByContainsFold(v string) predicate.Event
- func CreatedByEQ(v string) predicate.Event
- func CreatedByEqualFold(v string) predicate.Event
- func CreatedByGT(v string) predicate.Event
- func CreatedByGTE(v string) predicate.Event
- func CreatedByHasPrefix(v string) predicate.Event
- func CreatedByHasSuffix(v string) predicate.Event
- func CreatedByIn(vs ...string) predicate.Event
- func CreatedByIsNil() predicate.Event
- func CreatedByLT(v string) predicate.Event
- func CreatedByLTE(v string) predicate.Event
- func CreatedByNEQ(v string) predicate.Event
- func CreatedByNotIn(vs ...string) predicate.Event
- func CreatedByNotNil() predicate.Event
- func EventID(v string) predicate.Event
- func EventIDContains(v string) predicate.Event
- func EventIDContainsFold(v string) predicate.Event
- func EventIDEQ(v string) predicate.Event
- func EventIDEqualFold(v string) predicate.Event
- func EventIDGT(v string) predicate.Event
- func EventIDGTE(v string) predicate.Event
- func EventIDHasPrefix(v string) predicate.Event
- func EventIDHasSuffix(v string) predicate.Event
- func EventIDIn(vs ...string) predicate.Event
- func EventIDIsNil() predicate.Event
- func EventIDLT(v string) predicate.Event
- func EventIDLTE(v string) predicate.Event
- func EventIDNEQ(v string) predicate.Event
- func EventIDNotIn(vs ...string) predicate.Event
- func EventIDNotNil() predicate.Event
- func EventType(v string) predicate.Event
- func EventTypeContains(v string) predicate.Event
- func EventTypeContainsFold(v string) predicate.Event
- func EventTypeEQ(v string) predicate.Event
- func EventTypeEqualFold(v string) predicate.Event
- func EventTypeGT(v string) predicate.Event
- func EventTypeGTE(v string) predicate.Event
- func EventTypeHasPrefix(v string) predicate.Event
- func EventTypeHasSuffix(v string) predicate.Event
- func EventTypeIn(vs ...string) predicate.Event
- func EventTypeLT(v string) predicate.Event
- func EventTypeLTE(v string) predicate.Event
- func EventTypeNEQ(v string) predicate.Event
- func EventTypeNotIn(vs ...string) predicate.Event
- func HasFiles() predicate.Event
- func HasFilesWith(preds ...predicate.File) predicate.Event
- func HasGroupMemberships() predicate.Event
- func HasGroupMembershipsWith(preds ...predicate.GroupMembership) predicate.Event
- func HasGroups() predicate.Event
- func HasGroupsWith(preds ...predicate.Group) predicate.Event
- func HasIntegrations() predicate.Event
- func HasIntegrationsWith(preds ...predicate.Integration) predicate.Event
- func HasInvites() predicate.Event
- func HasInvitesWith(preds ...predicate.Invite) predicate.Event
- func HasOrgMemberships() predicate.Event
- func HasOrgMembershipsWith(preds ...predicate.OrgMembership) predicate.Event
- func HasOrgSubscriptions() predicate.Event
- func HasOrgSubscriptionsWith(preds ...predicate.OrgSubscription) predicate.Event
- func HasOrganizations() predicate.Event
- func HasOrganizationsWith(preds ...predicate.Organization) predicate.Event
- func HasPersonalAccessTokens() predicate.Event
- func HasPersonalAccessTokensWith(preds ...predicate.PersonalAccessToken) predicate.Event
- func HasSecrets() predicate.Event
- func HasSecretsWith(preds ...predicate.Hush) predicate.Event
- func HasSubscribers() predicate.Event
- func HasSubscribersWith(preds ...predicate.Subscriber) predicate.Event
- func HasUsers() predicate.Event
- func HasUsersWith(preds ...predicate.User) predicate.Event
- func ID(id string) predicate.Event
- func IDContainsFold(id string) predicate.Event
- func IDEQ(id string) predicate.Event
- func IDEqualFold(id string) predicate.Event
- func IDGT(id string) predicate.Event
- func IDGTE(id string) predicate.Event
- func IDIn(ids ...string) predicate.Event
- func IDLT(id string) predicate.Event
- func IDLTE(id string) predicate.Event
- func IDNEQ(id string) predicate.Event
- func IDNotIn(ids ...string) predicate.Event
- func MetadataIsNil() predicate.Event
- func MetadataNotNil() predicate.Event
- func Not(p predicate.Event) predicate.Event
- func Or(predicates ...predicate.Event) predicate.Event
- func TagsIsNil() predicate.Event
- func TagsNotNil() predicate.Event
- func UpdatedAt(v time.Time) predicate.Event
- func UpdatedAtEQ(v time.Time) predicate.Event
- func UpdatedAtGT(v time.Time) predicate.Event
- func UpdatedAtGTE(v time.Time) predicate.Event
- func UpdatedAtIn(vs ...time.Time) predicate.Event
- func UpdatedAtIsNil() predicate.Event
- func UpdatedAtLT(v time.Time) predicate.Event
- func UpdatedAtLTE(v time.Time) predicate.Event
- func UpdatedAtNEQ(v time.Time) predicate.Event
- func UpdatedAtNotIn(vs ...time.Time) predicate.Event
- func UpdatedAtNotNil() predicate.Event
- func UpdatedBy(v string) predicate.Event
- func UpdatedByContains(v string) predicate.Event
- func UpdatedByContainsFold(v string) predicate.Event
- func UpdatedByEQ(v string) predicate.Event
- func UpdatedByEqualFold(v string) predicate.Event
- func UpdatedByGT(v string) predicate.Event
- func UpdatedByGTE(v string) predicate.Event
- func UpdatedByHasPrefix(v string) predicate.Event
- func UpdatedByHasSuffix(v string) predicate.Event
- func UpdatedByIn(vs ...string) predicate.Event
- func UpdatedByIsNil() predicate.Event
- func UpdatedByLT(v string) predicate.Event
- func UpdatedByLTE(v string) predicate.Event
- func UpdatedByNEQ(v string) predicate.Event
- func UpdatedByNotIn(vs ...string) predicate.Event
- func UpdatedByNotNil() predicate.Event
- func ValidColumn(column string) bool
- type OrderOption
- func ByCorrelationID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEventID(opts ...sql.OrderTermOption) OrderOption
- func ByEventType(opts ...sql.OrderTermOption) OrderOption
- func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByGroupMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGroupMembershipsCount(opts ...sql.OrderTermOption) OrderOption
- func ByGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIntegrations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIntegrationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByInvites(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByInvitesCount(opts ...sql.OrderTermOption) OrderOption
- func ByOrgMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrgMembershipsCount(opts ...sql.OrderTermOption) OrderOption
- func ByOrgSubscriptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrgSubscriptionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrganizationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByPersonalAccessTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPersonalAccessTokensCount(opts ...sql.OrderTermOption) OrderOption
- func BySecrets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySecretsCount(opts ...sql.OrderTermOption) OrderOption
- func BySubscribers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubscribersCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the event type in the database. Label = "event" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldEventID holds the string denoting the event_id field in the database. FieldEventID = "event_id" // FieldCorrelationID holds the string denoting the correlation_id field in the database. FieldCorrelationID = "correlation_id" // FieldEventType holds the string denoting the event_type field in the database. FieldEventType = "event_type" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // EdgeGroups holds the string denoting the groups edge name in mutations. EdgeGroups = "groups" // EdgeIntegrations holds the string denoting the integrations edge name in mutations. EdgeIntegrations = "integrations" // EdgeOrganizations holds the string denoting the organizations edge name in mutations. EdgeOrganizations = "organizations" // EdgeInvites holds the string denoting the invites edge name in mutations. EdgeInvites = "invites" // EdgePersonalAccessTokens holds the string denoting the personal_access_tokens edge name in mutations. EdgePersonalAccessTokens = "personal_access_tokens" // EdgeSecrets holds the string denoting the secrets edge name in mutations. EdgeSecrets = "secrets" // EdgeOrgMemberships holds the string denoting the org_memberships edge name in mutations. EdgeOrgMemberships = "org_memberships" // EdgeGroupMemberships holds the string denoting the group_memberships edge name in mutations. EdgeGroupMemberships = "group_memberships" // EdgeSubscribers holds the string denoting the subscribers edge name in mutations. EdgeSubscribers = "subscribers" // EdgeFiles holds the string denoting the files edge name in mutations. EdgeFiles = "files" // EdgeOrgSubscriptions holds the string denoting the org_subscriptions edge name in mutations. EdgeOrgSubscriptions = "org_subscriptions" // Table holds the table name of the event in the database. Table = "events" // UsersTable is the table that holds the users relation/edge. The primary key declared below. UsersTable = "user_events" // UsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UsersInverseTable = "users" // GroupsTable is the table that holds the groups relation/edge. The primary key declared below. GroupsTable = "group_events" // GroupsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. GroupsInverseTable = "groups" // IntegrationsTable is the table that holds the integrations relation/edge. The primary key declared below. IntegrationsTable = "integration_events" // IntegrationsInverseTable is the table name for the Integration entity. // It exists in this package in order to avoid circular dependency with the "integration" package. IntegrationsInverseTable = "integrations" // OrganizationsTable is the table that holds the organizations relation/edge. The primary key declared below. OrganizationsTable = "organization_events" // OrganizationsInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationsInverseTable = "organizations" // InvitesTable is the table that holds the invites relation/edge. The primary key declared below. InvitesTable = "invite_events" // InvitesInverseTable is the table name for the Invite entity. // It exists in this package in order to avoid circular dependency with the "invite" package. InvitesInverseTable = "invites" // PersonalAccessTokensTable is the table that holds the personal_access_tokens relation/edge. The primary key declared below. PersonalAccessTokensTable = "personal_access_token_events" // PersonalAccessTokensInverseTable is the table name for the PersonalAccessToken entity. // It exists in this package in order to avoid circular dependency with the "personalaccesstoken" package. PersonalAccessTokensInverseTable = "personal_access_tokens" // SecretsTable is the table that holds the secrets relation/edge. The primary key declared below. SecretsTable = "hush_events" // SecretsInverseTable is the table name for the Hush entity. // It exists in this package in order to avoid circular dependency with the "hush" package. SecretsInverseTable = "hushes" // OrgMembershipsTable is the table that holds the org_memberships relation/edge. The primary key declared below. OrgMembershipsTable = "org_membership_events" // OrgMembershipsInverseTable is the table name for the OrgMembership entity. // It exists in this package in order to avoid circular dependency with the "orgmembership" package. OrgMembershipsInverseTable = "org_memberships" // GroupMembershipsTable is the table that holds the group_memberships relation/edge. The primary key declared below. GroupMembershipsTable = "group_membership_events" // GroupMembershipsInverseTable is the table name for the GroupMembership entity. // It exists in this package in order to avoid circular dependency with the "groupmembership" package. GroupMembershipsInverseTable = "group_memberships" // SubscribersTable is the table that holds the subscribers relation/edge. The primary key declared below. SubscribersTable = "subscriber_events" // SubscribersInverseTable is the table name for the Subscriber entity. // It exists in this package in order to avoid circular dependency with the "subscriber" package. SubscribersInverseTable = "subscribers" // FilesTable is the table that holds the files relation/edge. The primary key declared below. FilesTable = "file_events" // FilesInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FilesInverseTable = "files" // OrgSubscriptionsTable is the table that holds the org_subscriptions relation/edge. The primary key declared below. OrgSubscriptionsTable = "org_subscription_events" // OrgSubscriptionsInverseTable is the table name for the OrgSubscription entity. // It exists in this package in order to avoid circular dependency with the "orgsubscription" package. OrgSubscriptionsInverseTable = "org_subscriptions" )
Variables ¶
var ( // UsersPrimaryKey and UsersColumn2 are the table columns denoting the // primary key for the users relation (M2M). UsersPrimaryKey = []string{"user_id", "event_id"} // GroupsPrimaryKey and GroupsColumn2 are the table columns denoting the // primary key for the groups relation (M2M). GroupsPrimaryKey = []string{"group_id", "event_id"} // IntegrationsPrimaryKey and IntegrationsColumn2 are the table columns denoting the // primary key for the integrations relation (M2M). IntegrationsPrimaryKey = []string{"integration_id", "event_id"} // OrganizationsPrimaryKey and OrganizationsColumn2 are the table columns denoting the // primary key for the organizations relation (M2M). OrganizationsPrimaryKey = []string{"organization_id", "event_id"} // InvitesPrimaryKey and InvitesColumn2 are the table columns denoting the // primary key for the invites relation (M2M). InvitesPrimaryKey = []string{"invite_id", "event_id"} // PersonalAccessTokensPrimaryKey and PersonalAccessTokensColumn2 are the table columns denoting the // primary key for the personal_access_tokens relation (M2M). PersonalAccessTokensPrimaryKey = []string{"personal_access_token_id", "event_id"} // SecretsPrimaryKey and SecretsColumn2 are the table columns denoting the // primary key for the secrets relation (M2M). SecretsPrimaryKey = []string{"hush_id", "event_id"} // OrgMembershipsPrimaryKey and OrgMembershipsColumn2 are the table columns denoting the // primary key for the org_memberships relation (M2M). OrgMembershipsPrimaryKey = []string{"org_membership_id", "event_id"} // GroupMembershipsPrimaryKey and GroupMembershipsColumn2 are the table columns denoting the // primary key for the group_memberships relation (M2M). GroupMembershipsPrimaryKey = []string{"group_membership_id", "event_id"} // SubscribersPrimaryKey and SubscribersColumn2 are the table columns denoting the // primary key for the subscribers relation (M2M). SubscribersPrimaryKey = []string{"subscriber_id", "event_id"} // FilesPrimaryKey and FilesColumn2 are the table columns denoting the // primary key for the files relation (M2M). FilesPrimaryKey = []string{"file_id", "event_id"} // OrgSubscriptionsPrimaryKey and OrgSubscriptionsColumn2 are the table columns denoting the // primary key for the org_subscriptions relation (M2M). OrgSubscriptionsPrimaryKey = []string{"org_subscription_id", "event_id"} )
var ( Hooks [3]ent.Hook Policy ent.Policy // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldTags, FieldEventID, FieldCorrelationID, FieldEventType, FieldMetadata, }
Columns holds all SQL columns for event fields.
var ForeignKeys = []string{
"directory_membership_events",
"export_events",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "events" table and are not defined as standalone fields in the schema.
Functions ¶
func CorrelationID ¶
CorrelationID applies equality check predicate on the "correlation_id" field. It's identical to CorrelationIDEQ.
func CorrelationIDContains ¶
CorrelationIDContains applies the Contains predicate on the "correlation_id" field.
func CorrelationIDContainsFold ¶
CorrelationIDContainsFold applies the ContainsFold predicate on the "correlation_id" field.
func CorrelationIDEQ ¶
CorrelationIDEQ applies the EQ predicate on the "correlation_id" field.
func CorrelationIDEqualFold ¶
CorrelationIDEqualFold applies the EqualFold predicate on the "correlation_id" field.
func CorrelationIDGT ¶
CorrelationIDGT applies the GT predicate on the "correlation_id" field.
func CorrelationIDGTE ¶
CorrelationIDGTE applies the GTE predicate on the "correlation_id" field.
func CorrelationIDHasPrefix ¶
CorrelationIDHasPrefix applies the HasPrefix predicate on the "correlation_id" field.
func CorrelationIDHasSuffix ¶
CorrelationIDHasSuffix applies the HasSuffix predicate on the "correlation_id" field.
func CorrelationIDIn ¶
CorrelationIDIn applies the In predicate on the "correlation_id" field.
func CorrelationIDIsNil ¶
CorrelationIDIsNil applies the IsNil predicate on the "correlation_id" field.
func CorrelationIDLT ¶
CorrelationIDLT applies the LT predicate on the "correlation_id" field.
func CorrelationIDLTE ¶
CorrelationIDLTE applies the LTE predicate on the "correlation_id" field.
func CorrelationIDNEQ ¶
CorrelationIDNEQ applies the NEQ predicate on the "correlation_id" field.
func CorrelationIDNotIn ¶
CorrelationIDNotIn applies the NotIn predicate on the "correlation_id" field.
func CorrelationIDNotNil ¶
CorrelationIDNotNil applies the NotNil predicate on the "correlation_id" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func EventID ¶
EventID applies equality check predicate on the "event_id" field. It's identical to EventIDEQ.
func EventIDContains ¶
EventIDContains applies the Contains predicate on the "event_id" field.
func EventIDContainsFold ¶
EventIDContainsFold applies the ContainsFold predicate on the "event_id" field.
func EventIDEqualFold ¶
EventIDEqualFold applies the EqualFold predicate on the "event_id" field.
func EventIDGTE ¶
EventIDGTE applies the GTE predicate on the "event_id" field.
func EventIDHasPrefix ¶
EventIDHasPrefix applies the HasPrefix predicate on the "event_id" field.
func EventIDHasSuffix ¶
EventIDHasSuffix applies the HasSuffix predicate on the "event_id" field.
func EventIDIsNil ¶
EventIDIsNil applies the IsNil predicate on the "event_id" field.
func EventIDLTE ¶
EventIDLTE applies the LTE predicate on the "event_id" field.
func EventIDNEQ ¶
EventIDNEQ applies the NEQ predicate on the "event_id" field.
func EventIDNotIn ¶
EventIDNotIn applies the NotIn predicate on the "event_id" field.
func EventIDNotNil ¶
EventIDNotNil applies the NotNil predicate on the "event_id" field.
func EventType ¶
EventType applies equality check predicate on the "event_type" field. It's identical to EventTypeEQ.
func EventTypeContains ¶
EventTypeContains applies the Contains predicate on the "event_type" field.
func EventTypeContainsFold ¶
EventTypeContainsFold applies the ContainsFold predicate on the "event_type" field.
func EventTypeEQ ¶
EventTypeEQ applies the EQ predicate on the "event_type" field.
func EventTypeEqualFold ¶
EventTypeEqualFold applies the EqualFold predicate on the "event_type" field.
func EventTypeGT ¶
EventTypeGT applies the GT predicate on the "event_type" field.
func EventTypeGTE ¶
EventTypeGTE applies the GTE predicate on the "event_type" field.
func EventTypeHasPrefix ¶
EventTypeHasPrefix applies the HasPrefix predicate on the "event_type" field.
func EventTypeHasSuffix ¶
EventTypeHasSuffix applies the HasSuffix predicate on the "event_type" field.
func EventTypeIn ¶
EventTypeIn applies the In predicate on the "event_type" field.
func EventTypeLT ¶
EventTypeLT applies the LT predicate on the "event_type" field.
func EventTypeLTE ¶
EventTypeLTE applies the LTE predicate on the "event_type" field.
func EventTypeNEQ ¶
EventTypeNEQ applies the NEQ predicate on the "event_type" field.
func EventTypeNotIn ¶
EventTypeNotIn applies the NotIn predicate on the "event_type" field.
func HasFilesWith ¶ added in v0.8.2
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
func HasGroupMemberships ¶ added in v0.26.0
HasGroupMemberships applies the HasEdge predicate on the "group_memberships" edge.
func HasGroupMembershipsWith ¶ added in v0.26.0
func HasGroupMembershipsWith(preds ...predicate.GroupMembership) predicate.Event
HasGroupMembershipsWith applies the HasEdge predicate on the "group_memberships" edge with a given conditions (other predicates).
func HasGroupsWith ¶ added in v0.8.2
HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).
func HasIntegrations ¶ added in v0.8.2
HasIntegrations applies the HasEdge predicate on the "integrations" edge.
func HasIntegrationsWith ¶ added in v0.8.2
func HasIntegrationsWith(preds ...predicate.Integration) predicate.Event
HasIntegrationsWith applies the HasEdge predicate on the "integrations" edge with a given conditions (other predicates).
func HasInvites ¶ added in v0.8.2
HasInvites applies the HasEdge predicate on the "invites" edge.
func HasInvitesWith ¶ added in v0.8.2
HasInvitesWith applies the HasEdge predicate on the "invites" edge with a given conditions (other predicates).
func HasOrgMemberships ¶ added in v0.26.0
HasOrgMemberships applies the HasEdge predicate on the "org_memberships" edge.
func HasOrgMembershipsWith ¶ added in v0.26.0
func HasOrgMembershipsWith(preds ...predicate.OrgMembership) predicate.Event
HasOrgMembershipsWith applies the HasEdge predicate on the "org_memberships" edge with a given conditions (other predicates).
func HasOrgSubscriptions ¶ added in v0.8.2
HasOrgSubscriptions applies the HasEdge predicate on the "org_subscriptions" edge.
func HasOrgSubscriptionsWith ¶ added in v0.8.2
func HasOrgSubscriptionsWith(preds ...predicate.OrgSubscription) predicate.Event
HasOrgSubscriptionsWith applies the HasEdge predicate on the "org_subscriptions" edge with a given conditions (other predicates).
func HasOrganizations ¶ added in v0.8.2
HasOrganizations applies the HasEdge predicate on the "organizations" edge.
func HasOrganizationsWith ¶ added in v0.8.2
func HasOrganizationsWith(preds ...predicate.Organization) predicate.Event
HasOrganizationsWith applies the HasEdge predicate on the "organizations" edge with a given conditions (other predicates).
func HasPersonalAccessTokens ¶ added in v0.8.2
HasPersonalAccessTokens applies the HasEdge predicate on the "personal_access_tokens" edge.
func HasPersonalAccessTokensWith ¶ added in v0.8.2
func HasPersonalAccessTokensWith(preds ...predicate.PersonalAccessToken) predicate.Event
HasPersonalAccessTokensWith applies the HasEdge predicate on the "personal_access_tokens" edge with a given conditions (other predicates).
func HasSecrets ¶ added in v0.8.2
HasSecrets applies the HasEdge predicate on the "secrets" edge.
func HasSecretsWith ¶ added in v0.8.2
HasSecretsWith applies the HasEdge predicate on the "secrets" edge with a given conditions (other predicates).
func HasSubscribers ¶ added in v0.8.2
HasSubscribers applies the HasEdge predicate on the "subscribers" edge.
func HasSubscribersWith ¶ added in v0.8.2
func HasSubscribersWith(preds ...predicate.Subscriber) predicate.Event
HasSubscribersWith applies the HasEdge predicate on the "subscribers" edge with a given conditions (other predicates).
func HasUsersWith ¶ added in v0.8.2
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Event queries.
func ByCorrelationID ¶
func ByCorrelationID(opts ...sql.OrderTermOption) OrderOption
ByCorrelationID orders the results by the correlation_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByEventID ¶
func ByEventID(opts ...sql.OrderTermOption) OrderOption
ByEventID orders the results by the event_id field.
func ByEventType ¶
func ByEventType(opts ...sql.OrderTermOption) OrderOption
ByEventType orders the results by the event_type field.
func ByFiles ¶ added in v0.8.2
func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFiles orders the results by files terms.
func ByFilesCount ¶ added in v0.8.2
func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
ByFilesCount orders the results by files count.
func ByGroupMemberships ¶ added in v0.26.0
func ByGroupMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGroupMemberships orders the results by group_memberships terms.
func ByGroupMembershipsCount ¶ added in v0.26.0
func ByGroupMembershipsCount(opts ...sql.OrderTermOption) OrderOption
ByGroupMembershipsCount orders the results by group_memberships count.
func ByGroups ¶ added in v0.8.2
func ByGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGroups orders the results by groups terms.
func ByGroupsCount ¶ added in v0.8.2
func ByGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByGroupsCount orders the results by groups count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIntegrations ¶ added in v0.8.2
func ByIntegrations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIntegrations orders the results by integrations terms.
func ByIntegrationsCount ¶ added in v0.8.2
func ByIntegrationsCount(opts ...sql.OrderTermOption) OrderOption
ByIntegrationsCount orders the results by integrations count.
func ByInvites ¶ added in v0.8.2
func ByInvites(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByInvites orders the results by invites terms.
func ByInvitesCount ¶ added in v0.8.2
func ByInvitesCount(opts ...sql.OrderTermOption) OrderOption
ByInvitesCount orders the results by invites count.
func ByOrgMemberships ¶ added in v0.26.0
func ByOrgMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrgMemberships orders the results by org_memberships terms.
func ByOrgMembershipsCount ¶ added in v0.26.0
func ByOrgMembershipsCount(opts ...sql.OrderTermOption) OrderOption
ByOrgMembershipsCount orders the results by org_memberships count.
func ByOrgSubscriptions ¶ added in v0.8.2
func ByOrgSubscriptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrgSubscriptions orders the results by org_subscriptions terms.
func ByOrgSubscriptionsCount ¶ added in v0.8.2
func ByOrgSubscriptionsCount(opts ...sql.OrderTermOption) OrderOption
ByOrgSubscriptionsCount orders the results by org_subscriptions count.
func ByOrganizations ¶ added in v0.8.2
func ByOrganizations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrganizations orders the results by organizations terms.
func ByOrganizationsCount ¶ added in v0.8.2
func ByOrganizationsCount(opts ...sql.OrderTermOption) OrderOption
ByOrganizationsCount orders the results by organizations count.
func ByPersonalAccessTokens ¶ added in v0.8.2
func ByPersonalAccessTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPersonalAccessTokens orders the results by personal_access_tokens terms.
func ByPersonalAccessTokensCount ¶ added in v0.8.2
func ByPersonalAccessTokensCount(opts ...sql.OrderTermOption) OrderOption
ByPersonalAccessTokensCount orders the results by personal_access_tokens count.
func BySecrets ¶ added in v0.8.2
func BySecrets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySecrets orders the results by secrets terms.
func BySecretsCount ¶ added in v0.8.2
func BySecretsCount(opts ...sql.OrderTermOption) OrderOption
BySecretsCount orders the results by secrets count.
func BySubscribers ¶ added in v0.8.2
func BySubscribers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubscribers orders the results by subscribers terms.
func BySubscribersCount ¶ added in v0.8.2
func BySubscribersCount(opts ...sql.OrderTermOption) OrderOption
BySubscribersCount orders the results by subscribers count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByUsers ¶ added in v0.8.2
func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUsers orders the results by users terms.
func ByUsersCount ¶ added in v0.8.2
func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
ByUsersCount orders the results by users count.