assessmentresponse

package
v1.11.21 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the assessmentresponse type in the database.
	Label = "assessment_response"
	// 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"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldAssessmentID holds the string denoting the assessment_id field in the database.
	FieldAssessmentID = "assessment_id"
	// FieldIsTest holds the string denoting the is_test field in the database.
	FieldIsTest = "is_test"
	// FieldCampaignID holds the string denoting the campaign_id field in the database.
	FieldCampaignID = "campaign_id"
	// FieldIdentityHolderID holds the string denoting the identity_holder_id field in the database.
	FieldIdentityHolderID = "identity_holder_id"
	// FieldEntityID holds the string denoting the entity_id field in the database.
	FieldEntityID = "entity_id"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldSendAttempts holds the string denoting the send_attempts field in the database.
	FieldSendAttempts = "send_attempts"
	// FieldEmailDeliveredAt holds the string denoting the email_delivered_at field in the database.
	FieldEmailDeliveredAt = "email_delivered_at"
	// FieldEmailOpenedAt holds the string denoting the email_opened_at field in the database.
	FieldEmailOpenedAt = "email_opened_at"
	// FieldEmailClickedAt holds the string denoting the email_clicked_at field in the database.
	FieldEmailClickedAt = "email_clicked_at"
	// FieldEmailOpenCount holds the string denoting the email_open_count field in the database.
	FieldEmailOpenCount = "email_open_count"
	// FieldEmailClickCount holds the string denoting the email_click_count field in the database.
	FieldEmailClickCount = "email_click_count"
	// FieldLastEmailEventAt holds the string denoting the last_email_event_at field in the database.
	FieldLastEmailEventAt = "last_email_event_at"
	// FieldEmailMetadata holds the string denoting the email_metadata field in the database.
	FieldEmailMetadata = "email_metadata"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldAssignedAt holds the string denoting the assigned_at field in the database.
	FieldAssignedAt = "assigned_at"
	// FieldStartedAt holds the string denoting the started_at field in the database.
	FieldStartedAt = "started_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"
	// FieldDocumentDataID holds the string denoting the document_data_id field in the database.
	FieldDocumentDataID = "document_data_id"
	// FieldIsDraft holds the string denoting the is_draft field in the database.
	FieldIsDraft = "is_draft"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeAssessment holds the string denoting the assessment edge name in mutations.
	EdgeAssessment = "assessment"
	// EdgeCampaign holds the string denoting the campaign edge name in mutations.
	EdgeCampaign = "campaign"
	// EdgeIdentityHolder holds the string denoting the identity_holder edge name in mutations.
	EdgeIdentityHolder = "identity_holder"
	// EdgeEntity holds the string denoting the entity edge name in mutations.
	EdgeEntity = "entity"
	// EdgeDocument holds the string denoting the document edge name in mutations.
	EdgeDocument = "document"
	// Table holds the table name of the assessmentresponse in the database.
	Table = "assessment_responses"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "assessment_responses"
	// 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"
	// AssessmentTable is the table that holds the assessment relation/edge.
	AssessmentTable = "assessment_responses"
	// 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"
	// CampaignTable is the table that holds the campaign relation/edge.
	CampaignTable = "assessment_responses"
	// CampaignInverseTable is the table name for the Campaign entity.
	// It exists in this package in order to avoid circular dependency with the "campaign" package.
	CampaignInverseTable = "campaigns"
	// CampaignColumn is the table column denoting the campaign relation/edge.
	CampaignColumn = "campaign_id"
	// IdentityHolderTable is the table that holds the identity_holder relation/edge.
	IdentityHolderTable = "assessment_responses"
	// IdentityHolderInverseTable is the table name for the IdentityHolder entity.
	// It exists in this package in order to avoid circular dependency with the "identityholder" package.
	IdentityHolderInverseTable = "identity_holders"
	// IdentityHolderColumn is the table column denoting the identity_holder relation/edge.
	IdentityHolderColumn = "identity_holder_id"
	// EntityTable is the table that holds the entity relation/edge.
	EntityTable = "assessment_responses"
	// 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"
	// DocumentTable is the table that holds the document relation/edge.
	DocumentTable = "assessment_responses"
	// DocumentInverseTable is the table name for the DocumentData entity.
	// It exists in this package in order to avoid circular dependency with the "documentdata" package.
	DocumentInverseTable = "document_data"
	// DocumentColumn is the table column denoting the document relation/edge.
	DocumentColumn = "document_data_id"
)
View Source
const DefaultStatus enums.AssessmentResponseStatus = "SENT"

Variables

View Source
var (
	Hooks        [7]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
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// AssessmentIDValidator is a validator for the "assessment_id" field. It is called by the builders before save.
	AssessmentIDValidator func(string) error
	// DefaultIsTest holds the default value on creation for the "is_test" field.
	DefaultIsTest bool
	// EmailValidator is a validator for the "email" field. It is called by the builders before save.
	EmailValidator func(string) error
	// DefaultSendAttempts holds the default value on creation for the "send_attempts" field.
	DefaultSendAttempts int
	// DefaultEmailOpenCount holds the default value on creation for the "email_open_count" field.
	DefaultEmailOpenCount int
	// DefaultEmailClickCount holds the default value on creation for the "email_click_count" field.
	DefaultEmailClickCount int
	// DefaultAssignedAt holds the default value on creation for the "assigned_at" field.
	DefaultAssignedAt func() time.Time
	// DefaultStartedAt holds the default value on creation for the "started_at" field.
	DefaultStartedAt time.Time
	// DefaultIsDraft holds the default value on creation for the "is_draft" field.
	DefaultIsDraft bool
	// 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 assessmentresponse fields.

Functions

func And

And groups predicates with the AND operator between them.

func AssessmentID

func AssessmentID(v string) predicate.AssessmentResponse

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

func AssessmentIDContains

func AssessmentIDContains(v string) predicate.AssessmentResponse

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

func AssessmentIDContainsFold

func AssessmentIDContainsFold(v string) predicate.AssessmentResponse

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

func AssessmentIDEQ

func AssessmentIDEQ(v string) predicate.AssessmentResponse

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

func AssessmentIDEqualFold

func AssessmentIDEqualFold(v string) predicate.AssessmentResponse

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

func AssessmentIDGT

func AssessmentIDGT(v string) predicate.AssessmentResponse

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

func AssessmentIDGTE

func AssessmentIDGTE(v string) predicate.AssessmentResponse

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

func AssessmentIDHasPrefix

func AssessmentIDHasPrefix(v string) predicate.AssessmentResponse

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

func AssessmentIDHasSuffix

func AssessmentIDHasSuffix(v string) predicate.AssessmentResponse

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

func AssessmentIDIn

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

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

func AssessmentIDLT

func AssessmentIDLT(v string) predicate.AssessmentResponse

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

func AssessmentIDLTE

func AssessmentIDLTE(v string) predicate.AssessmentResponse

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

func AssessmentIDNEQ

func AssessmentIDNEQ(v string) predicate.AssessmentResponse

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

func AssessmentIDNotIn

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

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

func AssignedAt

func AssignedAt(v time.Time) predicate.AssessmentResponse

AssignedAt applies equality check predicate on the "assigned_at" field. It's identical to AssignedAtEQ.

func AssignedAtEQ

func AssignedAtEQ(v time.Time) predicate.AssessmentResponse

AssignedAtEQ applies the EQ predicate on the "assigned_at" field.

func AssignedAtGT

func AssignedAtGT(v time.Time) predicate.AssessmentResponse

AssignedAtGT applies the GT predicate on the "assigned_at" field.

func AssignedAtGTE

func AssignedAtGTE(v time.Time) predicate.AssessmentResponse

AssignedAtGTE applies the GTE predicate on the "assigned_at" field.

func AssignedAtIn

func AssignedAtIn(vs ...time.Time) predicate.AssessmentResponse

AssignedAtIn applies the In predicate on the "assigned_at" field.

func AssignedAtLT

func AssignedAtLT(v time.Time) predicate.AssessmentResponse

AssignedAtLT applies the LT predicate on the "assigned_at" field.

func AssignedAtLTE

func AssignedAtLTE(v time.Time) predicate.AssessmentResponse

AssignedAtLTE applies the LTE predicate on the "assigned_at" field.

func AssignedAtNEQ

func AssignedAtNEQ(v time.Time) predicate.AssessmentResponse

AssignedAtNEQ applies the NEQ predicate on the "assigned_at" field.

func AssignedAtNotIn

func AssignedAtNotIn(vs ...time.Time) predicate.AssessmentResponse

AssignedAtNotIn applies the NotIn predicate on the "assigned_at" field.

func CampaignID added in v1.5.0

func CampaignID(v string) predicate.AssessmentResponse

CampaignID applies equality check predicate on the "campaign_id" field. It's identical to CampaignIDEQ.

func CampaignIDContains added in v1.5.0

func CampaignIDContains(v string) predicate.AssessmentResponse

CampaignIDContains applies the Contains predicate on the "campaign_id" field.

func CampaignIDContainsFold added in v1.5.0

func CampaignIDContainsFold(v string) predicate.AssessmentResponse

CampaignIDContainsFold applies the ContainsFold predicate on the "campaign_id" field.

func CampaignIDEQ added in v1.5.0

func CampaignIDEQ(v string) predicate.AssessmentResponse

CampaignIDEQ applies the EQ predicate on the "campaign_id" field.

func CampaignIDEqualFold added in v1.5.0

func CampaignIDEqualFold(v string) predicate.AssessmentResponse

CampaignIDEqualFold applies the EqualFold predicate on the "campaign_id" field.

func CampaignIDGT added in v1.5.0

func CampaignIDGT(v string) predicate.AssessmentResponse

CampaignIDGT applies the GT predicate on the "campaign_id" field.

func CampaignIDGTE added in v1.5.0

func CampaignIDGTE(v string) predicate.AssessmentResponse

CampaignIDGTE applies the GTE predicate on the "campaign_id" field.

func CampaignIDHasPrefix added in v1.5.0

func CampaignIDHasPrefix(v string) predicate.AssessmentResponse

CampaignIDHasPrefix applies the HasPrefix predicate on the "campaign_id" field.

func CampaignIDHasSuffix added in v1.5.0

func CampaignIDHasSuffix(v string) predicate.AssessmentResponse

CampaignIDHasSuffix applies the HasSuffix predicate on the "campaign_id" field.

func CampaignIDIn added in v1.5.0

func CampaignIDIn(vs ...string) predicate.AssessmentResponse

CampaignIDIn applies the In predicate on the "campaign_id" field.

func CampaignIDIsNil added in v1.5.0

func CampaignIDIsNil() predicate.AssessmentResponse

CampaignIDIsNil applies the IsNil predicate on the "campaign_id" field.

func CampaignIDLT added in v1.5.0

func CampaignIDLT(v string) predicate.AssessmentResponse

CampaignIDLT applies the LT predicate on the "campaign_id" field.

func CampaignIDLTE added in v1.5.0

func CampaignIDLTE(v string) predicate.AssessmentResponse

CampaignIDLTE applies the LTE predicate on the "campaign_id" field.

func CampaignIDNEQ added in v1.5.0

func CampaignIDNEQ(v string) predicate.AssessmentResponse

CampaignIDNEQ applies the NEQ predicate on the "campaign_id" field.

func CampaignIDNotIn added in v1.5.0

func CampaignIDNotIn(vs ...string) predicate.AssessmentResponse

CampaignIDNotIn applies the NotIn predicate on the "campaign_id" field.

func CampaignIDNotNil added in v1.5.0

func CampaignIDNotNil() predicate.AssessmentResponse

CampaignIDNotNil applies the NotNil predicate on the "campaign_id" field.

func CompletedAt

func CompletedAt(v time.Time) predicate.AssessmentResponse

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

func CompletedAtEQ

func CompletedAtEQ(v time.Time) predicate.AssessmentResponse

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

func CompletedAtGT

func CompletedAtGT(v time.Time) predicate.AssessmentResponse

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

func CompletedAtGTE

func CompletedAtGTE(v time.Time) predicate.AssessmentResponse

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

func CompletedAtIn

func CompletedAtIn(vs ...time.Time) predicate.AssessmentResponse

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

func CompletedAtIsNil

func CompletedAtIsNil() predicate.AssessmentResponse

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

func CompletedAtLT

func CompletedAtLT(v time.Time) predicate.AssessmentResponse

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

func CompletedAtLTE

func CompletedAtLTE(v time.Time) predicate.AssessmentResponse

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

func CompletedAtNEQ

func CompletedAtNEQ(v time.Time) predicate.AssessmentResponse

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

func CompletedAtNotIn

func CompletedAtNotIn(vs ...time.Time) predicate.AssessmentResponse

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

func CompletedAtNotNil

func CompletedAtNotNil() predicate.AssessmentResponse

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

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AssessmentResponse

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AssessmentResponse

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AssessmentResponse

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.AssessmentResponse

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AssessmentResponse

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AssessmentResponse

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AssessmentResponse

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.AssessmentResponse

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

func CreatedBy

func CreatedBy(v string) predicate.AssessmentResponse

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

func CreatedByContains

func CreatedByContains(v string) predicate.AssessmentResponse

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.AssessmentResponse

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.AssessmentResponse

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.AssessmentResponse

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

func CreatedByGT

func CreatedByGT(v string) predicate.AssessmentResponse

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.AssessmentResponse

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.AssessmentResponse

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.AssessmentResponse

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.AssessmentResponse

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

func CreatedByLT

func CreatedByLT(v string) predicate.AssessmentResponse

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.AssessmentResponse

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.AssessmentResponse

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.AssessmentResponse

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

func DeletedAt

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.AssessmentResponse

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.AssessmentResponse

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.AssessmentResponse

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.AssessmentResponse

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.AssessmentResponse

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.AssessmentResponse

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.AssessmentResponse

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.AssessmentResponse

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

func DeletedBy

func DeletedBy(v string) predicate.AssessmentResponse

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

func DeletedByContains

func DeletedByContains(v string) predicate.AssessmentResponse

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.AssessmentResponse

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.AssessmentResponse

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.AssessmentResponse

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

func DeletedByGT

func DeletedByGT(v string) predicate.AssessmentResponse

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.AssessmentResponse

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.AssessmentResponse

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.AssessmentResponse

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.AssessmentResponse

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

func DeletedByLT

func DeletedByLT(v string) predicate.AssessmentResponse

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.AssessmentResponse

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.AssessmentResponse

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.AssessmentResponse

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

func DocumentDataID

func DocumentDataID(v string) predicate.AssessmentResponse

DocumentDataID applies equality check predicate on the "document_data_id" field. It's identical to DocumentDataIDEQ.

func DocumentDataIDContains

func DocumentDataIDContains(v string) predicate.AssessmentResponse

DocumentDataIDContains applies the Contains predicate on the "document_data_id" field.

func DocumentDataIDContainsFold

func DocumentDataIDContainsFold(v string) predicate.AssessmentResponse

DocumentDataIDContainsFold applies the ContainsFold predicate on the "document_data_id" field.

func DocumentDataIDEQ

func DocumentDataIDEQ(v string) predicate.AssessmentResponse

DocumentDataIDEQ applies the EQ predicate on the "document_data_id" field.

func DocumentDataIDEqualFold

func DocumentDataIDEqualFold(v string) predicate.AssessmentResponse

DocumentDataIDEqualFold applies the EqualFold predicate on the "document_data_id" field.

func DocumentDataIDGT

func DocumentDataIDGT(v string) predicate.AssessmentResponse

DocumentDataIDGT applies the GT predicate on the "document_data_id" field.

func DocumentDataIDGTE

func DocumentDataIDGTE(v string) predicate.AssessmentResponse

DocumentDataIDGTE applies the GTE predicate on the "document_data_id" field.

func DocumentDataIDHasPrefix

func DocumentDataIDHasPrefix(v string) predicate.AssessmentResponse

DocumentDataIDHasPrefix applies the HasPrefix predicate on the "document_data_id" field.

func DocumentDataIDHasSuffix

func DocumentDataIDHasSuffix(v string) predicate.AssessmentResponse

DocumentDataIDHasSuffix applies the HasSuffix predicate on the "document_data_id" field.

func DocumentDataIDIn

func DocumentDataIDIn(vs ...string) predicate.AssessmentResponse

DocumentDataIDIn applies the In predicate on the "document_data_id" field.

func DocumentDataIDIsNil

func DocumentDataIDIsNil() predicate.AssessmentResponse

DocumentDataIDIsNil applies the IsNil predicate on the "document_data_id" field.

func DocumentDataIDLT

func DocumentDataIDLT(v string) predicate.AssessmentResponse

DocumentDataIDLT applies the LT predicate on the "document_data_id" field.

func DocumentDataIDLTE

func DocumentDataIDLTE(v string) predicate.AssessmentResponse

DocumentDataIDLTE applies the LTE predicate on the "document_data_id" field.

func DocumentDataIDNEQ

func DocumentDataIDNEQ(v string) predicate.AssessmentResponse

DocumentDataIDNEQ applies the NEQ predicate on the "document_data_id" field.

func DocumentDataIDNotIn

func DocumentDataIDNotIn(vs ...string) predicate.AssessmentResponse

DocumentDataIDNotIn applies the NotIn predicate on the "document_data_id" field.

func DocumentDataIDNotNil

func DocumentDataIDNotNil() predicate.AssessmentResponse

DocumentDataIDNotNil applies the NotNil predicate on the "document_data_id" field.

func DueDate

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

func DueDateEQ

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

func DueDateGT

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

func DueDateGTE

func DueDateGTE(v time.Time) predicate.AssessmentResponse

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

func DueDateIn

func DueDateIn(vs ...time.Time) predicate.AssessmentResponse

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

func DueDateIsNil

func DueDateIsNil() predicate.AssessmentResponse

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

func DueDateLT

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

func DueDateLTE

func DueDateLTE(v time.Time) predicate.AssessmentResponse

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

func DueDateNEQ

func DueDateNEQ(v time.Time) predicate.AssessmentResponse

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

func DueDateNotIn

func DueDateNotIn(vs ...time.Time) predicate.AssessmentResponse

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

func DueDateNotNil

func DueDateNotNil() predicate.AssessmentResponse

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

func Email

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailClickCount added in v1.5.0

func EmailClickCount(v int) predicate.AssessmentResponse

EmailClickCount applies equality check predicate on the "email_click_count" field. It's identical to EmailClickCountEQ.

func EmailClickCountEQ added in v1.5.0

func EmailClickCountEQ(v int) predicate.AssessmentResponse

EmailClickCountEQ applies the EQ predicate on the "email_click_count" field.

func EmailClickCountGT added in v1.5.0

func EmailClickCountGT(v int) predicate.AssessmentResponse

EmailClickCountGT applies the GT predicate on the "email_click_count" field.

func EmailClickCountGTE added in v1.5.0

func EmailClickCountGTE(v int) predicate.AssessmentResponse

EmailClickCountGTE applies the GTE predicate on the "email_click_count" field.

func EmailClickCountIn added in v1.5.0

func EmailClickCountIn(vs ...int) predicate.AssessmentResponse

EmailClickCountIn applies the In predicate on the "email_click_count" field.

func EmailClickCountIsNil added in v1.5.0

func EmailClickCountIsNil() predicate.AssessmentResponse

EmailClickCountIsNil applies the IsNil predicate on the "email_click_count" field.

func EmailClickCountLT added in v1.5.0

func EmailClickCountLT(v int) predicate.AssessmentResponse

EmailClickCountLT applies the LT predicate on the "email_click_count" field.

func EmailClickCountLTE added in v1.5.0

func EmailClickCountLTE(v int) predicate.AssessmentResponse

EmailClickCountLTE applies the LTE predicate on the "email_click_count" field.

func EmailClickCountNEQ added in v1.5.0

func EmailClickCountNEQ(v int) predicate.AssessmentResponse

EmailClickCountNEQ applies the NEQ predicate on the "email_click_count" field.

func EmailClickCountNotIn added in v1.5.0

func EmailClickCountNotIn(vs ...int) predicate.AssessmentResponse

EmailClickCountNotIn applies the NotIn predicate on the "email_click_count" field.

func EmailClickCountNotNil added in v1.5.0

func EmailClickCountNotNil() predicate.AssessmentResponse

EmailClickCountNotNil applies the NotNil predicate on the "email_click_count" field.

func EmailClickedAt added in v1.5.0

func EmailClickedAt(v time.Time) predicate.AssessmentResponse

EmailClickedAt applies equality check predicate on the "email_clicked_at" field. It's identical to EmailClickedAtEQ.

func EmailClickedAtEQ added in v1.5.0

func EmailClickedAtEQ(v time.Time) predicate.AssessmentResponse

EmailClickedAtEQ applies the EQ predicate on the "email_clicked_at" field.

func EmailClickedAtGT added in v1.5.0

func EmailClickedAtGT(v time.Time) predicate.AssessmentResponse

EmailClickedAtGT applies the GT predicate on the "email_clicked_at" field.

func EmailClickedAtGTE added in v1.5.0

func EmailClickedAtGTE(v time.Time) predicate.AssessmentResponse

EmailClickedAtGTE applies the GTE predicate on the "email_clicked_at" field.

func EmailClickedAtIn added in v1.5.0

func EmailClickedAtIn(vs ...time.Time) predicate.AssessmentResponse

EmailClickedAtIn applies the In predicate on the "email_clicked_at" field.

func EmailClickedAtIsNil added in v1.5.0

func EmailClickedAtIsNil() predicate.AssessmentResponse

EmailClickedAtIsNil applies the IsNil predicate on the "email_clicked_at" field.

func EmailClickedAtLT added in v1.5.0

func EmailClickedAtLT(v time.Time) predicate.AssessmentResponse

EmailClickedAtLT applies the LT predicate on the "email_clicked_at" field.

func EmailClickedAtLTE added in v1.5.0

func EmailClickedAtLTE(v time.Time) predicate.AssessmentResponse

EmailClickedAtLTE applies the LTE predicate on the "email_clicked_at" field.

func EmailClickedAtNEQ added in v1.5.0

func EmailClickedAtNEQ(v time.Time) predicate.AssessmentResponse

EmailClickedAtNEQ applies the NEQ predicate on the "email_clicked_at" field.

func EmailClickedAtNotIn added in v1.5.0

func EmailClickedAtNotIn(vs ...time.Time) predicate.AssessmentResponse

EmailClickedAtNotIn applies the NotIn predicate on the "email_clicked_at" field.

func EmailClickedAtNotNil added in v1.5.0

func EmailClickedAtNotNil() predicate.AssessmentResponse

EmailClickedAtNotNil applies the NotNil predicate on the "email_clicked_at" field.

func EmailContains

func EmailContains(v string) predicate.AssessmentResponse

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.AssessmentResponse

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailDeliveredAt added in v1.5.0

func EmailDeliveredAt(v time.Time) predicate.AssessmentResponse

EmailDeliveredAt applies equality check predicate on the "email_delivered_at" field. It's identical to EmailDeliveredAtEQ.

func EmailDeliveredAtEQ added in v1.5.0

func EmailDeliveredAtEQ(v time.Time) predicate.AssessmentResponse

EmailDeliveredAtEQ applies the EQ predicate on the "email_delivered_at" field.

func EmailDeliveredAtGT added in v1.5.0

func EmailDeliveredAtGT(v time.Time) predicate.AssessmentResponse

EmailDeliveredAtGT applies the GT predicate on the "email_delivered_at" field.

func EmailDeliveredAtGTE added in v1.5.0

func EmailDeliveredAtGTE(v time.Time) predicate.AssessmentResponse

EmailDeliveredAtGTE applies the GTE predicate on the "email_delivered_at" field.

func EmailDeliveredAtIn added in v1.5.0

func EmailDeliveredAtIn(vs ...time.Time) predicate.AssessmentResponse

EmailDeliveredAtIn applies the In predicate on the "email_delivered_at" field.

func EmailDeliveredAtIsNil added in v1.5.0

func EmailDeliveredAtIsNil() predicate.AssessmentResponse

EmailDeliveredAtIsNil applies the IsNil predicate on the "email_delivered_at" field.

func EmailDeliveredAtLT added in v1.5.0

func EmailDeliveredAtLT(v time.Time) predicate.AssessmentResponse

EmailDeliveredAtLT applies the LT predicate on the "email_delivered_at" field.

func EmailDeliveredAtLTE added in v1.5.0

func EmailDeliveredAtLTE(v time.Time) predicate.AssessmentResponse

EmailDeliveredAtLTE applies the LTE predicate on the "email_delivered_at" field.

func EmailDeliveredAtNEQ added in v1.5.0

func EmailDeliveredAtNEQ(v time.Time) predicate.AssessmentResponse

EmailDeliveredAtNEQ applies the NEQ predicate on the "email_delivered_at" field.

func EmailDeliveredAtNotIn added in v1.5.0

func EmailDeliveredAtNotIn(vs ...time.Time) predicate.AssessmentResponse

EmailDeliveredAtNotIn applies the NotIn predicate on the "email_delivered_at" field.

func EmailDeliveredAtNotNil added in v1.5.0

func EmailDeliveredAtNotNil() predicate.AssessmentResponse

EmailDeliveredAtNotNil applies the NotNil predicate on the "email_delivered_at" field.

func EmailEQ

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.AssessmentResponse

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.AssessmentResponse

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.AssessmentResponse

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.AssessmentResponse

EmailIn applies the In predicate on the "email" field.

func EmailLT

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

EmailLTE applies the LTE predicate on the "email" field.

func EmailMetadataIsNil added in v1.5.0

func EmailMetadataIsNil() predicate.AssessmentResponse

EmailMetadataIsNil applies the IsNil predicate on the "email_metadata" field.

func EmailMetadataNotNil added in v1.5.0

func EmailMetadataNotNil() predicate.AssessmentResponse

EmailMetadataNotNil applies the NotNil predicate on the "email_metadata" field.

func EmailNEQ

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.AssessmentResponse

EmailNotIn applies the NotIn predicate on the "email" field.

func EmailOpenCount added in v1.5.0

func EmailOpenCount(v int) predicate.AssessmentResponse

EmailOpenCount applies equality check predicate on the "email_open_count" field. It's identical to EmailOpenCountEQ.

func EmailOpenCountEQ added in v1.5.0

func EmailOpenCountEQ(v int) predicate.AssessmentResponse

EmailOpenCountEQ applies the EQ predicate on the "email_open_count" field.

func EmailOpenCountGT added in v1.5.0

func EmailOpenCountGT(v int) predicate.AssessmentResponse

EmailOpenCountGT applies the GT predicate on the "email_open_count" field.

func EmailOpenCountGTE added in v1.5.0

func EmailOpenCountGTE(v int) predicate.AssessmentResponse

EmailOpenCountGTE applies the GTE predicate on the "email_open_count" field.

func EmailOpenCountIn added in v1.5.0

func EmailOpenCountIn(vs ...int) predicate.AssessmentResponse

EmailOpenCountIn applies the In predicate on the "email_open_count" field.

func EmailOpenCountIsNil added in v1.5.0

func EmailOpenCountIsNil() predicate.AssessmentResponse

EmailOpenCountIsNil applies the IsNil predicate on the "email_open_count" field.

func EmailOpenCountLT added in v1.5.0

func EmailOpenCountLT(v int) predicate.AssessmentResponse

EmailOpenCountLT applies the LT predicate on the "email_open_count" field.

func EmailOpenCountLTE added in v1.5.0

func EmailOpenCountLTE(v int) predicate.AssessmentResponse

EmailOpenCountLTE applies the LTE predicate on the "email_open_count" field.

func EmailOpenCountNEQ added in v1.5.0

func EmailOpenCountNEQ(v int) predicate.AssessmentResponse

EmailOpenCountNEQ applies the NEQ predicate on the "email_open_count" field.

func EmailOpenCountNotIn added in v1.5.0

func EmailOpenCountNotIn(vs ...int) predicate.AssessmentResponse

EmailOpenCountNotIn applies the NotIn predicate on the "email_open_count" field.

func EmailOpenCountNotNil added in v1.5.0

func EmailOpenCountNotNil() predicate.AssessmentResponse

EmailOpenCountNotNil applies the NotNil predicate on the "email_open_count" field.

func EmailOpenedAt added in v1.5.0

func EmailOpenedAt(v time.Time) predicate.AssessmentResponse

EmailOpenedAt applies equality check predicate on the "email_opened_at" field. It's identical to EmailOpenedAtEQ.

func EmailOpenedAtEQ added in v1.5.0

func EmailOpenedAtEQ(v time.Time) predicate.AssessmentResponse

EmailOpenedAtEQ applies the EQ predicate on the "email_opened_at" field.

func EmailOpenedAtGT added in v1.5.0

func EmailOpenedAtGT(v time.Time) predicate.AssessmentResponse

EmailOpenedAtGT applies the GT predicate on the "email_opened_at" field.

func EmailOpenedAtGTE added in v1.5.0

func EmailOpenedAtGTE(v time.Time) predicate.AssessmentResponse

EmailOpenedAtGTE applies the GTE predicate on the "email_opened_at" field.

func EmailOpenedAtIn added in v1.5.0

func EmailOpenedAtIn(vs ...time.Time) predicate.AssessmentResponse

EmailOpenedAtIn applies the In predicate on the "email_opened_at" field.

func EmailOpenedAtIsNil added in v1.5.0

func EmailOpenedAtIsNil() predicate.AssessmentResponse

EmailOpenedAtIsNil applies the IsNil predicate on the "email_opened_at" field.

func EmailOpenedAtLT added in v1.5.0

func EmailOpenedAtLT(v time.Time) predicate.AssessmentResponse

EmailOpenedAtLT applies the LT predicate on the "email_opened_at" field.

func EmailOpenedAtLTE added in v1.5.0

func EmailOpenedAtLTE(v time.Time) predicate.AssessmentResponse

EmailOpenedAtLTE applies the LTE predicate on the "email_opened_at" field.

func EmailOpenedAtNEQ added in v1.5.0

func EmailOpenedAtNEQ(v time.Time) predicate.AssessmentResponse

EmailOpenedAtNEQ applies the NEQ predicate on the "email_opened_at" field.

func EmailOpenedAtNotIn added in v1.5.0

func EmailOpenedAtNotIn(vs ...time.Time) predicate.AssessmentResponse

EmailOpenedAtNotIn applies the NotIn predicate on the "email_opened_at" field.

func EmailOpenedAtNotNil added in v1.5.0

func EmailOpenedAtNotNil() predicate.AssessmentResponse

EmailOpenedAtNotNil applies the NotNil predicate on the "email_opened_at" field.

func EntityID added in v1.5.0

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

func EntityIDContains added in v1.5.0

func EntityIDContains(v string) predicate.AssessmentResponse

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

func EntityIDContainsFold added in v1.5.0

func EntityIDContainsFold(v string) predicate.AssessmentResponse

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

func EntityIDEQ added in v1.5.0

func EntityIDEQ(v string) predicate.AssessmentResponse

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

func EntityIDEqualFold added in v1.5.0

func EntityIDEqualFold(v string) predicate.AssessmentResponse

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

func EntityIDGT added in v1.5.0

func EntityIDGT(v string) predicate.AssessmentResponse

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

func EntityIDGTE added in v1.5.0

func EntityIDGTE(v string) predicate.AssessmentResponse

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

func EntityIDHasPrefix added in v1.5.0

func EntityIDHasPrefix(v string) predicate.AssessmentResponse

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

func EntityIDHasSuffix added in v1.5.0

func EntityIDHasSuffix(v string) predicate.AssessmentResponse

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

func EntityIDIn added in v1.5.0

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

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

func EntityIDIsNil added in v1.5.0

func EntityIDIsNil() predicate.AssessmentResponse

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

func EntityIDLT added in v1.5.0

func EntityIDLT(v string) predicate.AssessmentResponse

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

func EntityIDLTE added in v1.5.0

func EntityIDLTE(v string) predicate.AssessmentResponse

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

func EntityIDNEQ added in v1.5.0

func EntityIDNEQ(v string) predicate.AssessmentResponse

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

func EntityIDNotIn added in v1.5.0

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

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

func EntityIDNotNil added in v1.5.0

func EntityIDNotNil() predicate.AssessmentResponse

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

func HasAssessment

func HasAssessment() predicate.AssessmentResponse

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

func HasAssessmentWith

func HasAssessmentWith(preds ...predicate.Assessment) predicate.AssessmentResponse

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

func HasCampaign added in v1.5.0

func HasCampaign() predicate.AssessmentResponse

HasCampaign applies the HasEdge predicate on the "campaign" edge.

func HasCampaignWith added in v1.5.0

func HasCampaignWith(preds ...predicate.Campaign) predicate.AssessmentResponse

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

func HasDocument

func HasDocument() predicate.AssessmentResponse

HasDocument applies the HasEdge predicate on the "document" edge.

func HasDocumentWith

func HasDocumentWith(preds ...predicate.DocumentData) predicate.AssessmentResponse

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

func HasEntity added in v1.5.0

func HasEntity() predicate.AssessmentResponse

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

func HasEntityWith added in v1.5.0

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

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

func HasIdentityHolder added in v1.5.0

func HasIdentityHolder() predicate.AssessmentResponse

HasIdentityHolder applies the HasEdge predicate on the "identity_holder" edge.

func HasIdentityHolderWith added in v1.5.0

func HasIdentityHolderWith(preds ...predicate.IdentityHolder) predicate.AssessmentResponse

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

func HasOwner

func HasOwner() predicate.AssessmentResponse

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

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Organization) predicate.AssessmentResponse

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.AssessmentResponse

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.AssessmentResponse

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IdentityHolderID added in v1.5.0

func IdentityHolderID(v string) predicate.AssessmentResponse

IdentityHolderID applies equality check predicate on the "identity_holder_id" field. It's identical to IdentityHolderIDEQ.

func IdentityHolderIDContains added in v1.5.0

func IdentityHolderIDContains(v string) predicate.AssessmentResponse

IdentityHolderIDContains applies the Contains predicate on the "identity_holder_id" field.

func IdentityHolderIDContainsFold added in v1.5.0

func IdentityHolderIDContainsFold(v string) predicate.AssessmentResponse

IdentityHolderIDContainsFold applies the ContainsFold predicate on the "identity_holder_id" field.

func IdentityHolderIDEQ added in v1.5.0

func IdentityHolderIDEQ(v string) predicate.AssessmentResponse

IdentityHolderIDEQ applies the EQ predicate on the "identity_holder_id" field.

func IdentityHolderIDEqualFold added in v1.5.0

func IdentityHolderIDEqualFold(v string) predicate.AssessmentResponse

IdentityHolderIDEqualFold applies the EqualFold predicate on the "identity_holder_id" field.

func IdentityHolderIDGT added in v1.5.0

func IdentityHolderIDGT(v string) predicate.AssessmentResponse

IdentityHolderIDGT applies the GT predicate on the "identity_holder_id" field.

func IdentityHolderIDGTE added in v1.5.0

func IdentityHolderIDGTE(v string) predicate.AssessmentResponse

IdentityHolderIDGTE applies the GTE predicate on the "identity_holder_id" field.

func IdentityHolderIDHasPrefix added in v1.5.0

func IdentityHolderIDHasPrefix(v string) predicate.AssessmentResponse

IdentityHolderIDHasPrefix applies the HasPrefix predicate on the "identity_holder_id" field.

func IdentityHolderIDHasSuffix added in v1.5.0

func IdentityHolderIDHasSuffix(v string) predicate.AssessmentResponse

IdentityHolderIDHasSuffix applies the HasSuffix predicate on the "identity_holder_id" field.

func IdentityHolderIDIn added in v1.5.0

func IdentityHolderIDIn(vs ...string) predicate.AssessmentResponse

IdentityHolderIDIn applies the In predicate on the "identity_holder_id" field.

func IdentityHolderIDIsNil added in v1.5.0

func IdentityHolderIDIsNil() predicate.AssessmentResponse

IdentityHolderIDIsNil applies the IsNil predicate on the "identity_holder_id" field.

func IdentityHolderIDLT added in v1.5.0

func IdentityHolderIDLT(v string) predicate.AssessmentResponse

IdentityHolderIDLT applies the LT predicate on the "identity_holder_id" field.

func IdentityHolderIDLTE added in v1.5.0

func IdentityHolderIDLTE(v string) predicate.AssessmentResponse

IdentityHolderIDLTE applies the LTE predicate on the "identity_holder_id" field.

func IdentityHolderIDNEQ added in v1.5.0

func IdentityHolderIDNEQ(v string) predicate.AssessmentResponse

IdentityHolderIDNEQ applies the NEQ predicate on the "identity_holder_id" field.

func IdentityHolderIDNotIn added in v1.5.0

func IdentityHolderIDNotIn(vs ...string) predicate.AssessmentResponse

IdentityHolderIDNotIn applies the NotIn predicate on the "identity_holder_id" field.

func IdentityHolderIDNotNil added in v1.5.0

func IdentityHolderIDNotNil() predicate.AssessmentResponse

IdentityHolderIDNotNil applies the NotNil predicate on the "identity_holder_id" field.

func IsDraft added in v1.9.4

IsDraft applies equality check predicate on the "is_draft" field. It's identical to IsDraftEQ.

func IsDraftEQ added in v1.9.4

func IsDraftEQ(v bool) predicate.AssessmentResponse

IsDraftEQ applies the EQ predicate on the "is_draft" field.

func IsDraftNEQ added in v1.9.4

func IsDraftNEQ(v bool) predicate.AssessmentResponse

IsDraftNEQ applies the NEQ predicate on the "is_draft" field.

func IsTest added in v1.5.5

IsTest applies equality check predicate on the "is_test" field. It's identical to IsTestEQ.

func IsTestEQ added in v1.5.5

func IsTestEQ(v bool) predicate.AssessmentResponse

IsTestEQ applies the EQ predicate on the "is_test" field.

func IsTestNEQ added in v1.5.5

func IsTestNEQ(v bool) predicate.AssessmentResponse

IsTestNEQ applies the NEQ predicate on the "is_test" field.

func LastEmailEventAt added in v1.5.0

func LastEmailEventAt(v time.Time) predicate.AssessmentResponse

LastEmailEventAt applies equality check predicate on the "last_email_event_at" field. It's identical to LastEmailEventAtEQ.

func LastEmailEventAtEQ added in v1.5.0

func LastEmailEventAtEQ(v time.Time) predicate.AssessmentResponse

LastEmailEventAtEQ applies the EQ predicate on the "last_email_event_at" field.

func LastEmailEventAtGT added in v1.5.0

func LastEmailEventAtGT(v time.Time) predicate.AssessmentResponse

LastEmailEventAtGT applies the GT predicate on the "last_email_event_at" field.

func LastEmailEventAtGTE added in v1.5.0

func LastEmailEventAtGTE(v time.Time) predicate.AssessmentResponse

LastEmailEventAtGTE applies the GTE predicate on the "last_email_event_at" field.

func LastEmailEventAtIn added in v1.5.0

func LastEmailEventAtIn(vs ...time.Time) predicate.AssessmentResponse

LastEmailEventAtIn applies the In predicate on the "last_email_event_at" field.

func LastEmailEventAtIsNil added in v1.5.0

func LastEmailEventAtIsNil() predicate.AssessmentResponse

LastEmailEventAtIsNil applies the IsNil predicate on the "last_email_event_at" field.

func LastEmailEventAtLT added in v1.5.0

func LastEmailEventAtLT(v time.Time) predicate.AssessmentResponse

LastEmailEventAtLT applies the LT predicate on the "last_email_event_at" field.

func LastEmailEventAtLTE added in v1.5.0

func LastEmailEventAtLTE(v time.Time) predicate.AssessmentResponse

LastEmailEventAtLTE applies the LTE predicate on the "last_email_event_at" field.

func LastEmailEventAtNEQ added in v1.5.0

func LastEmailEventAtNEQ(v time.Time) predicate.AssessmentResponse

LastEmailEventAtNEQ applies the NEQ predicate on the "last_email_event_at" field.

func LastEmailEventAtNotIn added in v1.5.0

func LastEmailEventAtNotIn(vs ...time.Time) predicate.AssessmentResponse

LastEmailEventAtNotIn applies the NotIn predicate on the "last_email_event_at" field.

func LastEmailEventAtNotNil added in v1.5.0

func LastEmailEventAtNotNil() predicate.AssessmentResponse

LastEmailEventAtNotNil applies the NotNil predicate on the "last_email_event_at" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OwnerID

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.AssessmentResponse

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.AssessmentResponse

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

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.AssessmentResponse

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.AssessmentResponse

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

func OwnerIDGT

func OwnerIDGT(v string) predicate.AssessmentResponse

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

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.AssessmentResponse

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.AssessmentResponse

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.AssessmentResponse

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.AssessmentResponse

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.AssessmentResponse

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

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.AssessmentResponse

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

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.AssessmentResponse

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.AssessmentResponse

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

func SendAttempts

func SendAttempts(v int) predicate.AssessmentResponse

SendAttempts applies equality check predicate on the "send_attempts" field. It's identical to SendAttemptsEQ.

func SendAttemptsEQ

func SendAttemptsEQ(v int) predicate.AssessmentResponse

SendAttemptsEQ applies the EQ predicate on the "send_attempts" field.

func SendAttemptsGT

func SendAttemptsGT(v int) predicate.AssessmentResponse

SendAttemptsGT applies the GT predicate on the "send_attempts" field.

func SendAttemptsGTE

func SendAttemptsGTE(v int) predicate.AssessmentResponse

SendAttemptsGTE applies the GTE predicate on the "send_attempts" field.

func SendAttemptsIn

func SendAttemptsIn(vs ...int) predicate.AssessmentResponse

SendAttemptsIn applies the In predicate on the "send_attempts" field.

func SendAttemptsLT

func SendAttemptsLT(v int) predicate.AssessmentResponse

SendAttemptsLT applies the LT predicate on the "send_attempts" field.

func SendAttemptsLTE

func SendAttemptsLTE(v int) predicate.AssessmentResponse

SendAttemptsLTE applies the LTE predicate on the "send_attempts" field.

func SendAttemptsNEQ

func SendAttemptsNEQ(v int) predicate.AssessmentResponse

SendAttemptsNEQ applies the NEQ predicate on the "send_attempts" field.

func SendAttemptsNotIn

func SendAttemptsNotIn(vs ...int) predicate.AssessmentResponse

SendAttemptsNotIn applies the NotIn predicate on the "send_attempts" field.

func StartedAt

StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.AssessmentResponse

StartedAtEQ applies the EQ predicate on the "started_at" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.AssessmentResponse

StartedAtGT applies the GT predicate on the "started_at" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.AssessmentResponse

StartedAtGTE applies the GTE predicate on the "started_at" field.

func StartedAtIn

func StartedAtIn(vs ...time.Time) predicate.AssessmentResponse

StartedAtIn applies the In predicate on the "started_at" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.AssessmentResponse

StartedAtLT applies the LT predicate on the "started_at" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.AssessmentResponse

StartedAtLTE applies the LTE predicate on the "started_at" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.AssessmentResponse

StartedAtNEQ applies the NEQ predicate on the "started_at" field.

func StartedAtNotIn

func StartedAtNotIn(vs ...time.Time) predicate.AssessmentResponse

StartedAtNotIn applies the NotIn predicate on the "started_at" field.

func StatusEQ

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s enums.AssessmentResponseStatus) error

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

func UpdatedAt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AssessmentResponse

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AssessmentResponse

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AssessmentResponse

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.AssessmentResponse

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AssessmentResponse

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AssessmentResponse

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AssessmentResponse

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.AssessmentResponse

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

func UpdatedBy

func UpdatedBy(v string) predicate.AssessmentResponse

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.AssessmentResponse

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.AssessmentResponse

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.AssessmentResponse

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.AssessmentResponse

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.AssessmentResponse

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.AssessmentResponse

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.AssessmentResponse

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.AssessmentResponse

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.AssessmentResponse

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.AssessmentResponse

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.AssessmentResponse

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.AssessmentResponse

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.AssessmentResponse

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).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AssessmentResponse 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 ByAssignedAt

func ByAssignedAt(opts ...sql.OrderTermOption) OrderOption

ByAssignedAt orders the results by the assigned_at field.

func ByCampaignField added in v1.5.0

func ByCampaignField(field string, opts ...sql.OrderTermOption) OrderOption

ByCampaignField orders the results by campaign field.

func ByCampaignID added in v1.5.0

func ByCampaignID(opts ...sql.OrderTermOption) OrderOption

ByCampaignID orders the results by the campaign_id field.

func ByCompletedAt

func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption

ByCompletedAt orders the results by the completed_at field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption

ByCreatedBy orders the results by the created_by field.

func 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 ByDocumentDataID

func ByDocumentDataID(opts ...sql.OrderTermOption) OrderOption

ByDocumentDataID orders the results by the document_data_id field.

func ByDocumentField

func ByDocumentField(field string, opts ...sql.OrderTermOption) OrderOption

ByDocumentField orders the results by document field.

func ByDueDate

func ByDueDate(opts ...sql.OrderTermOption) OrderOption

ByDueDate orders the results by the due_date field.

func ByEmail

func ByEmail(opts ...sql.OrderTermOption) OrderOption

ByEmail orders the results by the email field.

func ByEmailClickCount added in v1.5.0

func ByEmailClickCount(opts ...sql.OrderTermOption) OrderOption

ByEmailClickCount orders the results by the email_click_count field.

func ByEmailClickedAt added in v1.5.0

func ByEmailClickedAt(opts ...sql.OrderTermOption) OrderOption

ByEmailClickedAt orders the results by the email_clicked_at field.

func ByEmailDeliveredAt added in v1.5.0

func ByEmailDeliveredAt(opts ...sql.OrderTermOption) OrderOption

ByEmailDeliveredAt orders the results by the email_delivered_at field.

func ByEmailOpenCount added in v1.5.0

func ByEmailOpenCount(opts ...sql.OrderTermOption) OrderOption

ByEmailOpenCount orders the results by the email_open_count field.

func ByEmailOpenedAt added in v1.5.0

func ByEmailOpenedAt(opts ...sql.OrderTermOption) OrderOption

ByEmailOpenedAt orders the results by the email_opened_at field.

func ByEntityField added in v1.5.0

func ByEntityField(field string, opts ...sql.OrderTermOption) OrderOption

ByEntityField orders the results by entity field.

func ByEntityID added in v1.5.0

func ByEntityID(opts ...sql.OrderTermOption) OrderOption

ByEntityID orders the results by the entity_id field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIdentityHolderField added in v1.5.0

func ByIdentityHolderField(field string, opts ...sql.OrderTermOption) OrderOption

ByIdentityHolderField orders the results by identity_holder field.

func ByIdentityHolderID added in v1.5.0

func ByIdentityHolderID(opts ...sql.OrderTermOption) OrderOption

ByIdentityHolderID orders the results by the identity_holder_id field.

func ByIsDraft added in v1.9.4

func ByIsDraft(opts ...sql.OrderTermOption) OrderOption

ByIsDraft orders the results by the is_draft field.

func ByIsTest added in v1.5.5

func ByIsTest(opts ...sql.OrderTermOption) OrderOption

ByIsTest orders the results by the is_test field.

func ByLastEmailEventAt added in v1.5.0

func ByLastEmailEventAt(opts ...sql.OrderTermOption) OrderOption

ByLastEmailEventAt orders the results by the last_email_event_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 BySendAttempts

func BySendAttempts(opts ...sql.OrderTermOption) OrderOption

BySendAttempts orders the results by the send_attempts field.

func ByStartedAt

func ByStartedAt(opts ...sql.OrderTermOption) OrderOption

ByStartedAt orders the results by the started_at field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status 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.

Jump to

Keyboard shortcuts

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