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 HasEntitlement() predicate.Event
- func HasEntitlementWith(preds ...predicate.Entitlement) predicate.Event
- func HasEntitlementplan() predicate.Event
- func HasEntitlementplanWith(preds ...predicate.EntitlementPlan) predicate.Event
- func HasEntitlementplanfeature() predicate.Event
- func HasEntitlementplanfeatureWith(preds ...predicate.EntitlementPlanFeature) predicate.Event
- func HasFeature() predicate.Event
- func HasFeatureWith(preds ...predicate.Feature) predicate.Event
- func HasGroup() predicate.Event
- func HasGroupWith(preds ...predicate.Group) predicate.Event
- func HasGroupmembership() predicate.Event
- func HasGroupmembershipWith(preds ...predicate.GroupMembership) predicate.Event
- func HasHush() predicate.Event
- func HasHushWith(preds ...predicate.Hush) predicate.Event
- func HasIntegration() predicate.Event
- func HasIntegrationWith(preds ...predicate.Integration) predicate.Event
- func HasInvite() predicate.Event
- func HasInviteWith(preds ...predicate.Invite) predicate.Event
- func HasOauth2token() predicate.Event
- func HasOauth2tokenWith(preds ...predicate.OhAuthTooToken) predicate.Event
- func HasOrganization() predicate.Event
- func HasOrganizationWith(preds ...predicate.Organization) predicate.Event
- func HasOrgmembership() predicate.Event
- func HasOrgmembershipWith(preds ...predicate.OrgMembership) predicate.Event
- func HasPersonalAccessToken() predicate.Event
- func HasPersonalAccessTokenWith(preds ...predicate.PersonalAccessToken) predicate.Event
- func HasSubscriber() predicate.Event
- func HasSubscriberWith(preds ...predicate.Subscriber) predicate.Event
- func HasUser() predicate.Event
- func HasUserWith(preds ...predicate.User) predicate.Event
- func HasWebhook() predicate.Event
- func HasWebhookWith(preds ...predicate.Webhook) 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 MappingID(v string) predicate.Event
- func MappingIDContains(v string) predicate.Event
- func MappingIDContainsFold(v string) predicate.Event
- func MappingIDEQ(v string) predicate.Event
- func MappingIDEqualFold(v string) predicate.Event
- func MappingIDGT(v string) predicate.Event
- func MappingIDGTE(v string) predicate.Event
- func MappingIDHasPrefix(v string) predicate.Event
- func MappingIDHasSuffix(v string) predicate.Event
- func MappingIDIn(vs ...string) predicate.Event
- func MappingIDLT(v string) predicate.Event
- func MappingIDLTE(v string) predicate.Event
- func MappingIDNEQ(v string) predicate.Event
- func MappingIDNotIn(vs ...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 ByEntitlement(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEntitlementCount(opts ...sql.OrderTermOption) OrderOption
- func ByEntitlementplan(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEntitlementplanCount(opts ...sql.OrderTermOption) OrderOption
- func ByEntitlementplanfeature(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEntitlementplanfeatureCount(opts ...sql.OrderTermOption) OrderOption
- func ByEventID(opts ...sql.OrderTermOption) OrderOption
- func ByEventType(opts ...sql.OrderTermOption) OrderOption
- func ByFeature(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFeatureCount(opts ...sql.OrderTermOption) OrderOption
- func ByGroup(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGroupCount(opts ...sql.OrderTermOption) OrderOption
- func ByGroupmembership(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGroupmembershipCount(opts ...sql.OrderTermOption) OrderOption
- func ByHush(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByHushCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIntegration(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIntegrationCount(opts ...sql.OrderTermOption) OrderOption
- func ByInvite(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByInviteCount(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByOauth2token(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOauth2tokenCount(opts ...sql.OrderTermOption) OrderOption
- func ByOrganization(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrganizationCount(opts ...sql.OrderTermOption) OrderOption
- func ByOrgmembership(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrgmembershipCount(opts ...sql.OrderTermOption) OrderOption
- func ByPersonalAccessToken(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPersonalAccessTokenCount(opts ...sql.OrderTermOption) OrderOption
- func BySubscriber(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubscriberCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUserCount(opts ...sql.OrderTermOption) OrderOption
- func ByWebhook(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWebhookCount(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" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // 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" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeGroup holds the string denoting the group edge name in mutations. EdgeGroup = "group" // EdgeIntegration holds the string denoting the integration edge name in mutations. EdgeIntegration = "integration" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeInvite holds the string denoting the invite edge name in mutations. EdgeInvite = "invite" // EdgeFeature holds the string denoting the feature edge name in mutations. EdgeFeature = "feature" // EdgeEntitlementplan holds the string denoting the entitlementplan edge name in mutations. EdgeEntitlementplan = "entitlementplan" // EdgeEntitlementplanfeature holds the string denoting the entitlementplanfeature edge name in mutations. EdgeEntitlementplanfeature = "entitlementplanfeature" // EdgePersonalAccessToken holds the string denoting the personal_access_token edge name in mutations. EdgePersonalAccessToken = "personal_access_token" // EdgeOauth2token holds the string denoting the oauth2token edge name in mutations. EdgeOauth2token = "oauth2token" // EdgeHush holds the string denoting the hush edge name in mutations. EdgeHush = "hush" // EdgeOrgmembership holds the string denoting the orgmembership edge name in mutations. EdgeOrgmembership = "orgmembership" // EdgeGroupmembership holds the string denoting the groupmembership edge name in mutations. EdgeGroupmembership = "groupmembership" // EdgeEntitlement holds the string denoting the entitlement edge name in mutations. EdgeEntitlement = "entitlement" // EdgeWebhook holds the string denoting the webhook edge name in mutations. EdgeWebhook = "webhook" // EdgeSubscriber holds the string denoting the subscriber edge name in mutations. EdgeSubscriber = "subscriber" // Table holds the table name of the event in the database. Table = "events" // UserTable is the table that holds the user relation/edge. The primary key declared below. UserTable = "user_events" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // GroupTable is the table that holds the group relation/edge. The primary key declared below. GroupTable = "group_events" // GroupInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. GroupInverseTable = "groups" // IntegrationTable is the table that holds the integration relation/edge. The primary key declared below. IntegrationTable = "integration_events" // IntegrationInverseTable is the table name for the Integration entity. // It exists in this package in order to avoid circular dependency with the "integration" package. IntegrationInverseTable = "integrations" // OrganizationTable is the table that holds the organization relation/edge. The primary key declared below. OrganizationTable = "organization_events" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // InviteTable is the table that holds the invite relation/edge. The primary key declared below. InviteTable = "invite_events" // InviteInverseTable is the table name for the Invite entity. // It exists in this package in order to avoid circular dependency with the "invite" package. InviteInverseTable = "invites" // FeatureTable is the table that holds the feature relation/edge. The primary key declared below. FeatureTable = "feature_events" // FeatureInverseTable is the table name for the Feature entity. // It exists in this package in order to avoid circular dependency with the "feature" package. FeatureInverseTable = "features" // EntitlementplanTable is the table that holds the entitlementplan relation/edge. The primary key declared below. EntitlementplanTable = "entitlement_plan_events" // EntitlementplanInverseTable is the table name for the EntitlementPlan entity. // It exists in this package in order to avoid circular dependency with the "entitlementplan" package. EntitlementplanInverseTable = "entitlement_plans" // EntitlementplanfeatureTable is the table that holds the entitlementplanfeature relation/edge. The primary key declared below. EntitlementplanfeatureTable = "entitlement_plan_feature_events" // EntitlementplanfeatureInverseTable is the table name for the EntitlementPlanFeature entity. // It exists in this package in order to avoid circular dependency with the "entitlementplanfeature" package. EntitlementplanfeatureInverseTable = "entitlement_plan_features" // PersonalAccessTokenTable is the table that holds the personal_access_token relation/edge. The primary key declared below. PersonalAccessTokenTable = "personal_access_token_events" // PersonalAccessTokenInverseTable is the table name for the PersonalAccessToken entity. // It exists in this package in order to avoid circular dependency with the "personalaccesstoken" package. PersonalAccessTokenInverseTable = "personal_access_tokens" // Oauth2tokenTable is the table that holds the oauth2token relation/edge. The primary key declared below. Oauth2tokenTable = "oh_auth_too_token_events" // Oauth2tokenInverseTable is the table name for the OhAuthTooToken entity. // It exists in this package in order to avoid circular dependency with the "ohauthtootoken" package. Oauth2tokenInverseTable = "oh_auth_too_tokens" // HushTable is the table that holds the hush relation/edge. The primary key declared below. HushTable = "hush_events" // HushInverseTable is the table name for the Hush entity. // It exists in this package in order to avoid circular dependency with the "hush" package. HushInverseTable = "hushes" // OrgmembershipTable is the table that holds the orgmembership relation/edge. The primary key declared below. OrgmembershipTable = "org_membership_events" // OrgmembershipInverseTable is the table name for the OrgMembership entity. // It exists in this package in order to avoid circular dependency with the "orgmembership" package. OrgmembershipInverseTable = "org_memberships" // GroupmembershipTable is the table that holds the groupmembership relation/edge. The primary key declared below. GroupmembershipTable = "group_membership_events" // GroupmembershipInverseTable is the table name for the GroupMembership entity. // It exists in this package in order to avoid circular dependency with the "groupmembership" package. GroupmembershipInverseTable = "group_memberships" // EntitlementTable is the table that holds the entitlement relation/edge. The primary key declared below. EntitlementTable = "entitlement_events" // EntitlementInverseTable is the table name for the Entitlement entity. // It exists in this package in order to avoid circular dependency with the "entitlement" package. EntitlementInverseTable = "entitlements" // WebhookTable is the table that holds the webhook relation/edge. The primary key declared below. WebhookTable = "webhook_events" // WebhookInverseTable is the table name for the Webhook entity. // It exists in this package in order to avoid circular dependency with the "webhook" package. WebhookInverseTable = "webhooks" // SubscriberTable is the table that holds the subscriber relation/edge. The primary key declared below. SubscriberTable = "subscriber_events" // SubscriberInverseTable is the table name for the Subscriber entity. // It exists in this package in order to avoid circular dependency with the "subscriber" package. SubscriberInverseTable = "subscribers" )
Variables ¶
var ( // UserPrimaryKey and UserColumn2 are the table columns denoting the // primary key for the user relation (M2M). UserPrimaryKey = []string{"user_id", "event_id"} // GroupPrimaryKey and GroupColumn2 are the table columns denoting the // primary key for the group relation (M2M). GroupPrimaryKey = []string{"group_id", "event_id"} // IntegrationPrimaryKey and IntegrationColumn2 are the table columns denoting the // primary key for the integration relation (M2M). IntegrationPrimaryKey = []string{"integration_id", "event_id"} // OrganizationPrimaryKey and OrganizationColumn2 are the table columns denoting the // primary key for the organization relation (M2M). OrganizationPrimaryKey = []string{"organization_id", "event_id"} // InvitePrimaryKey and InviteColumn2 are the table columns denoting the // primary key for the invite relation (M2M). InvitePrimaryKey = []string{"invite_id", "event_id"} // FeaturePrimaryKey and FeatureColumn2 are the table columns denoting the // primary key for the feature relation (M2M). FeaturePrimaryKey = []string{"feature_id", "event_id"} // EntitlementplanPrimaryKey and EntitlementplanColumn2 are the table columns denoting the // primary key for the entitlementplan relation (M2M). EntitlementplanPrimaryKey = []string{"entitlement_plan_id", "event_id"} // EntitlementplanfeaturePrimaryKey and EntitlementplanfeatureColumn2 are the table columns denoting the // primary key for the entitlementplanfeature relation (M2M). EntitlementplanfeaturePrimaryKey = []string{"entitlement_plan_feature_id", "event_id"} // PersonalAccessTokenPrimaryKey and PersonalAccessTokenColumn2 are the table columns denoting the // primary key for the personal_access_token relation (M2M). PersonalAccessTokenPrimaryKey = []string{"personal_access_token_id", "event_id"} // Oauth2tokenPrimaryKey and Oauth2tokenColumn2 are the table columns denoting the // primary key for the oauth2token relation (M2M). Oauth2tokenPrimaryKey = []string{"oh_auth_too_token_id", "event_id"} // HushPrimaryKey and HushColumn2 are the table columns denoting the // primary key for the hush relation (M2M). HushPrimaryKey = []string{"hush_id", "event_id"} // OrgmembershipPrimaryKey and OrgmembershipColumn2 are the table columns denoting the // primary key for the orgmembership relation (M2M). OrgmembershipPrimaryKey = []string{"org_membership_id", "event_id"} // GroupmembershipPrimaryKey and GroupmembershipColumn2 are the table columns denoting the // primary key for the groupmembership relation (M2M). GroupmembershipPrimaryKey = []string{"group_membership_id", "event_id"} // EntitlementPrimaryKey and EntitlementColumn2 are the table columns denoting the // primary key for the entitlement relation (M2M). EntitlementPrimaryKey = []string{"entitlement_id", "event_id"} // WebhookPrimaryKey and WebhookColumn2 are the table columns denoting the // primary key for the webhook relation (M2M). WebhookPrimaryKey = []string{"webhook_id", "event_id"} // SubscriberPrimaryKey and SubscriberColumn2 are the table columns denoting the // primary key for the subscriber relation (M2M). SubscriberPrimaryKey = []string{"subscriber_id", "event_id"} )
var ( Hooks [1]ent.Hook // 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 // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // 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/datumforge/datum/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldTags, FieldEventID, FieldCorrelationID, FieldEventType, FieldMetadata, }
Columns holds all SQL columns for event fields.
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 HasEntitlement ¶
HasEntitlement applies the HasEdge predicate on the "entitlement" edge.
func HasEntitlementWith ¶
func HasEntitlementWith(preds ...predicate.Entitlement) predicate.Event
HasEntitlementWith applies the HasEdge predicate on the "entitlement" edge with a given conditions (other predicates).
func HasEntitlementplan ¶ added in v0.7.0
HasEntitlementplan applies the HasEdge predicate on the "entitlementplan" edge.
func HasEntitlementplanWith ¶ added in v0.7.0
func HasEntitlementplanWith(preds ...predicate.EntitlementPlan) predicate.Event
HasEntitlementplanWith applies the HasEdge predicate on the "entitlementplan" edge with a given conditions (other predicates).
func HasEntitlementplanfeature ¶ added in v0.7.0
HasEntitlementplanfeature applies the HasEdge predicate on the "entitlementplanfeature" edge.
func HasEntitlementplanfeatureWith ¶ added in v0.7.0
func HasEntitlementplanfeatureWith(preds ...predicate.EntitlementPlanFeature) predicate.Event
HasEntitlementplanfeatureWith applies the HasEdge predicate on the "entitlementplanfeature" edge with a given conditions (other predicates).
func HasFeature ¶
HasFeature applies the HasEdge predicate on the "feature" edge.
func HasFeatureWith ¶
HasFeatureWith applies the HasEdge predicate on the "feature" edge with a given conditions (other predicates).
func HasGroupWith ¶
HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).
func HasGroupmembership ¶
HasGroupmembership applies the HasEdge predicate on the "groupmembership" edge.
func HasGroupmembershipWith ¶
func HasGroupmembershipWith(preds ...predicate.GroupMembership) predicate.Event
HasGroupmembershipWith applies the HasEdge predicate on the "groupmembership" edge with a given conditions (other predicates).
func HasHushWith ¶
HasHushWith applies the HasEdge predicate on the "hush" edge with a given conditions (other predicates).
func HasIntegration ¶
HasIntegration applies the HasEdge predicate on the "integration" edge.
func HasIntegrationWith ¶
func HasIntegrationWith(preds ...predicate.Integration) predicate.Event
HasIntegrationWith applies the HasEdge predicate on the "integration" edge with a given conditions (other predicates).
func HasInviteWith ¶
HasInviteWith applies the HasEdge predicate on the "invite" edge with a given conditions (other predicates).
func HasOauth2token ¶
HasOauth2token applies the HasEdge predicate on the "oauth2token" edge.
func HasOauth2tokenWith ¶
func HasOauth2tokenWith(preds ...predicate.OhAuthTooToken) predicate.Event
HasOauth2tokenWith applies the HasEdge predicate on the "oauth2token" edge with a given conditions (other predicates).
func HasOrganization ¶
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.Event
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func HasOrgmembership ¶
HasOrgmembership applies the HasEdge predicate on the "orgmembership" edge.
func HasOrgmembershipWith ¶
func HasOrgmembershipWith(preds ...predicate.OrgMembership) predicate.Event
HasOrgmembershipWith applies the HasEdge predicate on the "orgmembership" edge with a given conditions (other predicates).
func HasPersonalAccessToken ¶
HasPersonalAccessToken applies the HasEdge predicate on the "personal_access_token" edge.
func HasPersonalAccessTokenWith ¶
func HasPersonalAccessTokenWith(preds ...predicate.PersonalAccessToken) predicate.Event
HasPersonalAccessTokenWith applies the HasEdge predicate on the "personal_access_token" edge with a given conditions (other predicates).
func HasSubscriber ¶
HasSubscriber applies the HasEdge predicate on the "subscriber" edge.
func HasSubscriberWith ¶
func HasSubscriberWith(preds ...predicate.Subscriber) predicate.Event
HasSubscriberWith applies the HasEdge predicate on the "subscriber" edge with a given conditions (other predicates).
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func HasWebhook ¶
HasWebhook applies the HasEdge predicate on the "webhook" edge.
func HasWebhookWith ¶
HasWebhookWith applies the HasEdge predicate on the "webhook" 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 MappingID ¶
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
MappingIDNotIn applies the NotIn predicate on the "mapping_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 ¶ added in v0.5.2
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 ByEntitlement ¶
func ByEntitlement(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEntitlement orders the results by entitlement terms.
func ByEntitlementCount ¶
func ByEntitlementCount(opts ...sql.OrderTermOption) OrderOption
ByEntitlementCount orders the results by entitlement count.
func ByEntitlementplan ¶ added in v0.7.0
func ByEntitlementplan(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEntitlementplan orders the results by entitlementplan terms.
func ByEntitlementplanCount ¶ added in v0.7.0
func ByEntitlementplanCount(opts ...sql.OrderTermOption) OrderOption
ByEntitlementplanCount orders the results by entitlementplan count.
func ByEntitlementplanfeature ¶ added in v0.7.0
func ByEntitlementplanfeature(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEntitlementplanfeature orders the results by entitlementplanfeature terms.
func ByEntitlementplanfeatureCount ¶ added in v0.7.0
func ByEntitlementplanfeatureCount(opts ...sql.OrderTermOption) OrderOption
ByEntitlementplanfeatureCount orders the results by entitlementplanfeature count.
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 ByFeature ¶
func ByFeature(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFeature orders the results by feature terms.
func ByFeatureCount ¶
func ByFeatureCount(opts ...sql.OrderTermOption) OrderOption
ByFeatureCount orders the results by feature count.
func ByGroup ¶
func ByGroup(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGroup orders the results by group terms.
func ByGroupCount ¶
func ByGroupCount(opts ...sql.OrderTermOption) OrderOption
ByGroupCount orders the results by group count.
func ByGroupmembership ¶
func ByGroupmembership(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGroupmembership orders the results by groupmembership terms.
func ByGroupmembershipCount ¶
func ByGroupmembershipCount(opts ...sql.OrderTermOption) OrderOption
ByGroupmembershipCount orders the results by groupmembership count.
func ByHush ¶
func ByHush(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByHush orders the results by hush terms.
func ByHushCount ¶
func ByHushCount(opts ...sql.OrderTermOption) OrderOption
ByHushCount orders the results by hush count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIntegration ¶
func ByIntegration(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIntegration orders the results by integration terms.
func ByIntegrationCount ¶
func ByIntegrationCount(opts ...sql.OrderTermOption) OrderOption
ByIntegrationCount orders the results by integration count.
func ByInvite ¶
func ByInvite(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByInvite orders the results by invite terms.
func ByInviteCount ¶
func ByInviteCount(opts ...sql.OrderTermOption) OrderOption
ByInviteCount orders the results by invite count.
func ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByOauth2token ¶
func ByOauth2token(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOauth2token orders the results by oauth2token terms.
func ByOauth2tokenCount ¶
func ByOauth2tokenCount(opts ...sql.OrderTermOption) OrderOption
ByOauth2tokenCount orders the results by oauth2token count.
func ByOrganization ¶
func ByOrganization(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrganization orders the results by organization terms.
func ByOrganizationCount ¶
func ByOrganizationCount(opts ...sql.OrderTermOption) OrderOption
ByOrganizationCount orders the results by organization count.
func ByOrgmembership ¶
func ByOrgmembership(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrgmembership orders the results by orgmembership terms.
func ByOrgmembershipCount ¶
func ByOrgmembershipCount(opts ...sql.OrderTermOption) OrderOption
ByOrgmembershipCount orders the results by orgmembership count.
func ByPersonalAccessToken ¶
func ByPersonalAccessToken(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPersonalAccessToken orders the results by personal_access_token terms.
func ByPersonalAccessTokenCount ¶
func ByPersonalAccessTokenCount(opts ...sql.OrderTermOption) OrderOption
ByPersonalAccessTokenCount orders the results by personal_access_token count.
func BySubscriber ¶
func BySubscriber(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubscriber orders the results by subscriber terms.
func BySubscriberCount ¶
func BySubscriberCount(opts ...sql.OrderTermOption) OrderOption
BySubscriberCount orders the results by subscriber 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 ByUser ¶
func ByUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUser orders the results by user terms.
func ByUserCount ¶
func ByUserCount(opts ...sql.OrderTermOption) OrderOption
ByUserCount orders the results by user count.
func ByWebhook ¶
func ByWebhook(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWebhook orders the results by webhook terms.
func ByWebhookCount ¶
func ByWebhookCount(opts ...sql.OrderTermOption) OrderOption
ByWebhookCount orders the results by webhook count.