Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Campaign) predicate.Campaign
- func AssessmentID(v string) predicate.Campaign
- func AssessmentIDContains(v string) predicate.Campaign
- func AssessmentIDContainsFold(v string) predicate.Campaign
- func AssessmentIDEQ(v string) predicate.Campaign
- func AssessmentIDEqualFold(v string) predicate.Campaign
- func AssessmentIDGT(v string) predicate.Campaign
- func AssessmentIDGTE(v string) predicate.Campaign
- func AssessmentIDHasPrefix(v string) predicate.Campaign
- func AssessmentIDHasSuffix(v string) predicate.Campaign
- func AssessmentIDIn(vs ...string) predicate.Campaign
- func AssessmentIDIsNil() predicate.Campaign
- func AssessmentIDLT(v string) predicate.Campaign
- func AssessmentIDLTE(v string) predicate.Campaign
- func AssessmentIDNEQ(v string) predicate.Campaign
- func AssessmentIDNotIn(vs ...string) predicate.Campaign
- func AssessmentIDNotNil() predicate.Campaign
- func CampaignTypeEQ(v enums.CampaignType) predicate.Campaign
- func CampaignTypeIn(vs ...enums.CampaignType) predicate.Campaign
- func CampaignTypeNEQ(v enums.CampaignType) predicate.Campaign
- func CampaignTypeNotIn(vs ...enums.CampaignType) predicate.Campaign
- func CampaignTypeValidator(ct enums.CampaignType) error
- func CompletedAt(v models.DateTime) predicate.Campaign
- func CompletedAtEQ(v models.DateTime) predicate.Campaign
- func CompletedAtGT(v models.DateTime) predicate.Campaign
- func CompletedAtGTE(v models.DateTime) predicate.Campaign
- func CompletedAtIn(vs ...models.DateTime) predicate.Campaign
- func CompletedAtIsNil() predicate.Campaign
- func CompletedAtLT(v models.DateTime) predicate.Campaign
- func CompletedAtLTE(v models.DateTime) predicate.Campaign
- func CompletedAtNEQ(v models.DateTime) predicate.Campaign
- func CompletedAtNotIn(vs ...models.DateTime) predicate.Campaign
- func CompletedAtNotNil() predicate.Campaign
- func CreatedAt(v time.Time) predicate.Campaign
- func CreatedAtEQ(v time.Time) predicate.Campaign
- func CreatedAtGT(v time.Time) predicate.Campaign
- func CreatedAtGTE(v time.Time) predicate.Campaign
- func CreatedAtIn(vs ...time.Time) predicate.Campaign
- func CreatedAtIsNil() predicate.Campaign
- func CreatedAtLT(v time.Time) predicate.Campaign
- func CreatedAtLTE(v time.Time) predicate.Campaign
- func CreatedAtNEQ(v time.Time) predicate.Campaign
- func CreatedAtNotIn(vs ...time.Time) predicate.Campaign
- func CreatedAtNotNil() predicate.Campaign
- func CreatedBy(v string) predicate.Campaign
- func CreatedByContains(v string) predicate.Campaign
- func CreatedByContainsFold(v string) predicate.Campaign
- func CreatedByEQ(v string) predicate.Campaign
- func CreatedByEqualFold(v string) predicate.Campaign
- func CreatedByGT(v string) predicate.Campaign
- func CreatedByGTE(v string) predicate.Campaign
- func CreatedByHasPrefix(v string) predicate.Campaign
- func CreatedByHasSuffix(v string) predicate.Campaign
- func CreatedByIn(vs ...string) predicate.Campaign
- func CreatedByIsNil() predicate.Campaign
- func CreatedByLT(v string) predicate.Campaign
- func CreatedByLTE(v string) predicate.Campaign
- func CreatedByNEQ(v string) predicate.Campaign
- func CreatedByNotIn(vs ...string) predicate.Campaign
- func CreatedByNotNil() predicate.Campaign
- func DeletedAt(v time.Time) predicate.Campaign
- func DeletedAtEQ(v time.Time) predicate.Campaign
- func DeletedAtGT(v time.Time) predicate.Campaign
- func DeletedAtGTE(v time.Time) predicate.Campaign
- func DeletedAtIn(vs ...time.Time) predicate.Campaign
- func DeletedAtIsNil() predicate.Campaign
- func DeletedAtLT(v time.Time) predicate.Campaign
- func DeletedAtLTE(v time.Time) predicate.Campaign
- func DeletedAtNEQ(v time.Time) predicate.Campaign
- func DeletedAtNotIn(vs ...time.Time) predicate.Campaign
- func DeletedAtNotNil() predicate.Campaign
- func DeletedBy(v string) predicate.Campaign
- func DeletedByContains(v string) predicate.Campaign
- func DeletedByContainsFold(v string) predicate.Campaign
- func DeletedByEQ(v string) predicate.Campaign
- func DeletedByEqualFold(v string) predicate.Campaign
- func DeletedByGT(v string) predicate.Campaign
- func DeletedByGTE(v string) predicate.Campaign
- func DeletedByHasPrefix(v string) predicate.Campaign
- func DeletedByHasSuffix(v string) predicate.Campaign
- func DeletedByIn(vs ...string) predicate.Campaign
- func DeletedByIsNil() predicate.Campaign
- func DeletedByLT(v string) predicate.Campaign
- func DeletedByLTE(v string) predicate.Campaign
- func DeletedByNEQ(v string) predicate.Campaign
- func DeletedByNotIn(vs ...string) predicate.Campaign
- func DeletedByNotNil() predicate.Campaign
- func Description(v string) predicate.Campaign
- func DescriptionContains(v string) predicate.Campaign
- func DescriptionContainsFold(v string) predicate.Campaign
- func DescriptionEQ(v string) predicate.Campaign
- func DescriptionEqualFold(v string) predicate.Campaign
- func DescriptionGT(v string) predicate.Campaign
- func DescriptionGTE(v string) predicate.Campaign
- func DescriptionHasPrefix(v string) predicate.Campaign
- func DescriptionHasSuffix(v string) predicate.Campaign
- func DescriptionIn(vs ...string) predicate.Campaign
- func DescriptionIsNil() predicate.Campaign
- func DescriptionLT(v string) predicate.Campaign
- func DescriptionLTE(v string) predicate.Campaign
- func DescriptionNEQ(v string) predicate.Campaign
- func DescriptionNotIn(vs ...string) predicate.Campaign
- func DescriptionNotNil() predicate.Campaign
- func DisplayID(v string) predicate.Campaign
- func DisplayIDContains(v string) predicate.Campaign
- func DisplayIDContainsFold(v string) predicate.Campaign
- func DisplayIDEQ(v string) predicate.Campaign
- func DisplayIDEqualFold(v string) predicate.Campaign
- func DisplayIDGT(v string) predicate.Campaign
- func DisplayIDGTE(v string) predicate.Campaign
- func DisplayIDHasPrefix(v string) predicate.Campaign
- func DisplayIDHasSuffix(v string) predicate.Campaign
- func DisplayIDIn(vs ...string) predicate.Campaign
- func DisplayIDLT(v string) predicate.Campaign
- func DisplayIDLTE(v string) predicate.Campaign
- func DisplayIDNEQ(v string) predicate.Campaign
- func DisplayIDNotIn(vs ...string) predicate.Campaign
- func DueDate(v models.DateTime) predicate.Campaign
- func DueDateEQ(v models.DateTime) predicate.Campaign
- func DueDateGT(v models.DateTime) predicate.Campaign
- func DueDateGTE(v models.DateTime) predicate.Campaign
- func DueDateIn(vs ...models.DateTime) predicate.Campaign
- func DueDateIsNil() predicate.Campaign
- func DueDateLT(v models.DateTime) predicate.Campaign
- func DueDateLTE(v models.DateTime) predicate.Campaign
- func DueDateNEQ(v models.DateTime) predicate.Campaign
- func DueDateNotIn(vs ...models.DateTime) predicate.Campaign
- func DueDateNotNil() predicate.Campaign
- func EmailBrandingID(v string) predicate.Campaign
- func EmailBrandingIDContains(v string) predicate.Campaign
- func EmailBrandingIDContainsFold(v string) predicate.Campaign
- func EmailBrandingIDEQ(v string) predicate.Campaign
- func EmailBrandingIDEqualFold(v string) predicate.Campaign
- func EmailBrandingIDGT(v string) predicate.Campaign
- func EmailBrandingIDGTE(v string) predicate.Campaign
- func EmailBrandingIDHasPrefix(v string) predicate.Campaign
- func EmailBrandingIDHasSuffix(v string) predicate.Campaign
- func EmailBrandingIDIn(vs ...string) predicate.Campaign
- func EmailBrandingIDIsNil() predicate.Campaign
- func EmailBrandingIDLT(v string) predicate.Campaign
- func EmailBrandingIDLTE(v string) predicate.Campaign
- func EmailBrandingIDNEQ(v string) predicate.Campaign
- func EmailBrandingIDNotIn(vs ...string) predicate.Campaign
- func EmailBrandingIDNotNil() predicate.Campaign
- func EmailTemplateID(v string) predicate.Campaign
- func EmailTemplateIDContains(v string) predicate.Campaign
- func EmailTemplateIDContainsFold(v string) predicate.Campaign
- func EmailTemplateIDEQ(v string) predicate.Campaign
- func EmailTemplateIDEqualFold(v string) predicate.Campaign
- func EmailTemplateIDGT(v string) predicate.Campaign
- func EmailTemplateIDGTE(v string) predicate.Campaign
- func EmailTemplateIDHasPrefix(v string) predicate.Campaign
- func EmailTemplateIDHasSuffix(v string) predicate.Campaign
- func EmailTemplateIDIn(vs ...string) predicate.Campaign
- func EmailTemplateIDIsNil() predicate.Campaign
- func EmailTemplateIDLT(v string) predicate.Campaign
- func EmailTemplateIDLTE(v string) predicate.Campaign
- func EmailTemplateIDNEQ(v string) predicate.Campaign
- func EmailTemplateIDNotIn(vs ...string) predicate.Campaign
- func EmailTemplateIDNotNil() predicate.Campaign
- func EntityID(v string) predicate.Campaign
- func EntityIDContains(v string) predicate.Campaign
- func EntityIDContainsFold(v string) predicate.Campaign
- func EntityIDEQ(v string) predicate.Campaign
- func EntityIDEqualFold(v string) predicate.Campaign
- func EntityIDGT(v string) predicate.Campaign
- func EntityIDGTE(v string) predicate.Campaign
- func EntityIDHasPrefix(v string) predicate.Campaign
- func EntityIDHasSuffix(v string) predicate.Campaign
- func EntityIDIn(vs ...string) predicate.Campaign
- func EntityIDIsNil() predicate.Campaign
- func EntityIDLT(v string) predicate.Campaign
- func EntityIDLTE(v string) predicate.Campaign
- func EntityIDNEQ(v string) predicate.Campaign
- func EntityIDNotIn(vs ...string) predicate.Campaign
- func EntityIDNotNil() predicate.Campaign
- func HasAssessment() predicate.Campaign
- func HasAssessmentResponses() predicate.Campaign
- func HasAssessmentResponsesWith(preds ...predicate.AssessmentResponse) predicate.Campaign
- func HasAssessmentWith(preds ...predicate.Assessment) predicate.Campaign
- func HasBlockedGroups() predicate.Campaign
- func HasBlockedGroupsWith(preds ...predicate.Group) predicate.Campaign
- func HasCampaignTargets() predicate.Campaign
- func HasCampaignTargetsWith(preds ...predicate.CampaignTarget) predicate.Campaign
- func HasContacts() predicate.Campaign
- func HasContactsWith(preds ...predicate.Contact) predicate.Campaign
- func HasControls() predicate.Campaign
- func HasControlsWith(preds ...predicate.Control) predicate.Campaign
- func HasEditors() predicate.Campaign
- func HasEditorsWith(preds ...predicate.Group) predicate.Campaign
- func HasEmailBranding() predicate.Campaign
- func HasEmailBrandingWith(preds ...predicate.EmailBranding) predicate.Campaign
- func HasEmailTemplate() predicate.Campaign
- func HasEmailTemplateWith(preds ...predicate.EmailTemplate) predicate.Campaign
- func HasEntity() predicate.Campaign
- func HasEntityWith(preds ...predicate.Entity) predicate.Campaign
- func HasGroups() predicate.Campaign
- func HasGroupsWith(preds ...predicate.Group) predicate.Campaign
- func HasIdentityHolders() predicate.Campaign
- func HasIdentityHoldersWith(preds ...predicate.IdentityHolder) predicate.Campaign
- func HasInternalOwnerGroup() predicate.Campaign
- func HasInternalOwnerGroupWith(preds ...predicate.Group) predicate.Campaign
- func HasInternalOwnerUser() predicate.Campaign
- func HasInternalOwnerUserWith(preds ...predicate.User) predicate.Campaign
- func HasOwner() predicate.Campaign
- func HasOwnerWith(preds ...predicate.Organization) predicate.Campaign
- func HasTemplate() predicate.Campaign
- func HasTemplateWith(preds ...predicate.Template) predicate.Campaign
- func HasUsers() predicate.Campaign
- func HasUsersWith(preds ...predicate.User) predicate.Campaign
- func HasViewers() predicate.Campaign
- func HasViewersWith(preds ...predicate.Group) predicate.Campaign
- func HasWorkflowObjectRefs() predicate.Campaign
- func HasWorkflowObjectRefsWith(preds ...predicate.WorkflowObjectRef) predicate.Campaign
- func ID(id string) predicate.Campaign
- func IDContainsFold(id string) predicate.Campaign
- func IDEQ(id string) predicate.Campaign
- func IDEqualFold(id string) predicate.Campaign
- func IDGT(id string) predicate.Campaign
- func IDGTE(id string) predicate.Campaign
- func IDIn(ids ...string) predicate.Campaign
- func IDLT(id string) predicate.Campaign
- func IDLTE(id string) predicate.Campaign
- func IDNEQ(id string) predicate.Campaign
- func IDNotIn(ids ...string) predicate.Campaign
- func InternalOwner(v string) predicate.Campaign
- func InternalOwnerContains(v string) predicate.Campaign
- func InternalOwnerContainsFold(v string) predicate.Campaign
- func InternalOwnerEQ(v string) predicate.Campaign
- func InternalOwnerEqualFold(v string) predicate.Campaign
- func InternalOwnerGT(v string) predicate.Campaign
- func InternalOwnerGTE(v string) predicate.Campaign
- func InternalOwnerGroupID(v string) predicate.Campaign
- func InternalOwnerGroupIDContains(v string) predicate.Campaign
- func InternalOwnerGroupIDContainsFold(v string) predicate.Campaign
- func InternalOwnerGroupIDEQ(v string) predicate.Campaign
- func InternalOwnerGroupIDEqualFold(v string) predicate.Campaign
- func InternalOwnerGroupIDGT(v string) predicate.Campaign
- func InternalOwnerGroupIDGTE(v string) predicate.Campaign
- func InternalOwnerGroupIDHasPrefix(v string) predicate.Campaign
- func InternalOwnerGroupIDHasSuffix(v string) predicate.Campaign
- func InternalOwnerGroupIDIn(vs ...string) predicate.Campaign
- func InternalOwnerGroupIDIsNil() predicate.Campaign
- func InternalOwnerGroupIDLT(v string) predicate.Campaign
- func InternalOwnerGroupIDLTE(v string) predicate.Campaign
- func InternalOwnerGroupIDNEQ(v string) predicate.Campaign
- func InternalOwnerGroupIDNotIn(vs ...string) predicate.Campaign
- func InternalOwnerGroupIDNotNil() predicate.Campaign
- func InternalOwnerHasPrefix(v string) predicate.Campaign
- func InternalOwnerHasSuffix(v string) predicate.Campaign
- func InternalOwnerIn(vs ...string) predicate.Campaign
- func InternalOwnerIsNil() predicate.Campaign
- func InternalOwnerLT(v string) predicate.Campaign
- func InternalOwnerLTE(v string) predicate.Campaign
- func InternalOwnerNEQ(v string) predicate.Campaign
- func InternalOwnerNotIn(vs ...string) predicate.Campaign
- func InternalOwnerNotNil() predicate.Campaign
- func InternalOwnerUserID(v string) predicate.Campaign
- func InternalOwnerUserIDContains(v string) predicate.Campaign
- func InternalOwnerUserIDContainsFold(v string) predicate.Campaign
- func InternalOwnerUserIDEQ(v string) predicate.Campaign
- func InternalOwnerUserIDEqualFold(v string) predicate.Campaign
- func InternalOwnerUserIDGT(v string) predicate.Campaign
- func InternalOwnerUserIDGTE(v string) predicate.Campaign
- func InternalOwnerUserIDHasPrefix(v string) predicate.Campaign
- func InternalOwnerUserIDHasSuffix(v string) predicate.Campaign
- func InternalOwnerUserIDIn(vs ...string) predicate.Campaign
- func InternalOwnerUserIDIsNil() predicate.Campaign
- func InternalOwnerUserIDLT(v string) predicate.Campaign
- func InternalOwnerUserIDLTE(v string) predicate.Campaign
- func InternalOwnerUserIDNEQ(v string) predicate.Campaign
- func InternalOwnerUserIDNotIn(vs ...string) predicate.Campaign
- func InternalOwnerUserIDNotNil() predicate.Campaign
- func IsActive(v bool) predicate.Campaign
- func IsActiveEQ(v bool) predicate.Campaign
- func IsActiveNEQ(v bool) predicate.Campaign
- func IsRecurring(v bool) predicate.Campaign
- func IsRecurringEQ(v bool) predicate.Campaign
- func IsRecurringNEQ(v bool) predicate.Campaign
- func LastResentAt(v models.DateTime) predicate.Campaign
- func LastResentAtEQ(v models.DateTime) predicate.Campaign
- func LastResentAtGT(v models.DateTime) predicate.Campaign
- func LastResentAtGTE(v models.DateTime) predicate.Campaign
- func LastResentAtIn(vs ...models.DateTime) predicate.Campaign
- func LastResentAtIsNil() predicate.Campaign
- func LastResentAtLT(v models.DateTime) predicate.Campaign
- func LastResentAtLTE(v models.DateTime) predicate.Campaign
- func LastResentAtNEQ(v models.DateTime) predicate.Campaign
- func LastResentAtNotIn(vs ...models.DateTime) predicate.Campaign
- func LastResentAtNotNil() predicate.Campaign
- func LastRunAt(v models.DateTime) predicate.Campaign
- func LastRunAtEQ(v models.DateTime) predicate.Campaign
- func LastRunAtGT(v models.DateTime) predicate.Campaign
- func LastRunAtGTE(v models.DateTime) predicate.Campaign
- func LastRunAtIn(vs ...models.DateTime) predicate.Campaign
- func LastRunAtIsNil() predicate.Campaign
- func LastRunAtLT(v models.DateTime) predicate.Campaign
- func LastRunAtLTE(v models.DateTime) predicate.Campaign
- func LastRunAtNEQ(v models.DateTime) predicate.Campaign
- func LastRunAtNotIn(vs ...models.DateTime) predicate.Campaign
- func LastRunAtNotNil() predicate.Campaign
- func LaunchedAt(v models.DateTime) predicate.Campaign
- func LaunchedAtEQ(v models.DateTime) predicate.Campaign
- func LaunchedAtGT(v models.DateTime) predicate.Campaign
- func LaunchedAtGTE(v models.DateTime) predicate.Campaign
- func LaunchedAtIn(vs ...models.DateTime) predicate.Campaign
- func LaunchedAtIsNil() predicate.Campaign
- func LaunchedAtLT(v models.DateTime) predicate.Campaign
- func LaunchedAtLTE(v models.DateTime) predicate.Campaign
- func LaunchedAtNEQ(v models.DateTime) predicate.Campaign
- func LaunchedAtNotIn(vs ...models.DateTime) predicate.Campaign
- func LaunchedAtNotNil() predicate.Campaign
- func MetadataIsNil() predicate.Campaign
- func MetadataNotNil() predicate.Campaign
- func Name(v string) predicate.Campaign
- func NameContains(v string) predicate.Campaign
- func NameContainsFold(v string) predicate.Campaign
- func NameEQ(v string) predicate.Campaign
- func NameEqualFold(v string) predicate.Campaign
- func NameGT(v string) predicate.Campaign
- func NameGTE(v string) predicate.Campaign
- func NameHasPrefix(v string) predicate.Campaign
- func NameHasSuffix(v string) predicate.Campaign
- func NameIn(vs ...string) predicate.Campaign
- func NameLT(v string) predicate.Campaign
- func NameLTE(v string) predicate.Campaign
- func NameNEQ(v string) predicate.Campaign
- func NameNotIn(vs ...string) predicate.Campaign
- func NextRunAt(v models.DateTime) predicate.Campaign
- func NextRunAtEQ(v models.DateTime) predicate.Campaign
- func NextRunAtGT(v models.DateTime) predicate.Campaign
- func NextRunAtGTE(v models.DateTime) predicate.Campaign
- func NextRunAtIn(vs ...models.DateTime) predicate.Campaign
- func NextRunAtIsNil() predicate.Campaign
- func NextRunAtLT(v models.DateTime) predicate.Campaign
- func NextRunAtLTE(v models.DateTime) predicate.Campaign
- func NextRunAtNEQ(v models.DateTime) predicate.Campaign
- func NextRunAtNotIn(vs ...models.DateTime) predicate.Campaign
- func NextRunAtNotNil() predicate.Campaign
- func Not(p predicate.Campaign) predicate.Campaign
- func Or(predicates ...predicate.Campaign) predicate.Campaign
- func OwnerID(v string) predicate.Campaign
- func OwnerIDContains(v string) predicate.Campaign
- func OwnerIDContainsFold(v string) predicate.Campaign
- func OwnerIDEQ(v string) predicate.Campaign
- func OwnerIDEqualFold(v string) predicate.Campaign
- func OwnerIDGT(v string) predicate.Campaign
- func OwnerIDGTE(v string) predicate.Campaign
- func OwnerIDHasPrefix(v string) predicate.Campaign
- func OwnerIDHasSuffix(v string) predicate.Campaign
- func OwnerIDIn(vs ...string) predicate.Campaign
- func OwnerIDIsNil() predicate.Campaign
- func OwnerIDLT(v string) predicate.Campaign
- func OwnerIDLTE(v string) predicate.Campaign
- func OwnerIDNEQ(v string) predicate.Campaign
- func OwnerIDNotIn(vs ...string) predicate.Campaign
- func OwnerIDNotNil() predicate.Campaign
- func RecipientCount(v int) predicate.Campaign
- func RecipientCountEQ(v int) predicate.Campaign
- func RecipientCountGT(v int) predicate.Campaign
- func RecipientCountGTE(v int) predicate.Campaign
- func RecipientCountIn(vs ...int) predicate.Campaign
- func RecipientCountIsNil() predicate.Campaign
- func RecipientCountLT(v int) predicate.Campaign
- func RecipientCountLTE(v int) predicate.Campaign
- func RecipientCountNEQ(v int) predicate.Campaign
- func RecipientCountNotIn(vs ...int) predicate.Campaign
- func RecipientCountNotNil() predicate.Campaign
- func RecurrenceCron(v models.Cron) predicate.Campaign
- func RecurrenceCronContains(v models.Cron) predicate.Campaign
- func RecurrenceCronContainsFold(v models.Cron) predicate.Campaign
- func RecurrenceCronEQ(v models.Cron) predicate.Campaign
- func RecurrenceCronEqualFold(v models.Cron) predicate.Campaign
- func RecurrenceCronGT(v models.Cron) predicate.Campaign
- func RecurrenceCronGTE(v models.Cron) predicate.Campaign
- func RecurrenceCronHasPrefix(v models.Cron) predicate.Campaign
- func RecurrenceCronHasSuffix(v models.Cron) predicate.Campaign
- func RecurrenceCronIn(vs ...models.Cron) predicate.Campaign
- func RecurrenceCronIsNil() predicate.Campaign
- func RecurrenceCronLT(v models.Cron) predicate.Campaign
- func RecurrenceCronLTE(v models.Cron) predicate.Campaign
- func RecurrenceCronNEQ(v models.Cron) predicate.Campaign
- func RecurrenceCronNotIn(vs ...models.Cron) predicate.Campaign
- func RecurrenceCronNotNil() predicate.Campaign
- func RecurrenceEndAt(v models.DateTime) predicate.Campaign
- func RecurrenceEndAtEQ(v models.DateTime) predicate.Campaign
- func RecurrenceEndAtGT(v models.DateTime) predicate.Campaign
- func RecurrenceEndAtGTE(v models.DateTime) predicate.Campaign
- func RecurrenceEndAtIn(vs ...models.DateTime) predicate.Campaign
- func RecurrenceEndAtIsNil() predicate.Campaign
- func RecurrenceEndAtLT(v models.DateTime) predicate.Campaign
- func RecurrenceEndAtLTE(v models.DateTime) predicate.Campaign
- func RecurrenceEndAtNEQ(v models.DateTime) predicate.Campaign
- func RecurrenceEndAtNotIn(vs ...models.DateTime) predicate.Campaign
- func RecurrenceEndAtNotNil() predicate.Campaign
- func RecurrenceFrequencyEQ(v enums.Frequency) predicate.Campaign
- func RecurrenceFrequencyIn(vs ...enums.Frequency) predicate.Campaign
- func RecurrenceFrequencyIsNil() predicate.Campaign
- func RecurrenceFrequencyNEQ(v enums.Frequency) predicate.Campaign
- func RecurrenceFrequencyNotIn(vs ...enums.Frequency) predicate.Campaign
- func RecurrenceFrequencyNotNil() predicate.Campaign
- func RecurrenceFrequencyValidator(rf enums.Frequency) error
- func RecurrenceInterval(v int) predicate.Campaign
- func RecurrenceIntervalEQ(v int) predicate.Campaign
- func RecurrenceIntervalGT(v int) predicate.Campaign
- func RecurrenceIntervalGTE(v int) predicate.Campaign
- func RecurrenceIntervalIn(vs ...int) predicate.Campaign
- func RecurrenceIntervalIsNil() predicate.Campaign
- func RecurrenceIntervalLT(v int) predicate.Campaign
- func RecurrenceIntervalLTE(v int) predicate.Campaign
- func RecurrenceIntervalNEQ(v int) predicate.Campaign
- func RecurrenceIntervalNotIn(vs ...int) predicate.Campaign
- func RecurrenceIntervalNotNil() predicate.Campaign
- func RecurrenceTimezone(v string) predicate.Campaign
- func RecurrenceTimezoneContains(v string) predicate.Campaign
- func RecurrenceTimezoneContainsFold(v string) predicate.Campaign
- func RecurrenceTimezoneEQ(v string) predicate.Campaign
- func RecurrenceTimezoneEqualFold(v string) predicate.Campaign
- func RecurrenceTimezoneGT(v string) predicate.Campaign
- func RecurrenceTimezoneGTE(v string) predicate.Campaign
- func RecurrenceTimezoneHasPrefix(v string) predicate.Campaign
- func RecurrenceTimezoneHasSuffix(v string) predicate.Campaign
- func RecurrenceTimezoneIn(vs ...string) predicate.Campaign
- func RecurrenceTimezoneIsNil() predicate.Campaign
- func RecurrenceTimezoneLT(v string) predicate.Campaign
- func RecurrenceTimezoneLTE(v string) predicate.Campaign
- func RecurrenceTimezoneNEQ(v string) predicate.Campaign
- func RecurrenceTimezoneNotIn(vs ...string) predicate.Campaign
- func RecurrenceTimezoneNotNil() predicate.Campaign
- func ResendCount(v int) predicate.Campaign
- func ResendCountEQ(v int) predicate.Campaign
- func ResendCountGT(v int) predicate.Campaign
- func ResendCountGTE(v int) predicate.Campaign
- func ResendCountIn(vs ...int) predicate.Campaign
- func ResendCountIsNil() predicate.Campaign
- func ResendCountLT(v int) predicate.Campaign
- func ResendCountLTE(v int) predicate.Campaign
- func ResendCountNEQ(v int) predicate.Campaign
- func ResendCountNotIn(vs ...int) predicate.Campaign
- func ResendCountNotNil() predicate.Campaign
- func ScheduledAt(v models.DateTime) predicate.Campaign
- func ScheduledAtEQ(v models.DateTime) predicate.Campaign
- func ScheduledAtGT(v models.DateTime) predicate.Campaign
- func ScheduledAtGTE(v models.DateTime) predicate.Campaign
- func ScheduledAtIn(vs ...models.DateTime) predicate.Campaign
- func ScheduledAtIsNil() predicate.Campaign
- func ScheduledAtLT(v models.DateTime) predicate.Campaign
- func ScheduledAtLTE(v models.DateTime) predicate.Campaign
- func ScheduledAtNEQ(v models.DateTime) predicate.Campaign
- func ScheduledAtNotIn(vs ...models.DateTime) predicate.Campaign
- func ScheduledAtNotNil() predicate.Campaign
- func StatusEQ(v enums.CampaignStatus) predicate.Campaign
- func StatusIn(vs ...enums.CampaignStatus) predicate.Campaign
- func StatusNEQ(v enums.CampaignStatus) predicate.Campaign
- func StatusNotIn(vs ...enums.CampaignStatus) predicate.Campaign
- func StatusValidator(s enums.CampaignStatus) error
- func TagsIsNil() predicate.Campaign
- func TagsNotNil() predicate.Campaign
- func TemplateID(v string) predicate.Campaign
- func TemplateIDContains(v string) predicate.Campaign
- func TemplateIDContainsFold(v string) predicate.Campaign
- func TemplateIDEQ(v string) predicate.Campaign
- func TemplateIDEqualFold(v string) predicate.Campaign
- func TemplateIDGT(v string) predicate.Campaign
- func TemplateIDGTE(v string) predicate.Campaign
- func TemplateIDHasPrefix(v string) predicate.Campaign
- func TemplateIDHasSuffix(v string) predicate.Campaign
- func TemplateIDIn(vs ...string) predicate.Campaign
- func TemplateIDIsNil() predicate.Campaign
- func TemplateIDLT(v string) predicate.Campaign
- func TemplateIDLTE(v string) predicate.Campaign
- func TemplateIDNEQ(v string) predicate.Campaign
- func TemplateIDNotIn(vs ...string) predicate.Campaign
- func TemplateIDNotNil() predicate.Campaign
- func UpdatedAt(v time.Time) predicate.Campaign
- func UpdatedAtEQ(v time.Time) predicate.Campaign
- func UpdatedAtGT(v time.Time) predicate.Campaign
- func UpdatedAtGTE(v time.Time) predicate.Campaign
- func UpdatedAtIn(vs ...time.Time) predicate.Campaign
- func UpdatedAtIsNil() predicate.Campaign
- func UpdatedAtLT(v time.Time) predicate.Campaign
- func UpdatedAtLTE(v time.Time) predicate.Campaign
- func UpdatedAtNEQ(v time.Time) predicate.Campaign
- func UpdatedAtNotIn(vs ...time.Time) predicate.Campaign
- func UpdatedAtNotNil() predicate.Campaign
- func UpdatedBy(v string) predicate.Campaign
- func UpdatedByContains(v string) predicate.Campaign
- func UpdatedByContainsFold(v string) predicate.Campaign
- func UpdatedByEQ(v string) predicate.Campaign
- func UpdatedByEqualFold(v string) predicate.Campaign
- func UpdatedByGT(v string) predicate.Campaign
- func UpdatedByGTE(v string) predicate.Campaign
- func UpdatedByHasPrefix(v string) predicate.Campaign
- func UpdatedByHasSuffix(v string) predicate.Campaign
- func UpdatedByIn(vs ...string) predicate.Campaign
- func UpdatedByIsNil() predicate.Campaign
- func UpdatedByLT(v string) predicate.Campaign
- func UpdatedByLTE(v string) predicate.Campaign
- func UpdatedByNEQ(v string) predicate.Campaign
- func UpdatedByNotIn(vs ...string) predicate.Campaign
- func UpdatedByNotNil() predicate.Campaign
- func ValidColumn(column string) bool
- func WorkflowEligibleMarker(v bool) predicate.Campaign
- func WorkflowEligibleMarkerEQ(v bool) predicate.Campaign
- func WorkflowEligibleMarkerIsNil() predicate.Campaign
- func WorkflowEligibleMarkerNEQ(v bool) predicate.Campaign
- func WorkflowEligibleMarkerNotNil() predicate.Campaign
- type OrderOption
- func ByAssessmentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAssessmentID(opts ...sql.OrderTermOption) OrderOption
- func ByAssessmentResponses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAssessmentResponsesCount(opts ...sql.OrderTermOption) OrderOption
- func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCampaignTargets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCampaignTargetsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCampaignType(opts ...sql.OrderTermOption) OrderOption
- func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByContacts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByContactsCount(opts ...sql.OrderTermOption) OrderOption
- func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
- func ByDueDate(opts ...sql.OrderTermOption) OrderOption
- func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByEmailBrandingField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEmailBrandingID(opts ...sql.OrderTermOption) OrderOption
- func ByEmailTemplateField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEmailTemplateID(opts ...sql.OrderTermOption) OrderOption
- func ByEntityField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEntityID(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 ByIdentityHolders(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIdentityHoldersCount(opts ...sql.OrderTermOption) OrderOption
- func ByInternalOwner(opts ...sql.OrderTermOption) OrderOption
- func ByInternalOwnerGroupField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByInternalOwnerGroupID(opts ...sql.OrderTermOption) OrderOption
- func ByInternalOwnerUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByInternalOwnerUserID(opts ...sql.OrderTermOption) OrderOption
- func ByIsActive(opts ...sql.OrderTermOption) OrderOption
- func ByIsRecurring(opts ...sql.OrderTermOption) OrderOption
- func ByLastResentAt(opts ...sql.OrderTermOption) OrderOption
- func ByLastRunAt(opts ...sql.OrderTermOption) OrderOption
- func ByLaunchedAt(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNextRunAt(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByRecipientCount(opts ...sql.OrderTermOption) OrderOption
- func ByRecurrenceCron(opts ...sql.OrderTermOption) OrderOption
- func ByRecurrenceEndAt(opts ...sql.OrderTermOption) OrderOption
- func ByRecurrenceFrequency(opts ...sql.OrderTermOption) OrderOption
- func ByRecurrenceInterval(opts ...sql.OrderTermOption) OrderOption
- func ByRecurrenceTimezone(opts ...sql.OrderTermOption) OrderOption
- func ByResendCount(opts ...sql.OrderTermOption) OrderOption
- func ByScheduledAt(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTemplateField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTemplateID(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
- func ByViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByViewersCount(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowEligibleMarker(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowObjectRefs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWorkflowObjectRefsCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the campaign type in the database. Label = "campaign" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldDisplayID holds the string denoting the display_id field in the database. FieldDisplayID = "display_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldInternalOwner holds the string denoting the internal_owner field in the database. FieldInternalOwner = "internal_owner" // FieldInternalOwnerUserID holds the string denoting the internal_owner_user_id field in the database. FieldInternalOwnerUserID = "internal_owner_user_id" // FieldInternalOwnerGroupID holds the string denoting the internal_owner_group_id field in the database. FieldInternalOwnerGroupID = "internal_owner_group_id" // FieldWorkflowEligibleMarker holds the string denoting the workflow_eligible_marker field in the database. FieldWorkflowEligibleMarker = "workflow_eligible_marker" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldCampaignType holds the string denoting the campaign_type field in the database. FieldCampaignType = "campaign_type" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldIsActive holds the string denoting the is_active field in the database. FieldIsActive = "is_active" // FieldScheduledAt holds the string denoting the scheduled_at field in the database. FieldScheduledAt = "scheduled_at" // FieldLaunchedAt holds the string denoting the launched_at field in the database. FieldLaunchedAt = "launched_at" // FieldCompletedAt holds the string denoting the completed_at field in the database. FieldCompletedAt = "completed_at" // FieldDueDate holds the string denoting the due_date field in the database. FieldDueDate = "due_date" // FieldIsRecurring holds the string denoting the is_recurring field in the database. FieldIsRecurring = "is_recurring" // FieldRecurrenceFrequency holds the string denoting the recurrence_frequency field in the database. FieldRecurrenceFrequency = "recurrence_frequency" // FieldRecurrenceInterval holds the string denoting the recurrence_interval field in the database. FieldRecurrenceInterval = "recurrence_interval" // FieldRecurrenceCron holds the string denoting the recurrence_cron field in the database. FieldRecurrenceCron = "recurrence_cron" // FieldRecurrenceTimezone holds the string denoting the recurrence_timezone field in the database. FieldRecurrenceTimezone = "recurrence_timezone" // FieldLastRunAt holds the string denoting the last_run_at field in the database. FieldLastRunAt = "last_run_at" // FieldNextRunAt holds the string denoting the next_run_at field in the database. FieldNextRunAt = "next_run_at" // FieldRecurrenceEndAt holds the string denoting the recurrence_end_at field in the database. FieldRecurrenceEndAt = "recurrence_end_at" // FieldRecipientCount holds the string denoting the recipient_count field in the database. FieldRecipientCount = "recipient_count" // FieldResendCount holds the string denoting the resend_count field in the database. FieldResendCount = "resend_count" // FieldLastResentAt holds the string denoting the last_resent_at field in the database. FieldLastResentAt = "last_resent_at" // FieldTemplateID holds the string denoting the template_id field in the database. FieldTemplateID = "template_id" // FieldEntityID holds the string denoting the entity_id field in the database. FieldEntityID = "entity_id" // FieldAssessmentID holds the string denoting the assessment_id field in the database. FieldAssessmentID = "assessment_id" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldEmailBrandingID holds the string denoting the email_branding_id field in the database. FieldEmailBrandingID = "email_branding_id" // FieldEmailTemplateID holds the string denoting the email_template_id field in the database. FieldEmailTemplateID = "email_template_id" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations. EdgeBlockedGroups = "blocked_groups" // EdgeEditors holds the string denoting the editors edge name in mutations. EdgeEditors = "editors" // EdgeViewers holds the string denoting the viewers edge name in mutations. EdgeViewers = "viewers" // EdgeInternalOwnerUser holds the string denoting the internal_owner_user edge name in mutations. EdgeInternalOwnerUser = "internal_owner_user" // EdgeInternalOwnerGroup holds the string denoting the internal_owner_group edge name in mutations. EdgeInternalOwnerGroup = "internal_owner_group" // EdgeAssessment holds the string denoting the assessment edge name in mutations. EdgeAssessment = "assessment" // EdgeTemplate holds the string denoting the template edge name in mutations. EdgeTemplate = "template" // EdgeEmailBranding holds the string denoting the email_branding edge name in mutations. EdgeEmailBranding = "email_branding" // EdgeEmailTemplate holds the string denoting the email_template edge name in mutations. EdgeEmailTemplate = "email_template" // EdgeEntity holds the string denoting the entity edge name in mutations. EdgeEntity = "entity" // EdgeCampaignTargets holds the string denoting the campaign_targets edge name in mutations. EdgeCampaignTargets = "campaign_targets" // EdgeAssessmentResponses holds the string denoting the assessment_responses edge name in mutations. EdgeAssessmentResponses = "assessment_responses" // EdgeContacts holds the string denoting the contacts edge name in mutations. EdgeContacts = "contacts" // 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" // EdgeIdentityHolders holds the string denoting the identity_holders edge name in mutations. EdgeIdentityHolders = "identity_holders" // EdgeControls holds the string denoting the controls edge name in mutations. EdgeControls = "controls" // EdgeWorkflowObjectRefs holds the string denoting the workflow_object_refs edge name in mutations. EdgeWorkflowObjectRefs = "workflow_object_refs" // Table holds the table name of the campaign in the database. Table = "campaigns" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "campaigns" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // BlockedGroupsTable is the table that holds the blocked_groups relation/edge. The primary key declared below. BlockedGroupsTable = "campaign_blocked_groups" // BlockedGroupsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. BlockedGroupsInverseTable = "groups" // EditorsTable is the table that holds the editors relation/edge. The primary key declared below. EditorsTable = "campaign_editors" // EditorsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. EditorsInverseTable = "groups" // ViewersTable is the table that holds the viewers relation/edge. The primary key declared below. ViewersTable = "campaign_viewers" // ViewersInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. ViewersInverseTable = "groups" // InternalOwnerUserTable is the table that holds the internal_owner_user relation/edge. InternalOwnerUserTable = "campaigns" // InternalOwnerUserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. InternalOwnerUserInverseTable = "users" // InternalOwnerUserColumn is the table column denoting the internal_owner_user relation/edge. InternalOwnerUserColumn = "internal_owner_user_id" // InternalOwnerGroupTable is the table that holds the internal_owner_group relation/edge. InternalOwnerGroupTable = "campaigns" // InternalOwnerGroupInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. InternalOwnerGroupInverseTable = "groups" // InternalOwnerGroupColumn is the table column denoting the internal_owner_group relation/edge. InternalOwnerGroupColumn = "internal_owner_group_id" // AssessmentTable is the table that holds the assessment relation/edge. AssessmentTable = "campaigns" // AssessmentInverseTable is the table name for the Assessment entity. // It exists in this package in order to avoid circular dependency with the "assessment" package. AssessmentInverseTable = "assessments" // AssessmentColumn is the table column denoting the assessment relation/edge. AssessmentColumn = "assessment_id" // TemplateTable is the table that holds the template relation/edge. TemplateTable = "campaigns" // TemplateInverseTable is the table name for the Template entity. // It exists in this package in order to avoid circular dependency with the "template" package. TemplateInverseTable = "templates" // TemplateColumn is the table column denoting the template relation/edge. TemplateColumn = "template_id" // EmailBrandingTable is the table that holds the email_branding relation/edge. EmailBrandingTable = "campaigns" // EmailBrandingInverseTable is the table name for the EmailBranding entity. // It exists in this package in order to avoid circular dependency with the "emailbranding" package. EmailBrandingInverseTable = "email_brandings" // EmailBrandingColumn is the table column denoting the email_branding relation/edge. EmailBrandingColumn = "email_branding_id" // EmailTemplateTable is the table that holds the email_template relation/edge. EmailTemplateTable = "campaigns" // EmailTemplateInverseTable is the table name for the EmailTemplate entity. // It exists in this package in order to avoid circular dependency with the "emailtemplate" package. EmailTemplateInverseTable = "email_templates" // EmailTemplateColumn is the table column denoting the email_template relation/edge. EmailTemplateColumn = "email_template_id" // EntityTable is the table that holds the entity relation/edge. EntityTable = "campaigns" // EntityInverseTable is the table name for the Entity entity. // It exists in this package in order to avoid circular dependency with the "entity" package. EntityInverseTable = "entities" // EntityColumn is the table column denoting the entity relation/edge. EntityColumn = "entity_id" // CampaignTargetsTable is the table that holds the campaign_targets relation/edge. CampaignTargetsTable = "campaign_targets" // CampaignTargetsInverseTable is the table name for the CampaignTarget entity. // It exists in this package in order to avoid circular dependency with the "campaigntarget" package. CampaignTargetsInverseTable = "campaign_targets" // CampaignTargetsColumn is the table column denoting the campaign_targets relation/edge. CampaignTargetsColumn = "campaign_id" // AssessmentResponsesTable is the table that holds the assessment_responses relation/edge. AssessmentResponsesTable = "assessment_responses" // AssessmentResponsesInverseTable is the table name for the AssessmentResponse entity. // It exists in this package in order to avoid circular dependency with the "assessmentresponse" package. AssessmentResponsesInverseTable = "assessment_responses" // AssessmentResponsesColumn is the table column denoting the assessment_responses relation/edge. AssessmentResponsesColumn = "campaign_id" // ContactsTable is the table that holds the contacts relation/edge. The primary key declared below. ContactsTable = "campaign_contacts" // ContactsInverseTable is the table name for the Contact entity. // It exists in this package in order to avoid circular dependency with the "contact" package. ContactsInverseTable = "contacts" // UsersTable is the table that holds the users relation/edge. The primary key declared below. UsersTable = "campaign_users" // 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 = "campaign_groups" // 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" // IdentityHoldersTable is the table that holds the identity_holders relation/edge. The primary key declared below. IdentityHoldersTable = "campaign_identity_holders" // IdentityHoldersInverseTable is the table name for the IdentityHolder entity. // It exists in this package in order to avoid circular dependency with the "identityholder" package. IdentityHoldersInverseTable = "identity_holders" // ControlsTable is the table that holds the controls relation/edge. The primary key declared below. ControlsTable = "control_campaigns" // ControlsInverseTable is the table name for the Control entity. // It exists in this package in order to avoid circular dependency with the "control" package. ControlsInverseTable = "controls" // WorkflowObjectRefsTable is the table that holds the workflow_object_refs relation/edge. WorkflowObjectRefsTable = "workflow_object_refs" // WorkflowObjectRefsInverseTable is the table name for the WorkflowObjectRef entity. // It exists in this package in order to avoid circular dependency with the "workflowobjectref" package. WorkflowObjectRefsInverseTable = "workflow_object_refs" // WorkflowObjectRefsColumn is the table column denoting the workflow_object_refs relation/edge. WorkflowObjectRefsColumn = "campaign_id" )
const DefaultCampaignType enums.CampaignType = "QUESTIONNAIRE"
const DefaultStatus enums.CampaignStatus = "DRAFT"
Variables ¶
var ( // BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the // primary key for the blocked_groups relation (M2M). BlockedGroupsPrimaryKey = []string{"campaign_id", "group_id"} // EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the // primary key for the editors relation (M2M). EditorsPrimaryKey = []string{"campaign_id", "group_id"} // ViewersPrimaryKey and ViewersColumn2 are the table columns denoting the // primary key for the viewers relation (M2M). ViewersPrimaryKey = []string{"campaign_id", "group_id"} // ContactsPrimaryKey and ContactsColumn2 are the table columns denoting the // primary key for the contacts relation (M2M). ContactsPrimaryKey = []string{"campaign_id", "contact_id"} // UsersPrimaryKey and UsersColumn2 are the table columns denoting the // primary key for the users relation (M2M). UsersPrimaryKey = []string{"campaign_id", "user_id"} // GroupsPrimaryKey and GroupsColumn2 are the table columns denoting the // primary key for the groups relation (M2M). GroupsPrimaryKey = []string{"campaign_id", "group_id"} // IdentityHoldersPrimaryKey and IdentityHoldersColumn2 are the table columns denoting the // primary key for the identity_holders relation (M2M). IdentityHoldersPrimaryKey = []string{"campaign_id", "identity_holder_id"} // ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the // primary key for the controls relation (M2M). ControlsPrimaryKey = []string{"control_id", "campaign_id"} )
var ( Hooks [11]ent.Hook Interceptors [3]ent.Interceptor 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 // DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save. DisplayIDValidator func(string) error // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // DefaultWorkflowEligibleMarker holds the default value on creation for the "workflow_eligible_marker" field. DefaultWorkflowEligibleMarker bool // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultIsActive holds the default value on creation for the "is_active" field. DefaultIsActive bool // DefaultIsRecurring holds the default value on creation for the "is_recurring" field. DefaultIsRecurring bool // DefaultRecurrenceInterval holds the default value on creation for the "recurrence_interval" field. DefaultRecurrenceInterval int // RecurrenceCronValidator is a validator for the "recurrence_cron" field. It is called by the builders before save. RecurrenceCronValidator func(string) error // RecurrenceTimezoneValidator is a validator for the "recurrence_timezone" field. It is called by the builders before save. RecurrenceTimezoneValidator func(string) error // DefaultRecipientCount holds the default value on creation for the "recipient_count" field. DefaultRecipientCount int // DefaultResendCount holds the default value on creation for the "resend_count" field. DefaultResendCount int // 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, FieldDeletedAt, FieldDeletedBy, FieldDisplayID, FieldTags, FieldOwnerID, FieldInternalOwner, FieldInternalOwnerUserID, FieldInternalOwnerGroupID, FieldWorkflowEligibleMarker, FieldName, FieldDescription, FieldCampaignType, FieldStatus, FieldIsActive, FieldScheduledAt, FieldLaunchedAt, FieldCompletedAt, FieldDueDate, FieldIsRecurring, FieldRecurrenceFrequency, FieldRecurrenceInterval, FieldRecurrenceCron, FieldRecurrenceTimezone, FieldLastRunAt, FieldNextRunAt, FieldRecurrenceEndAt, FieldRecipientCount, FieldResendCount, FieldLastResentAt, FieldTemplateID, FieldEntityID, FieldAssessmentID, FieldMetadata, FieldEmailBrandingID, FieldEmailTemplateID, }
Columns holds all SQL columns for campaign fields.
Functions ¶
func AssessmentID ¶
AssessmentID applies equality check predicate on the "assessment_id" field. It's identical to AssessmentIDEQ.
func AssessmentIDContains ¶
AssessmentIDContains applies the Contains predicate on the "assessment_id" field.
func AssessmentIDContainsFold ¶
AssessmentIDContainsFold applies the ContainsFold predicate on the "assessment_id" field.
func AssessmentIDEQ ¶
AssessmentIDEQ applies the EQ predicate on the "assessment_id" field.
func AssessmentIDEqualFold ¶
AssessmentIDEqualFold applies the EqualFold predicate on the "assessment_id" field.
func AssessmentIDGT ¶
AssessmentIDGT applies the GT predicate on the "assessment_id" field.
func AssessmentIDGTE ¶
AssessmentIDGTE applies the GTE predicate on the "assessment_id" field.
func AssessmentIDHasPrefix ¶
AssessmentIDHasPrefix applies the HasPrefix predicate on the "assessment_id" field.
func AssessmentIDHasSuffix ¶
AssessmentIDHasSuffix applies the HasSuffix predicate on the "assessment_id" field.
func AssessmentIDIn ¶
AssessmentIDIn applies the In predicate on the "assessment_id" field.
func AssessmentIDIsNil ¶
AssessmentIDIsNil applies the IsNil predicate on the "assessment_id" field.
func AssessmentIDLT ¶
AssessmentIDLT applies the LT predicate on the "assessment_id" field.
func AssessmentIDLTE ¶
AssessmentIDLTE applies the LTE predicate on the "assessment_id" field.
func AssessmentIDNEQ ¶
AssessmentIDNEQ applies the NEQ predicate on the "assessment_id" field.
func AssessmentIDNotIn ¶
AssessmentIDNotIn applies the NotIn predicate on the "assessment_id" field.
func AssessmentIDNotNil ¶
AssessmentIDNotNil applies the NotNil predicate on the "assessment_id" field.
func CampaignTypeEQ ¶
func CampaignTypeEQ(v enums.CampaignType) predicate.Campaign
CampaignTypeEQ applies the EQ predicate on the "campaign_type" field.
func CampaignTypeIn ¶
func CampaignTypeIn(vs ...enums.CampaignType) predicate.Campaign
CampaignTypeIn applies the In predicate on the "campaign_type" field.
func CampaignTypeNEQ ¶
func CampaignTypeNEQ(v enums.CampaignType) predicate.Campaign
CampaignTypeNEQ applies the NEQ predicate on the "campaign_type" field.
func CampaignTypeNotIn ¶
func CampaignTypeNotIn(vs ...enums.CampaignType) predicate.Campaign
CampaignTypeNotIn applies the NotIn predicate on the "campaign_type" field.
func CampaignTypeValidator ¶
func CampaignTypeValidator(ct enums.CampaignType) error
CampaignTypeValidator is a validator for the "campaign_type" field enum values. It is called by the builders before save.
func CompletedAt ¶
CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.
func CompletedAtEQ ¶
CompletedAtEQ applies the EQ predicate on the "completed_at" field.
func CompletedAtGT ¶
CompletedAtGT applies the GT predicate on the "completed_at" field.
func CompletedAtGTE ¶
CompletedAtGTE applies the GTE predicate on the "completed_at" field.
func CompletedAtIn ¶
CompletedAtIn applies the In predicate on the "completed_at" field.
func CompletedAtIsNil ¶
CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.
func CompletedAtLT ¶
CompletedAtLT applies the LT predicate on the "completed_at" field.
func CompletedAtLTE ¶
CompletedAtLTE applies the LTE predicate on the "completed_at" field.
func CompletedAtNEQ ¶
CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.
func CompletedAtNotIn ¶
CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.
func CompletedAtNotNil ¶
CompletedAtNotNil applies the NotNil predicate on the "completed_at" 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 DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DisplayID ¶
DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.
func DisplayIDContains ¶
DisplayIDContains applies the Contains predicate on the "display_id" field.
func DisplayIDContainsFold ¶
DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.
func DisplayIDEQ ¶
DisplayIDEQ applies the EQ predicate on the "display_id" field.
func DisplayIDEqualFold ¶
DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.
func DisplayIDGT ¶
DisplayIDGT applies the GT predicate on the "display_id" field.
func DisplayIDGTE ¶
DisplayIDGTE applies the GTE predicate on the "display_id" field.
func DisplayIDHasPrefix ¶
DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.
func DisplayIDHasSuffix ¶
DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.
func DisplayIDIn ¶
DisplayIDIn applies the In predicate on the "display_id" field.
func DisplayIDLT ¶
DisplayIDLT applies the LT predicate on the "display_id" field.
func DisplayIDLTE ¶
DisplayIDLTE applies the LTE predicate on the "display_id" field.
func DisplayIDNEQ ¶
DisplayIDNEQ applies the NEQ predicate on the "display_id" field.
func DisplayIDNotIn ¶
DisplayIDNotIn applies the NotIn predicate on the "display_id" field.
func DueDate ¶
DueDate applies equality check predicate on the "due_date" field. It's identical to DueDateEQ.
func DueDateGTE ¶
DueDateGTE applies the GTE predicate on the "due_date" field.
func DueDateIsNil ¶
DueDateIsNil applies the IsNil predicate on the "due_date" field.
func DueDateLTE ¶
DueDateLTE applies the LTE predicate on the "due_date" field.
func DueDateNEQ ¶
DueDateNEQ applies the NEQ predicate on the "due_date" field.
func DueDateNotIn ¶
DueDateNotIn applies the NotIn predicate on the "due_date" field.
func DueDateNotNil ¶
DueDateNotNil applies the NotNil predicate on the "due_date" field.
func EmailBrandingID ¶ added in v1.7.0
EmailBrandingID applies equality check predicate on the "email_branding_id" field. It's identical to EmailBrandingIDEQ.
func EmailBrandingIDContains ¶ added in v1.7.0
EmailBrandingIDContains applies the Contains predicate on the "email_branding_id" field.
func EmailBrandingIDContainsFold ¶ added in v1.7.0
EmailBrandingIDContainsFold applies the ContainsFold predicate on the "email_branding_id" field.
func EmailBrandingIDEQ ¶ added in v1.7.0
EmailBrandingIDEQ applies the EQ predicate on the "email_branding_id" field.
func EmailBrandingIDEqualFold ¶ added in v1.7.0
EmailBrandingIDEqualFold applies the EqualFold predicate on the "email_branding_id" field.
func EmailBrandingIDGT ¶ added in v1.7.0
EmailBrandingIDGT applies the GT predicate on the "email_branding_id" field.
func EmailBrandingIDGTE ¶ added in v1.7.0
EmailBrandingIDGTE applies the GTE predicate on the "email_branding_id" field.
func EmailBrandingIDHasPrefix ¶ added in v1.7.0
EmailBrandingIDHasPrefix applies the HasPrefix predicate on the "email_branding_id" field.
func EmailBrandingIDHasSuffix ¶ added in v1.7.0
EmailBrandingIDHasSuffix applies the HasSuffix predicate on the "email_branding_id" field.
func EmailBrandingIDIn ¶ added in v1.7.0
EmailBrandingIDIn applies the In predicate on the "email_branding_id" field.
func EmailBrandingIDIsNil ¶ added in v1.7.0
EmailBrandingIDIsNil applies the IsNil predicate on the "email_branding_id" field.
func EmailBrandingIDLT ¶ added in v1.7.0
EmailBrandingIDLT applies the LT predicate on the "email_branding_id" field.
func EmailBrandingIDLTE ¶ added in v1.7.0
EmailBrandingIDLTE applies the LTE predicate on the "email_branding_id" field.
func EmailBrandingIDNEQ ¶ added in v1.7.0
EmailBrandingIDNEQ applies the NEQ predicate on the "email_branding_id" field.
func EmailBrandingIDNotIn ¶ added in v1.7.0
EmailBrandingIDNotIn applies the NotIn predicate on the "email_branding_id" field.
func EmailBrandingIDNotNil ¶ added in v1.7.0
EmailBrandingIDNotNil applies the NotNil predicate on the "email_branding_id" field.
func EmailTemplateID ¶ added in v1.7.0
EmailTemplateID applies equality check predicate on the "email_template_id" field. It's identical to EmailTemplateIDEQ.
func EmailTemplateIDContains ¶ added in v1.7.0
EmailTemplateIDContains applies the Contains predicate on the "email_template_id" field.
func EmailTemplateIDContainsFold ¶ added in v1.7.0
EmailTemplateIDContainsFold applies the ContainsFold predicate on the "email_template_id" field.
func EmailTemplateIDEQ ¶ added in v1.7.0
EmailTemplateIDEQ applies the EQ predicate on the "email_template_id" field.
func EmailTemplateIDEqualFold ¶ added in v1.7.0
EmailTemplateIDEqualFold applies the EqualFold predicate on the "email_template_id" field.
func EmailTemplateIDGT ¶ added in v1.7.0
EmailTemplateIDGT applies the GT predicate on the "email_template_id" field.
func EmailTemplateIDGTE ¶ added in v1.7.0
EmailTemplateIDGTE applies the GTE predicate on the "email_template_id" field.
func EmailTemplateIDHasPrefix ¶ added in v1.7.0
EmailTemplateIDHasPrefix applies the HasPrefix predicate on the "email_template_id" field.
func EmailTemplateIDHasSuffix ¶ added in v1.7.0
EmailTemplateIDHasSuffix applies the HasSuffix predicate on the "email_template_id" field.
func EmailTemplateIDIn ¶ added in v1.7.0
EmailTemplateIDIn applies the In predicate on the "email_template_id" field.
func EmailTemplateIDIsNil ¶ added in v1.7.0
EmailTemplateIDIsNil applies the IsNil predicate on the "email_template_id" field.
func EmailTemplateIDLT ¶ added in v1.7.0
EmailTemplateIDLT applies the LT predicate on the "email_template_id" field.
func EmailTemplateIDLTE ¶ added in v1.7.0
EmailTemplateIDLTE applies the LTE predicate on the "email_template_id" field.
func EmailTemplateIDNEQ ¶ added in v1.7.0
EmailTemplateIDNEQ applies the NEQ predicate on the "email_template_id" field.
func EmailTemplateIDNotIn ¶ added in v1.7.0
EmailTemplateIDNotIn applies the NotIn predicate on the "email_template_id" field.
func EmailTemplateIDNotNil ¶ added in v1.7.0
EmailTemplateIDNotNil applies the NotNil predicate on the "email_template_id" field.
func EntityID ¶
EntityID applies equality check predicate on the "entity_id" field. It's identical to EntityIDEQ.
func EntityIDContains ¶
EntityIDContains applies the Contains predicate on the "entity_id" field.
func EntityIDContainsFold ¶
EntityIDContainsFold applies the ContainsFold predicate on the "entity_id" field.
func EntityIDEQ ¶
EntityIDEQ applies the EQ predicate on the "entity_id" field.
func EntityIDEqualFold ¶
EntityIDEqualFold applies the EqualFold predicate on the "entity_id" field.
func EntityIDGT ¶
EntityIDGT applies the GT predicate on the "entity_id" field.
func EntityIDGTE ¶
EntityIDGTE applies the GTE predicate on the "entity_id" field.
func EntityIDHasPrefix ¶
EntityIDHasPrefix applies the HasPrefix predicate on the "entity_id" field.
func EntityIDHasSuffix ¶
EntityIDHasSuffix applies the HasSuffix predicate on the "entity_id" field.
func EntityIDIn ¶
EntityIDIn applies the In predicate on the "entity_id" field.
func EntityIDIsNil ¶
EntityIDIsNil applies the IsNil predicate on the "entity_id" field.
func EntityIDLT ¶
EntityIDLT applies the LT predicate on the "entity_id" field.
func EntityIDLTE ¶
EntityIDLTE applies the LTE predicate on the "entity_id" field.
func EntityIDNEQ ¶
EntityIDNEQ applies the NEQ predicate on the "entity_id" field.
func EntityIDNotIn ¶
EntityIDNotIn applies the NotIn predicate on the "entity_id" field.
func EntityIDNotNil ¶
EntityIDNotNil applies the NotNil predicate on the "entity_id" field.
func HasAssessment ¶
HasAssessment applies the HasEdge predicate on the "assessment" edge.
func HasAssessmentResponses ¶
HasAssessmentResponses applies the HasEdge predicate on the "assessment_responses" edge.
func HasAssessmentResponsesWith ¶
func HasAssessmentResponsesWith(preds ...predicate.AssessmentResponse) predicate.Campaign
HasAssessmentResponsesWith applies the HasEdge predicate on the "assessment_responses" edge with a given conditions (other predicates).
func HasAssessmentWith ¶
func HasAssessmentWith(preds ...predicate.Assessment) predicate.Campaign
HasAssessmentWith applies the HasEdge predicate on the "assessment" edge with a given conditions (other predicates).
func HasBlockedGroups ¶
HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.
func HasBlockedGroupsWith ¶
HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).
func HasCampaignTargets ¶
HasCampaignTargets applies the HasEdge predicate on the "campaign_targets" edge.
func HasCampaignTargetsWith ¶
func HasCampaignTargetsWith(preds ...predicate.CampaignTarget) predicate.Campaign
HasCampaignTargetsWith applies the HasEdge predicate on the "campaign_targets" edge with a given conditions (other predicates).
func HasContacts ¶
HasContacts applies the HasEdge predicate on the "contacts" edge.
func HasContactsWith ¶
HasContactsWith applies the HasEdge predicate on the "contacts" edge with a given conditions (other predicates).
func HasControls ¶ added in v1.11.9
HasControls applies the HasEdge predicate on the "controls" edge.
func HasControlsWith ¶ added in v1.11.9
HasControlsWith applies the HasEdge predicate on the "controls" edge with a given conditions (other predicates).
func HasEditors ¶
HasEditors applies the HasEdge predicate on the "editors" edge.
func HasEditorsWith ¶
HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).
func HasEmailBranding ¶ added in v1.7.0
HasEmailBranding applies the HasEdge predicate on the "email_branding" edge.
func HasEmailBrandingWith ¶ added in v1.7.0
func HasEmailBrandingWith(preds ...predicate.EmailBranding) predicate.Campaign
HasEmailBrandingWith applies the HasEdge predicate on the "email_branding" edge with a given conditions (other predicates).
func HasEmailTemplate ¶ added in v1.7.0
HasEmailTemplate applies the HasEdge predicate on the "email_template" edge.
func HasEmailTemplateWith ¶ added in v1.7.0
func HasEmailTemplateWith(preds ...predicate.EmailTemplate) predicate.Campaign
HasEmailTemplateWith applies the HasEdge predicate on the "email_template" edge with a given conditions (other predicates).
func HasEntityWith ¶
HasEntityWith applies the HasEdge predicate on the "entity" edge with a given conditions (other predicates).
func HasGroupsWith ¶
HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).
func HasIdentityHolders ¶
HasIdentityHolders applies the HasEdge predicate on the "identity_holders" edge.
func HasIdentityHoldersWith ¶
func HasIdentityHoldersWith(preds ...predicate.IdentityHolder) predicate.Campaign
HasIdentityHoldersWith applies the HasEdge predicate on the "identity_holders" edge with a given conditions (other predicates).
func HasInternalOwnerGroup ¶
HasInternalOwnerGroup applies the HasEdge predicate on the "internal_owner_group" edge.
func HasInternalOwnerGroupWith ¶
HasInternalOwnerGroupWith applies the HasEdge predicate on the "internal_owner_group" edge with a given conditions (other predicates).
func HasInternalOwnerUser ¶
HasInternalOwnerUser applies the HasEdge predicate on the "internal_owner_user" edge.
func HasInternalOwnerUserWith ¶
HasInternalOwnerUserWith applies the HasEdge predicate on the "internal_owner_user" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.Campaign
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasTemplate ¶
HasTemplate applies the HasEdge predicate on the "template" edge.
func HasTemplateWith ¶
HasTemplateWith applies the HasEdge predicate on the "template" edge with a given conditions (other predicates).
func HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
func HasViewers ¶
HasViewers applies the HasEdge predicate on the "viewers" edge.
func HasViewersWith ¶
HasViewersWith applies the HasEdge predicate on the "viewers" edge with a given conditions (other predicates).
func HasWorkflowObjectRefs ¶
HasWorkflowObjectRefs applies the HasEdge predicate on the "workflow_object_refs" edge.
func HasWorkflowObjectRefsWith ¶
func HasWorkflowObjectRefsWith(preds ...predicate.WorkflowObjectRef) predicate.Campaign
HasWorkflowObjectRefsWith applies the HasEdge predicate on the "workflow_object_refs" 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 InternalOwner ¶
InternalOwner applies equality check predicate on the "internal_owner" field. It's identical to InternalOwnerEQ.
func InternalOwnerContains ¶
InternalOwnerContains applies the Contains predicate on the "internal_owner" field.
func InternalOwnerContainsFold ¶
InternalOwnerContainsFold applies the ContainsFold predicate on the "internal_owner" field.
func InternalOwnerEQ ¶
InternalOwnerEQ applies the EQ predicate on the "internal_owner" field.
func InternalOwnerEqualFold ¶
InternalOwnerEqualFold applies the EqualFold predicate on the "internal_owner" field.
func InternalOwnerGT ¶
InternalOwnerGT applies the GT predicate on the "internal_owner" field.
func InternalOwnerGTE ¶
InternalOwnerGTE applies the GTE predicate on the "internal_owner" field.
func InternalOwnerGroupID ¶
InternalOwnerGroupID applies equality check predicate on the "internal_owner_group_id" field. It's identical to InternalOwnerGroupIDEQ.
func InternalOwnerGroupIDContains ¶
InternalOwnerGroupIDContains applies the Contains predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDContainsFold ¶
InternalOwnerGroupIDContainsFold applies the ContainsFold predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDEQ ¶
InternalOwnerGroupIDEQ applies the EQ predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDEqualFold ¶
InternalOwnerGroupIDEqualFold applies the EqualFold predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDGT ¶
InternalOwnerGroupIDGT applies the GT predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDGTE ¶
InternalOwnerGroupIDGTE applies the GTE predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDHasPrefix ¶
InternalOwnerGroupIDHasPrefix applies the HasPrefix predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDHasSuffix ¶
InternalOwnerGroupIDHasSuffix applies the HasSuffix predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDIn ¶
InternalOwnerGroupIDIn applies the In predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDIsNil ¶
InternalOwnerGroupIDIsNil applies the IsNil predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDLT ¶
InternalOwnerGroupIDLT applies the LT predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDLTE ¶
InternalOwnerGroupIDLTE applies the LTE predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDNEQ ¶
InternalOwnerGroupIDNEQ applies the NEQ predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDNotIn ¶
InternalOwnerGroupIDNotIn applies the NotIn predicate on the "internal_owner_group_id" field.
func InternalOwnerGroupIDNotNil ¶
InternalOwnerGroupIDNotNil applies the NotNil predicate on the "internal_owner_group_id" field.
func InternalOwnerHasPrefix ¶
InternalOwnerHasPrefix applies the HasPrefix predicate on the "internal_owner" field.
func InternalOwnerHasSuffix ¶
InternalOwnerHasSuffix applies the HasSuffix predicate on the "internal_owner" field.
func InternalOwnerIn ¶
InternalOwnerIn applies the In predicate on the "internal_owner" field.
func InternalOwnerIsNil ¶
InternalOwnerIsNil applies the IsNil predicate on the "internal_owner" field.
func InternalOwnerLT ¶
InternalOwnerLT applies the LT predicate on the "internal_owner" field.
func InternalOwnerLTE ¶
InternalOwnerLTE applies the LTE predicate on the "internal_owner" field.
func InternalOwnerNEQ ¶
InternalOwnerNEQ applies the NEQ predicate on the "internal_owner" field.
func InternalOwnerNotIn ¶
InternalOwnerNotIn applies the NotIn predicate on the "internal_owner" field.
func InternalOwnerNotNil ¶
InternalOwnerNotNil applies the NotNil predicate on the "internal_owner" field.
func InternalOwnerUserID ¶
InternalOwnerUserID applies equality check predicate on the "internal_owner_user_id" field. It's identical to InternalOwnerUserIDEQ.
func InternalOwnerUserIDContains ¶
InternalOwnerUserIDContains applies the Contains predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDContainsFold ¶
InternalOwnerUserIDContainsFold applies the ContainsFold predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDEQ ¶
InternalOwnerUserIDEQ applies the EQ predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDEqualFold ¶
InternalOwnerUserIDEqualFold applies the EqualFold predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDGT ¶
InternalOwnerUserIDGT applies the GT predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDGTE ¶
InternalOwnerUserIDGTE applies the GTE predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDHasPrefix ¶
InternalOwnerUserIDHasPrefix applies the HasPrefix predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDHasSuffix ¶
InternalOwnerUserIDHasSuffix applies the HasSuffix predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDIn ¶
InternalOwnerUserIDIn applies the In predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDIsNil ¶
InternalOwnerUserIDIsNil applies the IsNil predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDLT ¶
InternalOwnerUserIDLT applies the LT predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDLTE ¶
InternalOwnerUserIDLTE applies the LTE predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDNEQ ¶
InternalOwnerUserIDNEQ applies the NEQ predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDNotIn ¶
InternalOwnerUserIDNotIn applies the NotIn predicate on the "internal_owner_user_id" field.
func InternalOwnerUserIDNotNil ¶
InternalOwnerUserIDNotNil applies the NotNil predicate on the "internal_owner_user_id" field.
func IsActive ¶
IsActive applies equality check predicate on the "is_active" field. It's identical to IsActiveEQ.
func IsActiveEQ ¶
IsActiveEQ applies the EQ predicate on the "is_active" field.
func IsActiveNEQ ¶
IsActiveNEQ applies the NEQ predicate on the "is_active" field.
func IsRecurring ¶
IsRecurring applies equality check predicate on the "is_recurring" field. It's identical to IsRecurringEQ.
func IsRecurringEQ ¶
IsRecurringEQ applies the EQ predicate on the "is_recurring" field.
func IsRecurringNEQ ¶
IsRecurringNEQ applies the NEQ predicate on the "is_recurring" field.
func LastResentAt ¶
LastResentAt applies equality check predicate on the "last_resent_at" field. It's identical to LastResentAtEQ.
func LastResentAtEQ ¶
LastResentAtEQ applies the EQ predicate on the "last_resent_at" field.
func LastResentAtGT ¶
LastResentAtGT applies the GT predicate on the "last_resent_at" field.
func LastResentAtGTE ¶
LastResentAtGTE applies the GTE predicate on the "last_resent_at" field.
func LastResentAtIn ¶
LastResentAtIn applies the In predicate on the "last_resent_at" field.
func LastResentAtIsNil ¶
LastResentAtIsNil applies the IsNil predicate on the "last_resent_at" field.
func LastResentAtLT ¶
LastResentAtLT applies the LT predicate on the "last_resent_at" field.
func LastResentAtLTE ¶
LastResentAtLTE applies the LTE predicate on the "last_resent_at" field.
func LastResentAtNEQ ¶
LastResentAtNEQ applies the NEQ predicate on the "last_resent_at" field.
func LastResentAtNotIn ¶
LastResentAtNotIn applies the NotIn predicate on the "last_resent_at" field.
func LastResentAtNotNil ¶
LastResentAtNotNil applies the NotNil predicate on the "last_resent_at" field.
func LastRunAt ¶
LastRunAt applies equality check predicate on the "last_run_at" field. It's identical to LastRunAtEQ.
func LastRunAtEQ ¶
LastRunAtEQ applies the EQ predicate on the "last_run_at" field.
func LastRunAtGT ¶
LastRunAtGT applies the GT predicate on the "last_run_at" field.
func LastRunAtGTE ¶
LastRunAtGTE applies the GTE predicate on the "last_run_at" field.
func LastRunAtIn ¶
LastRunAtIn applies the In predicate on the "last_run_at" field.
func LastRunAtIsNil ¶
LastRunAtIsNil applies the IsNil predicate on the "last_run_at" field.
func LastRunAtLT ¶
LastRunAtLT applies the LT predicate on the "last_run_at" field.
func LastRunAtLTE ¶
LastRunAtLTE applies the LTE predicate on the "last_run_at" field.
func LastRunAtNEQ ¶
LastRunAtNEQ applies the NEQ predicate on the "last_run_at" field.
func LastRunAtNotIn ¶
LastRunAtNotIn applies the NotIn predicate on the "last_run_at" field.
func LastRunAtNotNil ¶
LastRunAtNotNil applies the NotNil predicate on the "last_run_at" field.
func LaunchedAt ¶
LaunchedAt applies equality check predicate on the "launched_at" field. It's identical to LaunchedAtEQ.
func LaunchedAtEQ ¶
LaunchedAtEQ applies the EQ predicate on the "launched_at" field.
func LaunchedAtGT ¶
LaunchedAtGT applies the GT predicate on the "launched_at" field.
func LaunchedAtGTE ¶
LaunchedAtGTE applies the GTE predicate on the "launched_at" field.
func LaunchedAtIn ¶
LaunchedAtIn applies the In predicate on the "launched_at" field.
func LaunchedAtIsNil ¶
LaunchedAtIsNil applies the IsNil predicate on the "launched_at" field.
func LaunchedAtLT ¶
LaunchedAtLT applies the LT predicate on the "launched_at" field.
func LaunchedAtLTE ¶
LaunchedAtLTE applies the LTE predicate on the "launched_at" field.
func LaunchedAtNEQ ¶
LaunchedAtNEQ applies the NEQ predicate on the "launched_at" field.
func LaunchedAtNotIn ¶
LaunchedAtNotIn applies the NotIn predicate on the "launched_at" field.
func LaunchedAtNotNil ¶
LaunchedAtNotNil applies the NotNil predicate on the "launched_at" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NextRunAt ¶
NextRunAt applies equality check predicate on the "next_run_at" field. It's identical to NextRunAtEQ.
func NextRunAtEQ ¶
NextRunAtEQ applies the EQ predicate on the "next_run_at" field.
func NextRunAtGT ¶
NextRunAtGT applies the GT predicate on the "next_run_at" field.
func NextRunAtGTE ¶
NextRunAtGTE applies the GTE predicate on the "next_run_at" field.
func NextRunAtIn ¶
NextRunAtIn applies the In predicate on the "next_run_at" field.
func NextRunAtIsNil ¶
NextRunAtIsNil applies the IsNil predicate on the "next_run_at" field.
func NextRunAtLT ¶
NextRunAtLT applies the LT predicate on the "next_run_at" field.
func NextRunAtLTE ¶
NextRunAtLTE applies the LTE predicate on the "next_run_at" field.
func NextRunAtNEQ ¶
NextRunAtNEQ applies the NEQ predicate on the "next_run_at" field.
func NextRunAtNotIn ¶
NextRunAtNotIn applies the NotIn predicate on the "next_run_at" field.
func NextRunAtNotNil ¶
NextRunAtNotNil applies the NotNil predicate on the "next_run_at" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func RecipientCount ¶
RecipientCount applies equality check predicate on the "recipient_count" field. It's identical to RecipientCountEQ.
func RecipientCountEQ ¶
RecipientCountEQ applies the EQ predicate on the "recipient_count" field.
func RecipientCountGT ¶
RecipientCountGT applies the GT predicate on the "recipient_count" field.
func RecipientCountGTE ¶
RecipientCountGTE applies the GTE predicate on the "recipient_count" field.
func RecipientCountIn ¶
RecipientCountIn applies the In predicate on the "recipient_count" field.
func RecipientCountIsNil ¶
RecipientCountIsNil applies the IsNil predicate on the "recipient_count" field.
func RecipientCountLT ¶
RecipientCountLT applies the LT predicate on the "recipient_count" field.
func RecipientCountLTE ¶
RecipientCountLTE applies the LTE predicate on the "recipient_count" field.
func RecipientCountNEQ ¶
RecipientCountNEQ applies the NEQ predicate on the "recipient_count" field.
func RecipientCountNotIn ¶
RecipientCountNotIn applies the NotIn predicate on the "recipient_count" field.
func RecipientCountNotNil ¶
RecipientCountNotNil applies the NotNil predicate on the "recipient_count" field.
func RecurrenceCron ¶
RecurrenceCron applies equality check predicate on the "recurrence_cron" field. It's identical to RecurrenceCronEQ.
func RecurrenceCronContains ¶
RecurrenceCronContains applies the Contains predicate on the "recurrence_cron" field.
func RecurrenceCronContainsFold ¶
RecurrenceCronContainsFold applies the ContainsFold predicate on the "recurrence_cron" field.
func RecurrenceCronEQ ¶
RecurrenceCronEQ applies the EQ predicate on the "recurrence_cron" field.
func RecurrenceCronEqualFold ¶
RecurrenceCronEqualFold applies the EqualFold predicate on the "recurrence_cron" field.
func RecurrenceCronGT ¶
RecurrenceCronGT applies the GT predicate on the "recurrence_cron" field.
func RecurrenceCronGTE ¶
RecurrenceCronGTE applies the GTE predicate on the "recurrence_cron" field.
func RecurrenceCronHasPrefix ¶
RecurrenceCronHasPrefix applies the HasPrefix predicate on the "recurrence_cron" field.
func RecurrenceCronHasSuffix ¶
RecurrenceCronHasSuffix applies the HasSuffix predicate on the "recurrence_cron" field.
func RecurrenceCronIn ¶
RecurrenceCronIn applies the In predicate on the "recurrence_cron" field.
func RecurrenceCronIsNil ¶
RecurrenceCronIsNil applies the IsNil predicate on the "recurrence_cron" field.
func RecurrenceCronLT ¶
RecurrenceCronLT applies the LT predicate on the "recurrence_cron" field.
func RecurrenceCronLTE ¶
RecurrenceCronLTE applies the LTE predicate on the "recurrence_cron" field.
func RecurrenceCronNEQ ¶
RecurrenceCronNEQ applies the NEQ predicate on the "recurrence_cron" field.
func RecurrenceCronNotIn ¶
RecurrenceCronNotIn applies the NotIn predicate on the "recurrence_cron" field.
func RecurrenceCronNotNil ¶
RecurrenceCronNotNil applies the NotNil predicate on the "recurrence_cron" field.
func RecurrenceEndAt ¶
RecurrenceEndAt applies equality check predicate on the "recurrence_end_at" field. It's identical to RecurrenceEndAtEQ.
func RecurrenceEndAtEQ ¶
RecurrenceEndAtEQ applies the EQ predicate on the "recurrence_end_at" field.
func RecurrenceEndAtGT ¶
RecurrenceEndAtGT applies the GT predicate on the "recurrence_end_at" field.
func RecurrenceEndAtGTE ¶
RecurrenceEndAtGTE applies the GTE predicate on the "recurrence_end_at" field.
func RecurrenceEndAtIn ¶
RecurrenceEndAtIn applies the In predicate on the "recurrence_end_at" field.
func RecurrenceEndAtIsNil ¶
RecurrenceEndAtIsNil applies the IsNil predicate on the "recurrence_end_at" field.
func RecurrenceEndAtLT ¶
RecurrenceEndAtLT applies the LT predicate on the "recurrence_end_at" field.
func RecurrenceEndAtLTE ¶
RecurrenceEndAtLTE applies the LTE predicate on the "recurrence_end_at" field.
func RecurrenceEndAtNEQ ¶
RecurrenceEndAtNEQ applies the NEQ predicate on the "recurrence_end_at" field.
func RecurrenceEndAtNotIn ¶
RecurrenceEndAtNotIn applies the NotIn predicate on the "recurrence_end_at" field.
func RecurrenceEndAtNotNil ¶
RecurrenceEndAtNotNil applies the NotNil predicate on the "recurrence_end_at" field.
func RecurrenceFrequencyEQ ¶
RecurrenceFrequencyEQ applies the EQ predicate on the "recurrence_frequency" field.
func RecurrenceFrequencyIn ¶
RecurrenceFrequencyIn applies the In predicate on the "recurrence_frequency" field.
func RecurrenceFrequencyIsNil ¶
RecurrenceFrequencyIsNil applies the IsNil predicate on the "recurrence_frequency" field.
func RecurrenceFrequencyNEQ ¶
RecurrenceFrequencyNEQ applies the NEQ predicate on the "recurrence_frequency" field.
func RecurrenceFrequencyNotIn ¶
RecurrenceFrequencyNotIn applies the NotIn predicate on the "recurrence_frequency" field.
func RecurrenceFrequencyNotNil ¶
RecurrenceFrequencyNotNil applies the NotNil predicate on the "recurrence_frequency" field.
func RecurrenceFrequencyValidator ¶
RecurrenceFrequencyValidator is a validator for the "recurrence_frequency" field enum values. It is called by the builders before save.
func RecurrenceInterval ¶
RecurrenceInterval applies equality check predicate on the "recurrence_interval" field. It's identical to RecurrenceIntervalEQ.
func RecurrenceIntervalEQ ¶
RecurrenceIntervalEQ applies the EQ predicate on the "recurrence_interval" field.
func RecurrenceIntervalGT ¶
RecurrenceIntervalGT applies the GT predicate on the "recurrence_interval" field.
func RecurrenceIntervalGTE ¶
RecurrenceIntervalGTE applies the GTE predicate on the "recurrence_interval" field.
func RecurrenceIntervalIn ¶
RecurrenceIntervalIn applies the In predicate on the "recurrence_interval" field.
func RecurrenceIntervalIsNil ¶
RecurrenceIntervalIsNil applies the IsNil predicate on the "recurrence_interval" field.
func RecurrenceIntervalLT ¶
RecurrenceIntervalLT applies the LT predicate on the "recurrence_interval" field.
func RecurrenceIntervalLTE ¶
RecurrenceIntervalLTE applies the LTE predicate on the "recurrence_interval" field.
func RecurrenceIntervalNEQ ¶
RecurrenceIntervalNEQ applies the NEQ predicate on the "recurrence_interval" field.
func RecurrenceIntervalNotIn ¶
RecurrenceIntervalNotIn applies the NotIn predicate on the "recurrence_interval" field.
func RecurrenceIntervalNotNil ¶
RecurrenceIntervalNotNil applies the NotNil predicate on the "recurrence_interval" field.
func RecurrenceTimezone ¶
RecurrenceTimezone applies equality check predicate on the "recurrence_timezone" field. It's identical to RecurrenceTimezoneEQ.
func RecurrenceTimezoneContains ¶
RecurrenceTimezoneContains applies the Contains predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneContainsFold ¶
RecurrenceTimezoneContainsFold applies the ContainsFold predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneEQ ¶
RecurrenceTimezoneEQ applies the EQ predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneEqualFold ¶
RecurrenceTimezoneEqualFold applies the EqualFold predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneGT ¶
RecurrenceTimezoneGT applies the GT predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneGTE ¶
RecurrenceTimezoneGTE applies the GTE predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneHasPrefix ¶
RecurrenceTimezoneHasPrefix applies the HasPrefix predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneHasSuffix ¶
RecurrenceTimezoneHasSuffix applies the HasSuffix predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneIn ¶
RecurrenceTimezoneIn applies the In predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneIsNil ¶
RecurrenceTimezoneIsNil applies the IsNil predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneLT ¶
RecurrenceTimezoneLT applies the LT predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneLTE ¶
RecurrenceTimezoneLTE applies the LTE predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneNEQ ¶
RecurrenceTimezoneNEQ applies the NEQ predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneNotIn ¶
RecurrenceTimezoneNotIn applies the NotIn predicate on the "recurrence_timezone" field.
func RecurrenceTimezoneNotNil ¶
RecurrenceTimezoneNotNil applies the NotNil predicate on the "recurrence_timezone" field.
func ResendCount ¶
ResendCount applies equality check predicate on the "resend_count" field. It's identical to ResendCountEQ.
func ResendCountEQ ¶
ResendCountEQ applies the EQ predicate on the "resend_count" field.
func ResendCountGT ¶
ResendCountGT applies the GT predicate on the "resend_count" field.
func ResendCountGTE ¶
ResendCountGTE applies the GTE predicate on the "resend_count" field.
func ResendCountIn ¶
ResendCountIn applies the In predicate on the "resend_count" field.
func ResendCountIsNil ¶
ResendCountIsNil applies the IsNil predicate on the "resend_count" field.
func ResendCountLT ¶
ResendCountLT applies the LT predicate on the "resend_count" field.
func ResendCountLTE ¶
ResendCountLTE applies the LTE predicate on the "resend_count" field.
func ResendCountNEQ ¶
ResendCountNEQ applies the NEQ predicate on the "resend_count" field.
func ResendCountNotIn ¶
ResendCountNotIn applies the NotIn predicate on the "resend_count" field.
func ResendCountNotNil ¶
ResendCountNotNil applies the NotNil predicate on the "resend_count" field.
func ScheduledAt ¶
ScheduledAt applies equality check predicate on the "scheduled_at" field. It's identical to ScheduledAtEQ.
func ScheduledAtEQ ¶
ScheduledAtEQ applies the EQ predicate on the "scheduled_at" field.
func ScheduledAtGT ¶
ScheduledAtGT applies the GT predicate on the "scheduled_at" field.
func ScheduledAtGTE ¶
ScheduledAtGTE applies the GTE predicate on the "scheduled_at" field.
func ScheduledAtIn ¶
ScheduledAtIn applies the In predicate on the "scheduled_at" field.
func ScheduledAtIsNil ¶
ScheduledAtIsNil applies the IsNil predicate on the "scheduled_at" field.
func ScheduledAtLT ¶
ScheduledAtLT applies the LT predicate on the "scheduled_at" field.
func ScheduledAtLTE ¶
ScheduledAtLTE applies the LTE predicate on the "scheduled_at" field.
func ScheduledAtNEQ ¶
ScheduledAtNEQ applies the NEQ predicate on the "scheduled_at" field.
func ScheduledAtNotIn ¶
ScheduledAtNotIn applies the NotIn predicate on the "scheduled_at" field.
func ScheduledAtNotNil ¶
ScheduledAtNotNil applies the NotNil predicate on the "scheduled_at" field.
func StatusEQ ¶
func StatusEQ(v enums.CampaignStatus) predicate.Campaign
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.CampaignStatus) predicate.Campaign
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.CampaignStatus) predicate.Campaign
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.CampaignStatus) predicate.Campaign
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s enums.CampaignStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
func TemplateID ¶
TemplateID applies equality check predicate on the "template_id" field. It's identical to TemplateIDEQ.
func TemplateIDContains ¶
TemplateIDContains applies the Contains predicate on the "template_id" field.
func TemplateIDContainsFold ¶
TemplateIDContainsFold applies the ContainsFold predicate on the "template_id" field.
func TemplateIDEQ ¶
TemplateIDEQ applies the EQ predicate on the "template_id" field.
func TemplateIDEqualFold ¶
TemplateIDEqualFold applies the EqualFold predicate on the "template_id" field.
func TemplateIDGT ¶
TemplateIDGT applies the GT predicate on the "template_id" field.
func TemplateIDGTE ¶
TemplateIDGTE applies the GTE predicate on the "template_id" field.
func TemplateIDHasPrefix ¶
TemplateIDHasPrefix applies the HasPrefix predicate on the "template_id" field.
func TemplateIDHasSuffix ¶
TemplateIDHasSuffix applies the HasSuffix predicate on the "template_id" field.
func TemplateIDIn ¶
TemplateIDIn applies the In predicate on the "template_id" field.
func TemplateIDIsNil ¶
TemplateIDIsNil applies the IsNil predicate on the "template_id" field.
func TemplateIDLT ¶
TemplateIDLT applies the LT predicate on the "template_id" field.
func TemplateIDLTE ¶
TemplateIDLTE applies the LTE predicate on the "template_id" field.
func TemplateIDNEQ ¶
TemplateIDNEQ applies the NEQ predicate on the "template_id" field.
func TemplateIDNotIn ¶
TemplateIDNotIn applies the NotIn predicate on the "template_id" field.
func TemplateIDNotNil ¶
TemplateIDNotNil applies the NotNil predicate on the "template_id" 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).
func WorkflowEligibleMarker ¶
WorkflowEligibleMarker applies equality check predicate on the "workflow_eligible_marker" field. It's identical to WorkflowEligibleMarkerEQ.
func WorkflowEligibleMarkerEQ ¶
WorkflowEligibleMarkerEQ applies the EQ predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerIsNil ¶
WorkflowEligibleMarkerIsNil applies the IsNil predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerNEQ ¶
WorkflowEligibleMarkerNEQ applies the NEQ predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerNotNil ¶
WorkflowEligibleMarkerNotNil applies the NotNil predicate on the "workflow_eligible_marker" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Campaign queries.
func ByAssessmentField ¶
func ByAssessmentField(field string, opts ...sql.OrderTermOption) OrderOption
ByAssessmentField orders the results by assessment field.
func ByAssessmentID ¶
func ByAssessmentID(opts ...sql.OrderTermOption) OrderOption
ByAssessmentID orders the results by the assessment_id field.
func ByAssessmentResponses ¶
func ByAssessmentResponses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAssessmentResponses orders the results by assessment_responses terms.
func ByAssessmentResponsesCount ¶
func ByAssessmentResponsesCount(opts ...sql.OrderTermOption) OrderOption
ByAssessmentResponsesCount orders the results by assessment_responses count.
func ByBlockedGroups ¶
func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBlockedGroups orders the results by blocked_groups terms.
func ByBlockedGroupsCount ¶
func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByBlockedGroupsCount orders the results by blocked_groups count.
func ByCampaignTargets ¶
func ByCampaignTargets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCampaignTargets orders the results by campaign_targets terms.
func ByCampaignTargetsCount ¶
func ByCampaignTargetsCount(opts ...sql.OrderTermOption) OrderOption
ByCampaignTargetsCount orders the results by campaign_targets count.
func ByCampaignType ¶
func ByCampaignType(opts ...sql.OrderTermOption) OrderOption
ByCampaignType orders the results by the campaign_type field.
func ByCompletedAt ¶
func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption
ByCompletedAt orders the results by the completed_at field.
func ByContacts ¶
func ByContacts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByContacts orders the results by contacts terms.
func ByContactsCount ¶
func ByContactsCount(opts ...sql.OrderTermOption) OrderOption
ByContactsCount orders the results by contacts count.
func ByControls ¶ added in v1.11.9
func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControls orders the results by controls terms.
func ByControlsCount ¶ added in v1.11.9
func ByControlsCount(opts ...sql.OrderTermOption) OrderOption
ByControlsCount orders the results by controls count.
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 ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDisplayID ¶
func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
ByDisplayID orders the results by the display_id field.
func ByDueDate ¶
func ByDueDate(opts ...sql.OrderTermOption) OrderOption
ByDueDate orders the results by the due_date field.
func ByEditors ¶
func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEditors orders the results by editors terms.
func ByEditorsCount ¶
func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
ByEditorsCount orders the results by editors count.
func ByEmailBrandingField ¶ added in v1.7.0
func ByEmailBrandingField(field string, opts ...sql.OrderTermOption) OrderOption
ByEmailBrandingField orders the results by email_branding field.
func ByEmailBrandingID ¶ added in v1.7.0
func ByEmailBrandingID(opts ...sql.OrderTermOption) OrderOption
ByEmailBrandingID orders the results by the email_branding_id field.
func ByEmailTemplateField ¶ added in v1.7.0
func ByEmailTemplateField(field string, opts ...sql.OrderTermOption) OrderOption
ByEmailTemplateField orders the results by email_template field.
func ByEmailTemplateID ¶ added in v1.7.0
func ByEmailTemplateID(opts ...sql.OrderTermOption) OrderOption
ByEmailTemplateID orders the results by the email_template_id field.
func ByEntityField ¶
func ByEntityField(field string, opts ...sql.OrderTermOption) OrderOption
ByEntityField orders the results by entity field.
func ByEntityID ¶
func ByEntityID(opts ...sql.OrderTermOption) OrderOption
ByEntityID orders the results by the entity_id field.
func ByGroups ¶
func ByGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGroups orders the results by groups terms.
func ByGroupsCount ¶
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 ByIdentityHolders ¶
func ByIdentityHolders(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIdentityHolders orders the results by identity_holders terms.
func ByIdentityHoldersCount ¶
func ByIdentityHoldersCount(opts ...sql.OrderTermOption) OrderOption
ByIdentityHoldersCount orders the results by identity_holders count.
func ByInternalOwner ¶
func ByInternalOwner(opts ...sql.OrderTermOption) OrderOption
ByInternalOwner orders the results by the internal_owner field.
func ByInternalOwnerGroupField ¶
func ByInternalOwnerGroupField(field string, opts ...sql.OrderTermOption) OrderOption
ByInternalOwnerGroupField orders the results by internal_owner_group field.
func ByInternalOwnerGroupID ¶
func ByInternalOwnerGroupID(opts ...sql.OrderTermOption) OrderOption
ByInternalOwnerGroupID orders the results by the internal_owner_group_id field.
func ByInternalOwnerUserField ¶
func ByInternalOwnerUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByInternalOwnerUserField orders the results by internal_owner_user field.
func ByInternalOwnerUserID ¶
func ByInternalOwnerUserID(opts ...sql.OrderTermOption) OrderOption
ByInternalOwnerUserID orders the results by the internal_owner_user_id field.
func ByIsActive ¶
func ByIsActive(opts ...sql.OrderTermOption) OrderOption
ByIsActive orders the results by the is_active field.
func ByIsRecurring ¶
func ByIsRecurring(opts ...sql.OrderTermOption) OrderOption
ByIsRecurring orders the results by the is_recurring field.
func ByLastResentAt ¶
func ByLastResentAt(opts ...sql.OrderTermOption) OrderOption
ByLastResentAt orders the results by the last_resent_at field.
func ByLastRunAt ¶
func ByLastRunAt(opts ...sql.OrderTermOption) OrderOption
ByLastRunAt orders the results by the last_run_at field.
func ByLaunchedAt ¶
func ByLaunchedAt(opts ...sql.OrderTermOption) OrderOption
ByLaunchedAt orders the results by the launched_at field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNextRunAt ¶
func ByNextRunAt(opts ...sql.OrderTermOption) OrderOption
ByNextRunAt orders the results by the next_run_at field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByRecipientCount ¶
func ByRecipientCount(opts ...sql.OrderTermOption) OrderOption
ByRecipientCount orders the results by the recipient_count field.
func ByRecurrenceCron ¶
func ByRecurrenceCron(opts ...sql.OrderTermOption) OrderOption
ByRecurrenceCron orders the results by the recurrence_cron field.
func ByRecurrenceEndAt ¶
func ByRecurrenceEndAt(opts ...sql.OrderTermOption) OrderOption
ByRecurrenceEndAt orders the results by the recurrence_end_at field.
func ByRecurrenceFrequency ¶
func ByRecurrenceFrequency(opts ...sql.OrderTermOption) OrderOption
ByRecurrenceFrequency orders the results by the recurrence_frequency field.
func ByRecurrenceInterval ¶
func ByRecurrenceInterval(opts ...sql.OrderTermOption) OrderOption
ByRecurrenceInterval orders the results by the recurrence_interval field.
func ByRecurrenceTimezone ¶
func ByRecurrenceTimezone(opts ...sql.OrderTermOption) OrderOption
ByRecurrenceTimezone orders the results by the recurrence_timezone field.
func ByResendCount ¶
func ByResendCount(opts ...sql.OrderTermOption) OrderOption
ByResendCount orders the results by the resend_count field.
func ByScheduledAt ¶
func ByScheduledAt(opts ...sql.OrderTermOption) OrderOption
ByScheduledAt orders the results by the scheduled_at field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTemplateField ¶
func ByTemplateField(field string, opts ...sql.OrderTermOption) OrderOption
ByTemplateField orders the results by template field.
func ByTemplateID ¶
func ByTemplateID(opts ...sql.OrderTermOption) OrderOption
ByTemplateID orders the results by the template_id field.
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 ¶
func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUsers orders the results by users terms.
func ByUsersCount ¶
func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
ByUsersCount orders the results by users count.
func ByViewers ¶
func ByViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByViewers orders the results by viewers terms.
func ByViewersCount ¶
func ByViewersCount(opts ...sql.OrderTermOption) OrderOption
ByViewersCount orders the results by viewers count.
func ByWorkflowEligibleMarker ¶
func ByWorkflowEligibleMarker(opts ...sql.OrderTermOption) OrderOption
ByWorkflowEligibleMarker orders the results by the workflow_eligible_marker field.
func ByWorkflowObjectRefs ¶
func ByWorkflowObjectRefs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflowObjectRefs orders the results by workflow_object_refs terms.
func ByWorkflowObjectRefsCount ¶
func ByWorkflowObjectRefsCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowObjectRefsCount orders the results by workflow_object_refs count.