campaign

package
v1.11.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const DefaultCampaignType enums.CampaignType = "QUESTIONNAIRE"
View Source
const DefaultStatus enums.CampaignStatus = "DRAFT"

Variables

View Source
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"}
)
View Source
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"

Columns holds all SQL columns for campaign fields.

Functions

func And

func And(predicates ...predicate.Campaign) predicate.Campaign

And groups predicates with the AND operator between them.

func AssessmentID

func AssessmentID(v string) predicate.Campaign

AssessmentID applies equality check predicate on the "assessment_id" field. It's identical to AssessmentIDEQ.

func AssessmentIDContains

func AssessmentIDContains(v string) predicate.Campaign

AssessmentIDContains applies the Contains predicate on the "assessment_id" field.

func AssessmentIDContainsFold

func AssessmentIDContainsFold(v string) predicate.Campaign

AssessmentIDContainsFold applies the ContainsFold predicate on the "assessment_id" field.

func AssessmentIDEQ

func AssessmentIDEQ(v string) predicate.Campaign

AssessmentIDEQ applies the EQ predicate on the "assessment_id" field.

func AssessmentIDEqualFold

func AssessmentIDEqualFold(v string) predicate.Campaign

AssessmentIDEqualFold applies the EqualFold predicate on the "assessment_id" field.

func AssessmentIDGT

func AssessmentIDGT(v string) predicate.Campaign

AssessmentIDGT applies the GT predicate on the "assessment_id" field.

func AssessmentIDGTE

func AssessmentIDGTE(v string) predicate.Campaign

AssessmentIDGTE applies the GTE predicate on the "assessment_id" field.

func AssessmentIDHasPrefix

func AssessmentIDHasPrefix(v string) predicate.Campaign

AssessmentIDHasPrefix applies the HasPrefix predicate on the "assessment_id" field.

func AssessmentIDHasSuffix

func AssessmentIDHasSuffix(v string) predicate.Campaign

AssessmentIDHasSuffix applies the HasSuffix predicate on the "assessment_id" field.

func AssessmentIDIn

func AssessmentIDIn(vs ...string) predicate.Campaign

AssessmentIDIn applies the In predicate on the "assessment_id" field.

func AssessmentIDIsNil

func AssessmentIDIsNil() predicate.Campaign

AssessmentIDIsNil applies the IsNil predicate on the "assessment_id" field.

func AssessmentIDLT

func AssessmentIDLT(v string) predicate.Campaign

AssessmentIDLT applies the LT predicate on the "assessment_id" field.

func AssessmentIDLTE

func AssessmentIDLTE(v string) predicate.Campaign

AssessmentIDLTE applies the LTE predicate on the "assessment_id" field.

func AssessmentIDNEQ

func AssessmentIDNEQ(v string) predicate.Campaign

AssessmentIDNEQ applies the NEQ predicate on the "assessment_id" field.

func AssessmentIDNotIn

func AssessmentIDNotIn(vs ...string) predicate.Campaign

AssessmentIDNotIn applies the NotIn predicate on the "assessment_id" field.

func AssessmentIDNotNil

func AssessmentIDNotNil() predicate.Campaign

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

func CompletedAt(v models.DateTime) predicate.Campaign

CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.

func CompletedAtEQ

func CompletedAtEQ(v models.DateTime) predicate.Campaign

CompletedAtEQ applies the EQ predicate on the "completed_at" field.

func CompletedAtGT

func CompletedAtGT(v models.DateTime) predicate.Campaign

CompletedAtGT applies the GT predicate on the "completed_at" field.

func CompletedAtGTE

func CompletedAtGTE(v models.DateTime) predicate.Campaign

CompletedAtGTE applies the GTE predicate on the "completed_at" field.

func CompletedAtIn

func CompletedAtIn(vs ...models.DateTime) predicate.Campaign

CompletedAtIn applies the In predicate on the "completed_at" field.

func CompletedAtIsNil

func CompletedAtIsNil() predicate.Campaign

CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.

func CompletedAtLT

func CompletedAtLT(v models.DateTime) predicate.Campaign

CompletedAtLT applies the LT predicate on the "completed_at" field.

func CompletedAtLTE

func CompletedAtLTE(v models.DateTime) predicate.Campaign

CompletedAtLTE applies the LTE predicate on the "completed_at" field.

func CompletedAtNEQ

func CompletedAtNEQ(v models.DateTime) predicate.Campaign

CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.

func CompletedAtNotIn

func CompletedAtNotIn(vs ...models.DateTime) predicate.Campaign

CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.

func CompletedAtNotNil

func CompletedAtNotNil() predicate.Campaign

CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Campaign

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Campaign

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Campaign

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Campaign

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Campaign

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Campaign

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Campaign

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Campaign

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Campaign

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Campaign

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Campaign

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.Campaign

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.Campaign

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Campaign

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.Campaign

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Campaign

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.Campaign

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.Campaign

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Campaign

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Campaign

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.Campaign

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.Campaign

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.Campaign

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.Campaign

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Campaign

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.Campaign

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.Campaign

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Campaign

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Campaign

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Campaign

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Campaign

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Campaign

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Campaign

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Campaign

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Campaign

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Campaign

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Campaign

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Campaign

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.Campaign

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.Campaign

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Campaign

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.Campaign

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Campaign

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.Campaign

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.Campaign

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Campaign

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Campaign

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.Campaign

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.Campaign

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.Campaign

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.Campaign

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Campaign

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.Campaign

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.Campaign

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func Description

func Description(v string) predicate.Campaign

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Campaign

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Campaign

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Campaign

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Campaign

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Campaign

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Campaign

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Campaign

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Campaign

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Campaign

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Campaign

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Campaign

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Campaign

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Campaign

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Campaign

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Campaign

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DisplayID

func DisplayID(v string) predicate.Campaign

DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.

func DisplayIDContains

func DisplayIDContains(v string) predicate.Campaign

DisplayIDContains applies the Contains predicate on the "display_id" field.

func DisplayIDContainsFold

func DisplayIDContainsFold(v string) predicate.Campaign

DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.

func DisplayIDEQ

func DisplayIDEQ(v string) predicate.Campaign

DisplayIDEQ applies the EQ predicate on the "display_id" field.

func DisplayIDEqualFold

func DisplayIDEqualFold(v string) predicate.Campaign

DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.

func DisplayIDGT

func DisplayIDGT(v string) predicate.Campaign

DisplayIDGT applies the GT predicate on the "display_id" field.

func DisplayIDGTE

func DisplayIDGTE(v string) predicate.Campaign

DisplayIDGTE applies the GTE predicate on the "display_id" field.

func DisplayIDHasPrefix

func DisplayIDHasPrefix(v string) predicate.Campaign

DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.

func DisplayIDHasSuffix

func DisplayIDHasSuffix(v string) predicate.Campaign

DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.

func DisplayIDIn

func DisplayIDIn(vs ...string) predicate.Campaign

DisplayIDIn applies the In predicate on the "display_id" field.

func DisplayIDLT

func DisplayIDLT(v string) predicate.Campaign

DisplayIDLT applies the LT predicate on the "display_id" field.

func DisplayIDLTE

func DisplayIDLTE(v string) predicate.Campaign

DisplayIDLTE applies the LTE predicate on the "display_id" field.

func DisplayIDNEQ

func DisplayIDNEQ(v string) predicate.Campaign

DisplayIDNEQ applies the NEQ predicate on the "display_id" field.

func DisplayIDNotIn

func DisplayIDNotIn(vs ...string) predicate.Campaign

DisplayIDNotIn applies the NotIn predicate on the "display_id" field.

func DueDate

func DueDate(v models.DateTime) predicate.Campaign

DueDate applies equality check predicate on the "due_date" field. It's identical to DueDateEQ.

func DueDateEQ

func DueDateEQ(v models.DateTime) predicate.Campaign

DueDateEQ applies the EQ predicate on the "due_date" field.

func DueDateGT

func DueDateGT(v models.DateTime) predicate.Campaign

DueDateGT applies the GT predicate on the "due_date" field.

func DueDateGTE

func DueDateGTE(v models.DateTime) predicate.Campaign

DueDateGTE applies the GTE predicate on the "due_date" field.

func DueDateIn

func DueDateIn(vs ...models.DateTime) predicate.Campaign

DueDateIn applies the In predicate on the "due_date" field.

func DueDateIsNil

func DueDateIsNil() predicate.Campaign

DueDateIsNil applies the IsNil predicate on the "due_date" field.

func DueDateLT

func DueDateLT(v models.DateTime) predicate.Campaign

DueDateLT applies the LT predicate on the "due_date" field.

func DueDateLTE

func DueDateLTE(v models.DateTime) predicate.Campaign

DueDateLTE applies the LTE predicate on the "due_date" field.

func DueDateNEQ

func DueDateNEQ(v models.DateTime) predicate.Campaign

DueDateNEQ applies the NEQ predicate on the "due_date" field.

func DueDateNotIn

func DueDateNotIn(vs ...models.DateTime) predicate.Campaign

DueDateNotIn applies the NotIn predicate on the "due_date" field.

func DueDateNotNil

func DueDateNotNil() predicate.Campaign

DueDateNotNil applies the NotNil predicate on the "due_date" field.

func EmailBrandingID added in v1.7.0

func EmailBrandingID(v string) predicate.Campaign

EmailBrandingID applies equality check predicate on the "email_branding_id" field. It's identical to EmailBrandingIDEQ.

func EmailBrandingIDContains added in v1.7.0

func EmailBrandingIDContains(v string) predicate.Campaign

EmailBrandingIDContains applies the Contains predicate on the "email_branding_id" field.

func EmailBrandingIDContainsFold added in v1.7.0

func EmailBrandingIDContainsFold(v string) predicate.Campaign

EmailBrandingIDContainsFold applies the ContainsFold predicate on the "email_branding_id" field.

func EmailBrandingIDEQ added in v1.7.0

func EmailBrandingIDEQ(v string) predicate.Campaign

EmailBrandingIDEQ applies the EQ predicate on the "email_branding_id" field.

func EmailBrandingIDEqualFold added in v1.7.0

func EmailBrandingIDEqualFold(v string) predicate.Campaign

EmailBrandingIDEqualFold applies the EqualFold predicate on the "email_branding_id" field.

func EmailBrandingIDGT added in v1.7.0

func EmailBrandingIDGT(v string) predicate.Campaign

EmailBrandingIDGT applies the GT predicate on the "email_branding_id" field.

func EmailBrandingIDGTE added in v1.7.0

func EmailBrandingIDGTE(v string) predicate.Campaign

EmailBrandingIDGTE applies the GTE predicate on the "email_branding_id" field.

func EmailBrandingIDHasPrefix added in v1.7.0

func EmailBrandingIDHasPrefix(v string) predicate.Campaign

EmailBrandingIDHasPrefix applies the HasPrefix predicate on the "email_branding_id" field.

func EmailBrandingIDHasSuffix added in v1.7.0

func EmailBrandingIDHasSuffix(v string) predicate.Campaign

EmailBrandingIDHasSuffix applies the HasSuffix predicate on the "email_branding_id" field.

func EmailBrandingIDIn added in v1.7.0

func EmailBrandingIDIn(vs ...string) predicate.Campaign

EmailBrandingIDIn applies the In predicate on the "email_branding_id" field.

func EmailBrandingIDIsNil added in v1.7.0

func EmailBrandingIDIsNil() predicate.Campaign

EmailBrandingIDIsNil applies the IsNil predicate on the "email_branding_id" field.

func EmailBrandingIDLT added in v1.7.0

func EmailBrandingIDLT(v string) predicate.Campaign

EmailBrandingIDLT applies the LT predicate on the "email_branding_id" field.

func EmailBrandingIDLTE added in v1.7.0

func EmailBrandingIDLTE(v string) predicate.Campaign

EmailBrandingIDLTE applies the LTE predicate on the "email_branding_id" field.

func EmailBrandingIDNEQ added in v1.7.0

func EmailBrandingIDNEQ(v string) predicate.Campaign

EmailBrandingIDNEQ applies the NEQ predicate on the "email_branding_id" field.

func EmailBrandingIDNotIn added in v1.7.0

func EmailBrandingIDNotIn(vs ...string) predicate.Campaign

EmailBrandingIDNotIn applies the NotIn predicate on the "email_branding_id" field.

func EmailBrandingIDNotNil added in v1.7.0

func EmailBrandingIDNotNil() predicate.Campaign

EmailBrandingIDNotNil applies the NotNil predicate on the "email_branding_id" field.

func EmailTemplateID added in v1.7.0

func EmailTemplateID(v string) predicate.Campaign

EmailTemplateID applies equality check predicate on the "email_template_id" field. It's identical to EmailTemplateIDEQ.

func EmailTemplateIDContains added in v1.7.0

func EmailTemplateIDContains(v string) predicate.Campaign

EmailTemplateIDContains applies the Contains predicate on the "email_template_id" field.

func EmailTemplateIDContainsFold added in v1.7.0

func EmailTemplateIDContainsFold(v string) predicate.Campaign

EmailTemplateIDContainsFold applies the ContainsFold predicate on the "email_template_id" field.

func EmailTemplateIDEQ added in v1.7.0

func EmailTemplateIDEQ(v string) predicate.Campaign

EmailTemplateIDEQ applies the EQ predicate on the "email_template_id" field.

func EmailTemplateIDEqualFold added in v1.7.0

func EmailTemplateIDEqualFold(v string) predicate.Campaign

EmailTemplateIDEqualFold applies the EqualFold predicate on the "email_template_id" field.

func EmailTemplateIDGT added in v1.7.0

func EmailTemplateIDGT(v string) predicate.Campaign

EmailTemplateIDGT applies the GT predicate on the "email_template_id" field.

func EmailTemplateIDGTE added in v1.7.0

func EmailTemplateIDGTE(v string) predicate.Campaign

EmailTemplateIDGTE applies the GTE predicate on the "email_template_id" field.

func EmailTemplateIDHasPrefix added in v1.7.0

func EmailTemplateIDHasPrefix(v string) predicate.Campaign

EmailTemplateIDHasPrefix applies the HasPrefix predicate on the "email_template_id" field.

func EmailTemplateIDHasSuffix added in v1.7.0

func EmailTemplateIDHasSuffix(v string) predicate.Campaign

EmailTemplateIDHasSuffix applies the HasSuffix predicate on the "email_template_id" field.

func EmailTemplateIDIn added in v1.7.0

func EmailTemplateIDIn(vs ...string) predicate.Campaign

EmailTemplateIDIn applies the In predicate on the "email_template_id" field.

func EmailTemplateIDIsNil added in v1.7.0

func EmailTemplateIDIsNil() predicate.Campaign

EmailTemplateIDIsNil applies the IsNil predicate on the "email_template_id" field.

func EmailTemplateIDLT added in v1.7.0

func EmailTemplateIDLT(v string) predicate.Campaign

EmailTemplateIDLT applies the LT predicate on the "email_template_id" field.

func EmailTemplateIDLTE added in v1.7.0

func EmailTemplateIDLTE(v string) predicate.Campaign

EmailTemplateIDLTE applies the LTE predicate on the "email_template_id" field.

func EmailTemplateIDNEQ added in v1.7.0

func EmailTemplateIDNEQ(v string) predicate.Campaign

EmailTemplateIDNEQ applies the NEQ predicate on the "email_template_id" field.

func EmailTemplateIDNotIn added in v1.7.0

func EmailTemplateIDNotIn(vs ...string) predicate.Campaign

EmailTemplateIDNotIn applies the NotIn predicate on the "email_template_id" field.

func EmailTemplateIDNotNil added in v1.7.0

func EmailTemplateIDNotNil() predicate.Campaign

EmailTemplateIDNotNil applies the NotNil predicate on the "email_template_id" field.

func EntityID

func EntityID(v string) predicate.Campaign

EntityID applies equality check predicate on the "entity_id" field. It's identical to EntityIDEQ.

func EntityIDContains

func EntityIDContains(v string) predicate.Campaign

EntityIDContains applies the Contains predicate on the "entity_id" field.

func EntityIDContainsFold

func EntityIDContainsFold(v string) predicate.Campaign

EntityIDContainsFold applies the ContainsFold predicate on the "entity_id" field.

func EntityIDEQ

func EntityIDEQ(v string) predicate.Campaign

EntityIDEQ applies the EQ predicate on the "entity_id" field.

func EntityIDEqualFold

func EntityIDEqualFold(v string) predicate.Campaign

EntityIDEqualFold applies the EqualFold predicate on the "entity_id" field.

func EntityIDGT

func EntityIDGT(v string) predicate.Campaign

EntityIDGT applies the GT predicate on the "entity_id" field.

func EntityIDGTE

func EntityIDGTE(v string) predicate.Campaign

EntityIDGTE applies the GTE predicate on the "entity_id" field.

func EntityIDHasPrefix

func EntityIDHasPrefix(v string) predicate.Campaign

EntityIDHasPrefix applies the HasPrefix predicate on the "entity_id" field.

func EntityIDHasSuffix

func EntityIDHasSuffix(v string) predicate.Campaign

EntityIDHasSuffix applies the HasSuffix predicate on the "entity_id" field.

func EntityIDIn

func EntityIDIn(vs ...string) predicate.Campaign

EntityIDIn applies the In predicate on the "entity_id" field.

func EntityIDIsNil

func EntityIDIsNil() predicate.Campaign

EntityIDIsNil applies the IsNil predicate on the "entity_id" field.

func EntityIDLT

func EntityIDLT(v string) predicate.Campaign

EntityIDLT applies the LT predicate on the "entity_id" field.

func EntityIDLTE

func EntityIDLTE(v string) predicate.Campaign

EntityIDLTE applies the LTE predicate on the "entity_id" field.

func EntityIDNEQ

func EntityIDNEQ(v string) predicate.Campaign

EntityIDNEQ applies the NEQ predicate on the "entity_id" field.

func EntityIDNotIn

func EntityIDNotIn(vs ...string) predicate.Campaign

EntityIDNotIn applies the NotIn predicate on the "entity_id" field.

func EntityIDNotNil

func EntityIDNotNil() predicate.Campaign

EntityIDNotNil applies the NotNil predicate on the "entity_id" field.

func HasAssessment

func HasAssessment() predicate.Campaign

HasAssessment applies the HasEdge predicate on the "assessment" edge.

func HasAssessmentResponses

func HasAssessmentResponses() predicate.Campaign

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

func HasBlockedGroups() predicate.Campaign

HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.

func HasBlockedGroupsWith

func HasBlockedGroupsWith(preds ...predicate.Group) predicate.Campaign

HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).

func HasCampaignTargets

func HasCampaignTargets() predicate.Campaign

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

func HasContacts() predicate.Campaign

HasContacts applies the HasEdge predicate on the "contacts" edge.

func HasContactsWith

func HasContactsWith(preds ...predicate.Contact) predicate.Campaign

HasContactsWith applies the HasEdge predicate on the "contacts" edge with a given conditions (other predicates).

func HasControls added in v1.11.9

func HasControls() predicate.Campaign

HasControls applies the HasEdge predicate on the "controls" edge.

func HasControlsWith added in v1.11.9

func HasControlsWith(preds ...predicate.Control) predicate.Campaign

HasControlsWith applies the HasEdge predicate on the "controls" edge with a given conditions (other predicates).

func HasEditors

func HasEditors() predicate.Campaign

HasEditors applies the HasEdge predicate on the "editors" edge.

func HasEditorsWith

func HasEditorsWith(preds ...predicate.Group) predicate.Campaign

HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).

func HasEmailBranding added in v1.7.0

func HasEmailBranding() predicate.Campaign

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

func HasEmailTemplate() predicate.Campaign

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 HasEntity

func HasEntity() predicate.Campaign

HasEntity applies the HasEdge predicate on the "entity" edge.

func HasEntityWith

func HasEntityWith(preds ...predicate.Entity) predicate.Campaign

HasEntityWith applies the HasEdge predicate on the "entity" edge with a given conditions (other predicates).

func HasGroups

func HasGroups() predicate.Campaign

HasGroups applies the HasEdge predicate on the "groups" edge.

func HasGroupsWith

func HasGroupsWith(preds ...predicate.Group) predicate.Campaign

HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).

func HasIdentityHolders

func HasIdentityHolders() predicate.Campaign

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

func HasInternalOwnerGroup() predicate.Campaign

HasInternalOwnerGroup applies the HasEdge predicate on the "internal_owner_group" edge.

func HasInternalOwnerGroupWith

func HasInternalOwnerGroupWith(preds ...predicate.Group) predicate.Campaign

HasInternalOwnerGroupWith applies the HasEdge predicate on the "internal_owner_group" edge with a given conditions (other predicates).

func HasInternalOwnerUser

func HasInternalOwnerUser() predicate.Campaign

HasInternalOwnerUser applies the HasEdge predicate on the "internal_owner_user" edge.

func HasInternalOwnerUserWith

func HasInternalOwnerUserWith(preds ...predicate.User) predicate.Campaign

HasInternalOwnerUserWith applies the HasEdge predicate on the "internal_owner_user" edge with a given conditions (other predicates).

func HasOwner

func HasOwner() predicate.Campaign

HasOwner applies the HasEdge predicate on the "owner" edge.

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

func HasTemplate() predicate.Campaign

HasTemplate applies the HasEdge predicate on the "template" edge.

func HasTemplateWith

func HasTemplateWith(preds ...predicate.Template) predicate.Campaign

HasTemplateWith applies the HasEdge predicate on the "template" edge with a given conditions (other predicates).

func HasUsers

func HasUsers() predicate.Campaign

HasUsers applies the HasEdge predicate on the "users" edge.

func HasUsersWith

func HasUsersWith(preds ...predicate.User) predicate.Campaign

HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).

func HasViewers

func HasViewers() predicate.Campaign

HasViewers applies the HasEdge predicate on the "viewers" edge.

func HasViewersWith

func HasViewersWith(preds ...predicate.Group) predicate.Campaign

HasViewersWith applies the HasEdge predicate on the "viewers" edge with a given conditions (other predicates).

func HasWorkflowObjectRefs

func HasWorkflowObjectRefs() predicate.Campaign

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 ID

func ID(id string) predicate.Campaign

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Campaign

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Campaign

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Campaign

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Campaign

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Campaign

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Campaign

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Campaign

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Campaign

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Campaign

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Campaign

IDNotIn applies the NotIn predicate on the ID field.

func InternalOwner

func InternalOwner(v string) predicate.Campaign

InternalOwner applies equality check predicate on the "internal_owner" field. It's identical to InternalOwnerEQ.

func InternalOwnerContains

func InternalOwnerContains(v string) predicate.Campaign

InternalOwnerContains applies the Contains predicate on the "internal_owner" field.

func InternalOwnerContainsFold

func InternalOwnerContainsFold(v string) predicate.Campaign

InternalOwnerContainsFold applies the ContainsFold predicate on the "internal_owner" field.

func InternalOwnerEQ

func InternalOwnerEQ(v string) predicate.Campaign

InternalOwnerEQ applies the EQ predicate on the "internal_owner" field.

func InternalOwnerEqualFold

func InternalOwnerEqualFold(v string) predicate.Campaign

InternalOwnerEqualFold applies the EqualFold predicate on the "internal_owner" field.

func InternalOwnerGT

func InternalOwnerGT(v string) predicate.Campaign

InternalOwnerGT applies the GT predicate on the "internal_owner" field.

func InternalOwnerGTE

func InternalOwnerGTE(v string) predicate.Campaign

InternalOwnerGTE applies the GTE predicate on the "internal_owner" field.

func InternalOwnerGroupID

func InternalOwnerGroupID(v string) predicate.Campaign

InternalOwnerGroupID applies equality check predicate on the "internal_owner_group_id" field. It's identical to InternalOwnerGroupIDEQ.

func InternalOwnerGroupIDContains

func InternalOwnerGroupIDContains(v string) predicate.Campaign

InternalOwnerGroupIDContains applies the Contains predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDContainsFold

func InternalOwnerGroupIDContainsFold(v string) predicate.Campaign

InternalOwnerGroupIDContainsFold applies the ContainsFold predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDEQ

func InternalOwnerGroupIDEQ(v string) predicate.Campaign

InternalOwnerGroupIDEQ applies the EQ predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDEqualFold

func InternalOwnerGroupIDEqualFold(v string) predicate.Campaign

InternalOwnerGroupIDEqualFold applies the EqualFold predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDGT

func InternalOwnerGroupIDGT(v string) predicate.Campaign

InternalOwnerGroupIDGT applies the GT predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDGTE

func InternalOwnerGroupIDGTE(v string) predicate.Campaign

InternalOwnerGroupIDGTE applies the GTE predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDHasPrefix

func InternalOwnerGroupIDHasPrefix(v string) predicate.Campaign

InternalOwnerGroupIDHasPrefix applies the HasPrefix predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDHasSuffix

func InternalOwnerGroupIDHasSuffix(v string) predicate.Campaign

InternalOwnerGroupIDHasSuffix applies the HasSuffix predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDIn

func InternalOwnerGroupIDIn(vs ...string) predicate.Campaign

InternalOwnerGroupIDIn applies the In predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDIsNil

func InternalOwnerGroupIDIsNil() predicate.Campaign

InternalOwnerGroupIDIsNil applies the IsNil predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDLT

func InternalOwnerGroupIDLT(v string) predicate.Campaign

InternalOwnerGroupIDLT applies the LT predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDLTE

func InternalOwnerGroupIDLTE(v string) predicate.Campaign

InternalOwnerGroupIDLTE applies the LTE predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDNEQ

func InternalOwnerGroupIDNEQ(v string) predicate.Campaign

InternalOwnerGroupIDNEQ applies the NEQ predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDNotIn

func InternalOwnerGroupIDNotIn(vs ...string) predicate.Campaign

InternalOwnerGroupIDNotIn applies the NotIn predicate on the "internal_owner_group_id" field.

func InternalOwnerGroupIDNotNil

func InternalOwnerGroupIDNotNil() predicate.Campaign

InternalOwnerGroupIDNotNil applies the NotNil predicate on the "internal_owner_group_id" field.

func InternalOwnerHasPrefix

func InternalOwnerHasPrefix(v string) predicate.Campaign

InternalOwnerHasPrefix applies the HasPrefix predicate on the "internal_owner" field.

func InternalOwnerHasSuffix

func InternalOwnerHasSuffix(v string) predicate.Campaign

InternalOwnerHasSuffix applies the HasSuffix predicate on the "internal_owner" field.

func InternalOwnerIn

func InternalOwnerIn(vs ...string) predicate.Campaign

InternalOwnerIn applies the In predicate on the "internal_owner" field.

func InternalOwnerIsNil

func InternalOwnerIsNil() predicate.Campaign

InternalOwnerIsNil applies the IsNil predicate on the "internal_owner" field.

func InternalOwnerLT

func InternalOwnerLT(v string) predicate.Campaign

InternalOwnerLT applies the LT predicate on the "internal_owner" field.

func InternalOwnerLTE

func InternalOwnerLTE(v string) predicate.Campaign

InternalOwnerLTE applies the LTE predicate on the "internal_owner" field.

func InternalOwnerNEQ

func InternalOwnerNEQ(v string) predicate.Campaign

InternalOwnerNEQ applies the NEQ predicate on the "internal_owner" field.

func InternalOwnerNotIn

func InternalOwnerNotIn(vs ...string) predicate.Campaign

InternalOwnerNotIn applies the NotIn predicate on the "internal_owner" field.

func InternalOwnerNotNil

func InternalOwnerNotNil() predicate.Campaign

InternalOwnerNotNil applies the NotNil predicate on the "internal_owner" field.

func InternalOwnerUserID

func InternalOwnerUserID(v string) predicate.Campaign

InternalOwnerUserID applies equality check predicate on the "internal_owner_user_id" field. It's identical to InternalOwnerUserIDEQ.

func InternalOwnerUserIDContains

func InternalOwnerUserIDContains(v string) predicate.Campaign

InternalOwnerUserIDContains applies the Contains predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDContainsFold

func InternalOwnerUserIDContainsFold(v string) predicate.Campaign

InternalOwnerUserIDContainsFold applies the ContainsFold predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDEQ

func InternalOwnerUserIDEQ(v string) predicate.Campaign

InternalOwnerUserIDEQ applies the EQ predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDEqualFold

func InternalOwnerUserIDEqualFold(v string) predicate.Campaign

InternalOwnerUserIDEqualFold applies the EqualFold predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDGT

func InternalOwnerUserIDGT(v string) predicate.Campaign

InternalOwnerUserIDGT applies the GT predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDGTE

func InternalOwnerUserIDGTE(v string) predicate.Campaign

InternalOwnerUserIDGTE applies the GTE predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDHasPrefix

func InternalOwnerUserIDHasPrefix(v string) predicate.Campaign

InternalOwnerUserIDHasPrefix applies the HasPrefix predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDHasSuffix

func InternalOwnerUserIDHasSuffix(v string) predicate.Campaign

InternalOwnerUserIDHasSuffix applies the HasSuffix predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDIn

func InternalOwnerUserIDIn(vs ...string) predicate.Campaign

InternalOwnerUserIDIn applies the In predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDIsNil

func InternalOwnerUserIDIsNil() predicate.Campaign

InternalOwnerUserIDIsNil applies the IsNil predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDLT

func InternalOwnerUserIDLT(v string) predicate.Campaign

InternalOwnerUserIDLT applies the LT predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDLTE

func InternalOwnerUserIDLTE(v string) predicate.Campaign

InternalOwnerUserIDLTE applies the LTE predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDNEQ

func InternalOwnerUserIDNEQ(v string) predicate.Campaign

InternalOwnerUserIDNEQ applies the NEQ predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDNotIn

func InternalOwnerUserIDNotIn(vs ...string) predicate.Campaign

InternalOwnerUserIDNotIn applies the NotIn predicate on the "internal_owner_user_id" field.

func InternalOwnerUserIDNotNil

func InternalOwnerUserIDNotNil() predicate.Campaign

InternalOwnerUserIDNotNil applies the NotNil predicate on the "internal_owner_user_id" field.

func IsActive

func IsActive(v bool) predicate.Campaign

IsActive applies equality check predicate on the "is_active" field. It's identical to IsActiveEQ.

func IsActiveEQ

func IsActiveEQ(v bool) predicate.Campaign

IsActiveEQ applies the EQ predicate on the "is_active" field.

func IsActiveNEQ

func IsActiveNEQ(v bool) predicate.Campaign

IsActiveNEQ applies the NEQ predicate on the "is_active" field.

func IsRecurring

func IsRecurring(v bool) predicate.Campaign

IsRecurring applies equality check predicate on the "is_recurring" field. It's identical to IsRecurringEQ.

func IsRecurringEQ

func IsRecurringEQ(v bool) predicate.Campaign

IsRecurringEQ applies the EQ predicate on the "is_recurring" field.

func IsRecurringNEQ

func IsRecurringNEQ(v bool) predicate.Campaign

IsRecurringNEQ applies the NEQ predicate on the "is_recurring" field.

func LastResentAt

func LastResentAt(v models.DateTime) predicate.Campaign

LastResentAt applies equality check predicate on the "last_resent_at" field. It's identical to LastResentAtEQ.

func LastResentAtEQ

func LastResentAtEQ(v models.DateTime) predicate.Campaign

LastResentAtEQ applies the EQ predicate on the "last_resent_at" field.

func LastResentAtGT

func LastResentAtGT(v models.DateTime) predicate.Campaign

LastResentAtGT applies the GT predicate on the "last_resent_at" field.

func LastResentAtGTE

func LastResentAtGTE(v models.DateTime) predicate.Campaign

LastResentAtGTE applies the GTE predicate on the "last_resent_at" field.

func LastResentAtIn

func LastResentAtIn(vs ...models.DateTime) predicate.Campaign

LastResentAtIn applies the In predicate on the "last_resent_at" field.

func LastResentAtIsNil

func LastResentAtIsNil() predicate.Campaign

LastResentAtIsNil applies the IsNil predicate on the "last_resent_at" field.

func LastResentAtLT

func LastResentAtLT(v models.DateTime) predicate.Campaign

LastResentAtLT applies the LT predicate on the "last_resent_at" field.

func LastResentAtLTE

func LastResentAtLTE(v models.DateTime) predicate.Campaign

LastResentAtLTE applies the LTE predicate on the "last_resent_at" field.

func LastResentAtNEQ

func LastResentAtNEQ(v models.DateTime) predicate.Campaign

LastResentAtNEQ applies the NEQ predicate on the "last_resent_at" field.

func LastResentAtNotIn

func LastResentAtNotIn(vs ...models.DateTime) predicate.Campaign

LastResentAtNotIn applies the NotIn predicate on the "last_resent_at" field.

func LastResentAtNotNil

func LastResentAtNotNil() predicate.Campaign

LastResentAtNotNil applies the NotNil predicate on the "last_resent_at" field.

func LastRunAt

func LastRunAt(v models.DateTime) predicate.Campaign

LastRunAt applies equality check predicate on the "last_run_at" field. It's identical to LastRunAtEQ.

func LastRunAtEQ

func LastRunAtEQ(v models.DateTime) predicate.Campaign

LastRunAtEQ applies the EQ predicate on the "last_run_at" field.

func LastRunAtGT

func LastRunAtGT(v models.DateTime) predicate.Campaign

LastRunAtGT applies the GT predicate on the "last_run_at" field.

func LastRunAtGTE

func LastRunAtGTE(v models.DateTime) predicate.Campaign

LastRunAtGTE applies the GTE predicate on the "last_run_at" field.

func LastRunAtIn

func LastRunAtIn(vs ...models.DateTime) predicate.Campaign

LastRunAtIn applies the In predicate on the "last_run_at" field.

func LastRunAtIsNil

func LastRunAtIsNil() predicate.Campaign

LastRunAtIsNil applies the IsNil predicate on the "last_run_at" field.

func LastRunAtLT

func LastRunAtLT(v models.DateTime) predicate.Campaign

LastRunAtLT applies the LT predicate on the "last_run_at" field.

func LastRunAtLTE

func LastRunAtLTE(v models.DateTime) predicate.Campaign

LastRunAtLTE applies the LTE predicate on the "last_run_at" field.

func LastRunAtNEQ

func LastRunAtNEQ(v models.DateTime) predicate.Campaign

LastRunAtNEQ applies the NEQ predicate on the "last_run_at" field.

func LastRunAtNotIn

func LastRunAtNotIn(vs ...models.DateTime) predicate.Campaign

LastRunAtNotIn applies the NotIn predicate on the "last_run_at" field.

func LastRunAtNotNil

func LastRunAtNotNil() predicate.Campaign

LastRunAtNotNil applies the NotNil predicate on the "last_run_at" field.

func LaunchedAt

func LaunchedAt(v models.DateTime) predicate.Campaign

LaunchedAt applies equality check predicate on the "launched_at" field. It's identical to LaunchedAtEQ.

func LaunchedAtEQ

func LaunchedAtEQ(v models.DateTime) predicate.Campaign

LaunchedAtEQ applies the EQ predicate on the "launched_at" field.

func LaunchedAtGT

func LaunchedAtGT(v models.DateTime) predicate.Campaign

LaunchedAtGT applies the GT predicate on the "launched_at" field.

func LaunchedAtGTE

func LaunchedAtGTE(v models.DateTime) predicate.Campaign

LaunchedAtGTE applies the GTE predicate on the "launched_at" field.

func LaunchedAtIn

func LaunchedAtIn(vs ...models.DateTime) predicate.Campaign

LaunchedAtIn applies the In predicate on the "launched_at" field.

func LaunchedAtIsNil

func LaunchedAtIsNil() predicate.Campaign

LaunchedAtIsNil applies the IsNil predicate on the "launched_at" field.

func LaunchedAtLT

func LaunchedAtLT(v models.DateTime) predicate.Campaign

LaunchedAtLT applies the LT predicate on the "launched_at" field.

func LaunchedAtLTE

func LaunchedAtLTE(v models.DateTime) predicate.Campaign

LaunchedAtLTE applies the LTE predicate on the "launched_at" field.

func LaunchedAtNEQ

func LaunchedAtNEQ(v models.DateTime) predicate.Campaign

LaunchedAtNEQ applies the NEQ predicate on the "launched_at" field.

func LaunchedAtNotIn

func LaunchedAtNotIn(vs ...models.DateTime) predicate.Campaign

LaunchedAtNotIn applies the NotIn predicate on the "launched_at" field.

func LaunchedAtNotNil

func LaunchedAtNotNil() predicate.Campaign

LaunchedAtNotNil applies the NotNil predicate on the "launched_at" field.

func MetadataIsNil

func MetadataIsNil() predicate.Campaign

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.Campaign

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Name

func Name(v string) predicate.Campaign

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Campaign

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Campaign

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Campaign

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Campaign

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Campaign

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Campaign

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Campaign

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Campaign

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Campaign

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Campaign

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Campaign

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Campaign

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Campaign

NameNotIn applies the NotIn predicate on the "name" field.

func NextRunAt

func NextRunAt(v models.DateTime) predicate.Campaign

NextRunAt applies equality check predicate on the "next_run_at" field. It's identical to NextRunAtEQ.

func NextRunAtEQ

func NextRunAtEQ(v models.DateTime) predicate.Campaign

NextRunAtEQ applies the EQ predicate on the "next_run_at" field.

func NextRunAtGT

func NextRunAtGT(v models.DateTime) predicate.Campaign

NextRunAtGT applies the GT predicate on the "next_run_at" field.

func NextRunAtGTE

func NextRunAtGTE(v models.DateTime) predicate.Campaign

NextRunAtGTE applies the GTE predicate on the "next_run_at" field.

func NextRunAtIn

func NextRunAtIn(vs ...models.DateTime) predicate.Campaign

NextRunAtIn applies the In predicate on the "next_run_at" field.

func NextRunAtIsNil

func NextRunAtIsNil() predicate.Campaign

NextRunAtIsNil applies the IsNil predicate on the "next_run_at" field.

func NextRunAtLT

func NextRunAtLT(v models.DateTime) predicate.Campaign

NextRunAtLT applies the LT predicate on the "next_run_at" field.

func NextRunAtLTE

func NextRunAtLTE(v models.DateTime) predicate.Campaign

NextRunAtLTE applies the LTE predicate on the "next_run_at" field.

func NextRunAtNEQ

func NextRunAtNEQ(v models.DateTime) predicate.Campaign

NextRunAtNEQ applies the NEQ predicate on the "next_run_at" field.

func NextRunAtNotIn

func NextRunAtNotIn(vs ...models.DateTime) predicate.Campaign

NextRunAtNotIn applies the NotIn predicate on the "next_run_at" field.

func NextRunAtNotNil

func NextRunAtNotNil() predicate.Campaign

NextRunAtNotNil applies the NotNil predicate on the "next_run_at" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Campaign) predicate.Campaign

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.Campaign

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.Campaign

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.Campaign

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.Campaign

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.Campaign

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.Campaign

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.Campaign

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.Campaign

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.Campaign

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.Campaign

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil

func OwnerIDIsNil() predicate.Campaign

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT

func OwnerIDLT(v string) predicate.Campaign

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.Campaign

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.Campaign

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.Campaign

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil

func OwnerIDNotNil() predicate.Campaign

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func RecipientCount

func RecipientCount(v int) predicate.Campaign

RecipientCount applies equality check predicate on the "recipient_count" field. It's identical to RecipientCountEQ.

func RecipientCountEQ

func RecipientCountEQ(v int) predicate.Campaign

RecipientCountEQ applies the EQ predicate on the "recipient_count" field.

func RecipientCountGT

func RecipientCountGT(v int) predicate.Campaign

RecipientCountGT applies the GT predicate on the "recipient_count" field.

func RecipientCountGTE

func RecipientCountGTE(v int) predicate.Campaign

RecipientCountGTE applies the GTE predicate on the "recipient_count" field.

func RecipientCountIn

func RecipientCountIn(vs ...int) predicate.Campaign

RecipientCountIn applies the In predicate on the "recipient_count" field.

func RecipientCountIsNil

func RecipientCountIsNil() predicate.Campaign

RecipientCountIsNil applies the IsNil predicate on the "recipient_count" field.

func RecipientCountLT

func RecipientCountLT(v int) predicate.Campaign

RecipientCountLT applies the LT predicate on the "recipient_count" field.

func RecipientCountLTE

func RecipientCountLTE(v int) predicate.Campaign

RecipientCountLTE applies the LTE predicate on the "recipient_count" field.

func RecipientCountNEQ

func RecipientCountNEQ(v int) predicate.Campaign

RecipientCountNEQ applies the NEQ predicate on the "recipient_count" field.

func RecipientCountNotIn

func RecipientCountNotIn(vs ...int) predicate.Campaign

RecipientCountNotIn applies the NotIn predicate on the "recipient_count" field.

func RecipientCountNotNil

func RecipientCountNotNil() predicate.Campaign

RecipientCountNotNil applies the NotNil predicate on the "recipient_count" field.

func RecurrenceCron

func RecurrenceCron(v models.Cron) predicate.Campaign

RecurrenceCron applies equality check predicate on the "recurrence_cron" field. It's identical to RecurrenceCronEQ.

func RecurrenceCronContains

func RecurrenceCronContains(v models.Cron) predicate.Campaign

RecurrenceCronContains applies the Contains predicate on the "recurrence_cron" field.

func RecurrenceCronContainsFold

func RecurrenceCronContainsFold(v models.Cron) predicate.Campaign

RecurrenceCronContainsFold applies the ContainsFold predicate on the "recurrence_cron" field.

func RecurrenceCronEQ

func RecurrenceCronEQ(v models.Cron) predicate.Campaign

RecurrenceCronEQ applies the EQ predicate on the "recurrence_cron" field.

func RecurrenceCronEqualFold

func RecurrenceCronEqualFold(v models.Cron) predicate.Campaign

RecurrenceCronEqualFold applies the EqualFold predicate on the "recurrence_cron" field.

func RecurrenceCronGT

func RecurrenceCronGT(v models.Cron) predicate.Campaign

RecurrenceCronGT applies the GT predicate on the "recurrence_cron" field.

func RecurrenceCronGTE

func RecurrenceCronGTE(v models.Cron) predicate.Campaign

RecurrenceCronGTE applies the GTE predicate on the "recurrence_cron" field.

func RecurrenceCronHasPrefix

func RecurrenceCronHasPrefix(v models.Cron) predicate.Campaign

RecurrenceCronHasPrefix applies the HasPrefix predicate on the "recurrence_cron" field.

func RecurrenceCronHasSuffix

func RecurrenceCronHasSuffix(v models.Cron) predicate.Campaign

RecurrenceCronHasSuffix applies the HasSuffix predicate on the "recurrence_cron" field.

func RecurrenceCronIn

func RecurrenceCronIn(vs ...models.Cron) predicate.Campaign

RecurrenceCronIn applies the In predicate on the "recurrence_cron" field.

func RecurrenceCronIsNil

func RecurrenceCronIsNil() predicate.Campaign

RecurrenceCronIsNil applies the IsNil predicate on the "recurrence_cron" field.

func RecurrenceCronLT

func RecurrenceCronLT(v models.Cron) predicate.Campaign

RecurrenceCronLT applies the LT predicate on the "recurrence_cron" field.

func RecurrenceCronLTE

func RecurrenceCronLTE(v models.Cron) predicate.Campaign

RecurrenceCronLTE applies the LTE predicate on the "recurrence_cron" field.

func RecurrenceCronNEQ

func RecurrenceCronNEQ(v models.Cron) predicate.Campaign

RecurrenceCronNEQ applies the NEQ predicate on the "recurrence_cron" field.

func RecurrenceCronNotIn

func RecurrenceCronNotIn(vs ...models.Cron) predicate.Campaign

RecurrenceCronNotIn applies the NotIn predicate on the "recurrence_cron" field.

func RecurrenceCronNotNil

func RecurrenceCronNotNil() predicate.Campaign

RecurrenceCronNotNil applies the NotNil predicate on the "recurrence_cron" field.

func RecurrenceEndAt

func RecurrenceEndAt(v models.DateTime) predicate.Campaign

RecurrenceEndAt applies equality check predicate on the "recurrence_end_at" field. It's identical to RecurrenceEndAtEQ.

func RecurrenceEndAtEQ

func RecurrenceEndAtEQ(v models.DateTime) predicate.Campaign

RecurrenceEndAtEQ applies the EQ predicate on the "recurrence_end_at" field.

func RecurrenceEndAtGT

func RecurrenceEndAtGT(v models.DateTime) predicate.Campaign

RecurrenceEndAtGT applies the GT predicate on the "recurrence_end_at" field.

func RecurrenceEndAtGTE

func RecurrenceEndAtGTE(v models.DateTime) predicate.Campaign

RecurrenceEndAtGTE applies the GTE predicate on the "recurrence_end_at" field.

func RecurrenceEndAtIn

func RecurrenceEndAtIn(vs ...models.DateTime) predicate.Campaign

RecurrenceEndAtIn applies the In predicate on the "recurrence_end_at" field.

func RecurrenceEndAtIsNil

func RecurrenceEndAtIsNil() predicate.Campaign

RecurrenceEndAtIsNil applies the IsNil predicate on the "recurrence_end_at" field.

func RecurrenceEndAtLT

func RecurrenceEndAtLT(v models.DateTime) predicate.Campaign

RecurrenceEndAtLT applies the LT predicate on the "recurrence_end_at" field.

func RecurrenceEndAtLTE

func RecurrenceEndAtLTE(v models.DateTime) predicate.Campaign

RecurrenceEndAtLTE applies the LTE predicate on the "recurrence_end_at" field.

func RecurrenceEndAtNEQ

func RecurrenceEndAtNEQ(v models.DateTime) predicate.Campaign

RecurrenceEndAtNEQ applies the NEQ predicate on the "recurrence_end_at" field.

func RecurrenceEndAtNotIn

func RecurrenceEndAtNotIn(vs ...models.DateTime) predicate.Campaign

RecurrenceEndAtNotIn applies the NotIn predicate on the "recurrence_end_at" field.

func RecurrenceEndAtNotNil

func RecurrenceEndAtNotNil() predicate.Campaign

RecurrenceEndAtNotNil applies the NotNil predicate on the "recurrence_end_at" field.

func RecurrenceFrequencyEQ

func RecurrenceFrequencyEQ(v enums.Frequency) predicate.Campaign

RecurrenceFrequencyEQ applies the EQ predicate on the "recurrence_frequency" field.

func RecurrenceFrequencyIn

func RecurrenceFrequencyIn(vs ...enums.Frequency) predicate.Campaign

RecurrenceFrequencyIn applies the In predicate on the "recurrence_frequency" field.

func RecurrenceFrequencyIsNil

func RecurrenceFrequencyIsNil() predicate.Campaign

RecurrenceFrequencyIsNil applies the IsNil predicate on the "recurrence_frequency" field.

func RecurrenceFrequencyNEQ

func RecurrenceFrequencyNEQ(v enums.Frequency) predicate.Campaign

RecurrenceFrequencyNEQ applies the NEQ predicate on the "recurrence_frequency" field.

func RecurrenceFrequencyNotIn

func RecurrenceFrequencyNotIn(vs ...enums.Frequency) predicate.Campaign

RecurrenceFrequencyNotIn applies the NotIn predicate on the "recurrence_frequency" field.

func RecurrenceFrequencyNotNil

func RecurrenceFrequencyNotNil() predicate.Campaign

RecurrenceFrequencyNotNil applies the NotNil predicate on the "recurrence_frequency" field.

func RecurrenceFrequencyValidator

func RecurrenceFrequencyValidator(rf enums.Frequency) error

RecurrenceFrequencyValidator is a validator for the "recurrence_frequency" field enum values. It is called by the builders before save.

func RecurrenceInterval

func RecurrenceInterval(v int) predicate.Campaign

RecurrenceInterval applies equality check predicate on the "recurrence_interval" field. It's identical to RecurrenceIntervalEQ.

func RecurrenceIntervalEQ

func RecurrenceIntervalEQ(v int) predicate.Campaign

RecurrenceIntervalEQ applies the EQ predicate on the "recurrence_interval" field.

func RecurrenceIntervalGT

func RecurrenceIntervalGT(v int) predicate.Campaign

RecurrenceIntervalGT applies the GT predicate on the "recurrence_interval" field.

func RecurrenceIntervalGTE

func RecurrenceIntervalGTE(v int) predicate.Campaign

RecurrenceIntervalGTE applies the GTE predicate on the "recurrence_interval" field.

func RecurrenceIntervalIn

func RecurrenceIntervalIn(vs ...int) predicate.Campaign

RecurrenceIntervalIn applies the In predicate on the "recurrence_interval" field.

func RecurrenceIntervalIsNil

func RecurrenceIntervalIsNil() predicate.Campaign

RecurrenceIntervalIsNil applies the IsNil predicate on the "recurrence_interval" field.

func RecurrenceIntervalLT

func RecurrenceIntervalLT(v int) predicate.Campaign

RecurrenceIntervalLT applies the LT predicate on the "recurrence_interval" field.

func RecurrenceIntervalLTE

func RecurrenceIntervalLTE(v int) predicate.Campaign

RecurrenceIntervalLTE applies the LTE predicate on the "recurrence_interval" field.

func RecurrenceIntervalNEQ

func RecurrenceIntervalNEQ(v int) predicate.Campaign

RecurrenceIntervalNEQ applies the NEQ predicate on the "recurrence_interval" field.

func RecurrenceIntervalNotIn

func RecurrenceIntervalNotIn(vs ...int) predicate.Campaign

RecurrenceIntervalNotIn applies the NotIn predicate on the "recurrence_interval" field.

func RecurrenceIntervalNotNil

func RecurrenceIntervalNotNil() predicate.Campaign

RecurrenceIntervalNotNil applies the NotNil predicate on the "recurrence_interval" field.

func RecurrenceTimezone

func RecurrenceTimezone(v string) predicate.Campaign

RecurrenceTimezone applies equality check predicate on the "recurrence_timezone" field. It's identical to RecurrenceTimezoneEQ.

func RecurrenceTimezoneContains

func RecurrenceTimezoneContains(v string) predicate.Campaign

RecurrenceTimezoneContains applies the Contains predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneContainsFold

func RecurrenceTimezoneContainsFold(v string) predicate.Campaign

RecurrenceTimezoneContainsFold applies the ContainsFold predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneEQ

func RecurrenceTimezoneEQ(v string) predicate.Campaign

RecurrenceTimezoneEQ applies the EQ predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneEqualFold

func RecurrenceTimezoneEqualFold(v string) predicate.Campaign

RecurrenceTimezoneEqualFold applies the EqualFold predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneGT

func RecurrenceTimezoneGT(v string) predicate.Campaign

RecurrenceTimezoneGT applies the GT predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneGTE

func RecurrenceTimezoneGTE(v string) predicate.Campaign

RecurrenceTimezoneGTE applies the GTE predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneHasPrefix

func RecurrenceTimezoneHasPrefix(v string) predicate.Campaign

RecurrenceTimezoneHasPrefix applies the HasPrefix predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneHasSuffix

func RecurrenceTimezoneHasSuffix(v string) predicate.Campaign

RecurrenceTimezoneHasSuffix applies the HasSuffix predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneIn

func RecurrenceTimezoneIn(vs ...string) predicate.Campaign

RecurrenceTimezoneIn applies the In predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneIsNil

func RecurrenceTimezoneIsNil() predicate.Campaign

RecurrenceTimezoneIsNil applies the IsNil predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneLT

func RecurrenceTimezoneLT(v string) predicate.Campaign

RecurrenceTimezoneLT applies the LT predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneLTE

func RecurrenceTimezoneLTE(v string) predicate.Campaign

RecurrenceTimezoneLTE applies the LTE predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneNEQ

func RecurrenceTimezoneNEQ(v string) predicate.Campaign

RecurrenceTimezoneNEQ applies the NEQ predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneNotIn

func RecurrenceTimezoneNotIn(vs ...string) predicate.Campaign

RecurrenceTimezoneNotIn applies the NotIn predicate on the "recurrence_timezone" field.

func RecurrenceTimezoneNotNil

func RecurrenceTimezoneNotNil() predicate.Campaign

RecurrenceTimezoneNotNil applies the NotNil predicate on the "recurrence_timezone" field.

func ResendCount

func ResendCount(v int) predicate.Campaign

ResendCount applies equality check predicate on the "resend_count" field. It's identical to ResendCountEQ.

func ResendCountEQ

func ResendCountEQ(v int) predicate.Campaign

ResendCountEQ applies the EQ predicate on the "resend_count" field.

func ResendCountGT

func ResendCountGT(v int) predicate.Campaign

ResendCountGT applies the GT predicate on the "resend_count" field.

func ResendCountGTE

func ResendCountGTE(v int) predicate.Campaign

ResendCountGTE applies the GTE predicate on the "resend_count" field.

func ResendCountIn

func ResendCountIn(vs ...int) predicate.Campaign

ResendCountIn applies the In predicate on the "resend_count" field.

func ResendCountIsNil

func ResendCountIsNil() predicate.Campaign

ResendCountIsNil applies the IsNil predicate on the "resend_count" field.

func ResendCountLT

func ResendCountLT(v int) predicate.Campaign

ResendCountLT applies the LT predicate on the "resend_count" field.

func ResendCountLTE

func ResendCountLTE(v int) predicate.Campaign

ResendCountLTE applies the LTE predicate on the "resend_count" field.

func ResendCountNEQ

func ResendCountNEQ(v int) predicate.Campaign

ResendCountNEQ applies the NEQ predicate on the "resend_count" field.

func ResendCountNotIn

func ResendCountNotIn(vs ...int) predicate.Campaign

ResendCountNotIn applies the NotIn predicate on the "resend_count" field.

func ResendCountNotNil

func ResendCountNotNil() predicate.Campaign

ResendCountNotNil applies the NotNil predicate on the "resend_count" field.

func ScheduledAt

func ScheduledAt(v models.DateTime) predicate.Campaign

ScheduledAt applies equality check predicate on the "scheduled_at" field. It's identical to ScheduledAtEQ.

func ScheduledAtEQ

func ScheduledAtEQ(v models.DateTime) predicate.Campaign

ScheduledAtEQ applies the EQ predicate on the "scheduled_at" field.

func ScheduledAtGT

func ScheduledAtGT(v models.DateTime) predicate.Campaign

ScheduledAtGT applies the GT predicate on the "scheduled_at" field.

func ScheduledAtGTE

func ScheduledAtGTE(v models.DateTime) predicate.Campaign

ScheduledAtGTE applies the GTE predicate on the "scheduled_at" field.

func ScheduledAtIn

func ScheduledAtIn(vs ...models.DateTime) predicate.Campaign

ScheduledAtIn applies the In predicate on the "scheduled_at" field.

func ScheduledAtIsNil

func ScheduledAtIsNil() predicate.Campaign

ScheduledAtIsNil applies the IsNil predicate on the "scheduled_at" field.

func ScheduledAtLT

func ScheduledAtLT(v models.DateTime) predicate.Campaign

ScheduledAtLT applies the LT predicate on the "scheduled_at" field.

func ScheduledAtLTE

func ScheduledAtLTE(v models.DateTime) predicate.Campaign

ScheduledAtLTE applies the LTE predicate on the "scheduled_at" field.

func ScheduledAtNEQ

func ScheduledAtNEQ(v models.DateTime) predicate.Campaign

ScheduledAtNEQ applies the NEQ predicate on the "scheduled_at" field.

func ScheduledAtNotIn

func ScheduledAtNotIn(vs ...models.DateTime) predicate.Campaign

ScheduledAtNotIn applies the NotIn predicate on the "scheduled_at" field.

func ScheduledAtNotNil

func ScheduledAtNotNil() predicate.Campaign

ScheduledAtNotNil applies the NotNil predicate on the "scheduled_at" field.

func StatusEQ

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

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 TagsIsNil

func TagsIsNil() predicate.Campaign

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.Campaign

TagsNotNil applies the NotNil predicate on the "tags" field.

func TemplateID

func TemplateID(v string) predicate.Campaign

TemplateID applies equality check predicate on the "template_id" field. It's identical to TemplateIDEQ.

func TemplateIDContains

func TemplateIDContains(v string) predicate.Campaign

TemplateIDContains applies the Contains predicate on the "template_id" field.

func TemplateIDContainsFold

func TemplateIDContainsFold(v string) predicate.Campaign

TemplateIDContainsFold applies the ContainsFold predicate on the "template_id" field.

func TemplateIDEQ

func TemplateIDEQ(v string) predicate.Campaign

TemplateIDEQ applies the EQ predicate on the "template_id" field.

func TemplateIDEqualFold

func TemplateIDEqualFold(v string) predicate.Campaign

TemplateIDEqualFold applies the EqualFold predicate on the "template_id" field.

func TemplateIDGT

func TemplateIDGT(v string) predicate.Campaign

TemplateIDGT applies the GT predicate on the "template_id" field.

func TemplateIDGTE

func TemplateIDGTE(v string) predicate.Campaign

TemplateIDGTE applies the GTE predicate on the "template_id" field.

func TemplateIDHasPrefix

func TemplateIDHasPrefix(v string) predicate.Campaign

TemplateIDHasPrefix applies the HasPrefix predicate on the "template_id" field.

func TemplateIDHasSuffix

func TemplateIDHasSuffix(v string) predicate.Campaign

TemplateIDHasSuffix applies the HasSuffix predicate on the "template_id" field.

func TemplateIDIn

func TemplateIDIn(vs ...string) predicate.Campaign

TemplateIDIn applies the In predicate on the "template_id" field.

func TemplateIDIsNil

func TemplateIDIsNil() predicate.Campaign

TemplateIDIsNil applies the IsNil predicate on the "template_id" field.

func TemplateIDLT

func TemplateIDLT(v string) predicate.Campaign

TemplateIDLT applies the LT predicate on the "template_id" field.

func TemplateIDLTE

func TemplateIDLTE(v string) predicate.Campaign

TemplateIDLTE applies the LTE predicate on the "template_id" field.

func TemplateIDNEQ

func TemplateIDNEQ(v string) predicate.Campaign

TemplateIDNEQ applies the NEQ predicate on the "template_id" field.

func TemplateIDNotIn

func TemplateIDNotIn(vs ...string) predicate.Campaign

TemplateIDNotIn applies the NotIn predicate on the "template_id" field.

func TemplateIDNotNil

func TemplateIDNotNil() predicate.Campaign

TemplateIDNotNil applies the NotNil predicate on the "template_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Campaign

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Campaign

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Campaign

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Campaign

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Campaign

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Campaign

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Campaign

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Campaign

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Campaign

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Campaign

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Campaign

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.Campaign

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.Campaign

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Campaign

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Campaign

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Campaign

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.Campaign

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Campaign

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Campaign

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Campaign

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.Campaign

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Campaign

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.Campaign

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Campaign

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Campaign

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.Campaign

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Campaign

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WorkflowEligibleMarker

func WorkflowEligibleMarker(v bool) predicate.Campaign

WorkflowEligibleMarker applies equality check predicate on the "workflow_eligible_marker" field. It's identical to WorkflowEligibleMarkerEQ.

func WorkflowEligibleMarkerEQ

func WorkflowEligibleMarkerEQ(v bool) predicate.Campaign

WorkflowEligibleMarkerEQ applies the EQ predicate on the "workflow_eligible_marker" field.

func WorkflowEligibleMarkerIsNil

func WorkflowEligibleMarkerIsNil() predicate.Campaign

WorkflowEligibleMarkerIsNil applies the IsNil predicate on the "workflow_eligible_marker" field.

func WorkflowEligibleMarkerNEQ

func WorkflowEligibleMarkerNEQ(v bool) predicate.Campaign

WorkflowEligibleMarkerNEQ applies the NEQ predicate on the "workflow_eligible_marker" field.

func WorkflowEligibleMarkerNotNil

func WorkflowEligibleMarkerNotNil() predicate.Campaign

WorkflowEligibleMarkerNotNil applies the NotNil predicate on the "workflow_eligible_marker" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL