Documentation
¶
Index ¶
- Constants
- Variables
- func Action(v string) predicate.Event
- func ActionContains(v string) predicate.Event
- func ActionContainsFold(v string) predicate.Event
- func ActionEQ(v string) predicate.Event
- func ActionEqualFold(v string) predicate.Event
- func ActionGT(v string) predicate.Event
- func ActionGTE(v string) predicate.Event
- func ActionHasPrefix(v string) predicate.Event
- func ActionHasSuffix(v string) predicate.Event
- func ActionIn(vs ...string) predicate.Event
- func ActionLT(v string) predicate.Event
- func ActionLTE(v string) predicate.Event
- func ActionNEQ(v string) predicate.Event
- func ActionNotIn(vs ...string) predicate.Event
- func And(predicates ...predicate.Event) predicate.Event
- func ContactID(v int64) predicate.Event
- func ContactIDEQ(v int64) predicate.Event
- func ContactIDIn(vs ...int64) predicate.Event
- func ContactIDIsNil() predicate.Event
- func ContactIDNEQ(v int64) predicate.Event
- func ContactIDNotIn(vs ...int64) predicate.Event
- func ContactIDNotNil() predicate.Event
- func CreatedAt(v time.Time) predicate.Event
- func CreatedAtEQ(v time.Time) predicate.Event
- func CreatedAtGT(v time.Time) predicate.Event
- func CreatedAtGTE(v time.Time) predicate.Event
- func CreatedAtIn(vs ...time.Time) predicate.Event
- func CreatedAtLT(v time.Time) predicate.Event
- func CreatedAtLTE(v time.Time) predicate.Event
- func CreatedAtNEQ(v time.Time) predicate.Event
- func CreatedAtNotIn(vs ...time.Time) predicate.Event
- func Email(v string) predicate.Event
- func EmailContains(v string) predicate.Event
- func EmailContainsFold(v string) predicate.Event
- func EmailEQ(v string) predicate.Event
- func EmailEqualFold(v string) predicate.Event
- func EmailGT(v string) predicate.Event
- func EmailGTE(v string) predicate.Event
- func EmailHasPrefix(v string) predicate.Event
- func EmailHasSuffix(v string) predicate.Event
- func EmailIn(vs ...string) predicate.Event
- func EmailIsNil() predicate.Event
- func EmailLT(v string) predicate.Event
- func EmailLTE(v string) predicate.Event
- func EmailNEQ(v string) predicate.Event
- func EmailNotIn(vs ...string) predicate.Event
- func EmailNotNil() predicate.Event
- func HasContact() predicate.Event
- func HasContactWith(preds ...predicate.Contact) predicate.Event
- func HasWorkspace() predicate.Event
- func HasWorkspaceWith(preds ...predicate.Workspace) predicate.Event
- func ID(id int64) predicate.Event
- func IDEQ(id int64) predicate.Event
- func IDGT(id int64) predicate.Event
- func IDGTE(id int64) predicate.Event
- func IDIn(ids ...int64) predicate.Event
- func IDLT(id int64) predicate.Event
- func IDLTE(id int64) predicate.Event
- func IDNEQ(id int64) predicate.Event
- func IDNotIn(ids ...int64) predicate.Event
- func Not(p predicate.Event) predicate.Event
- func OccurredAt(v time.Time) predicate.Event
- func OccurredAtEQ(v time.Time) predicate.Event
- func OccurredAtGT(v time.Time) predicate.Event
- func OccurredAtGTE(v time.Time) predicate.Event
- func OccurredAtIn(vs ...time.Time) predicate.Event
- func OccurredAtIsNil() predicate.Event
- func OccurredAtLT(v time.Time) predicate.Event
- func OccurredAtLTE(v time.Time) predicate.Event
- func OccurredAtNEQ(v time.Time) predicate.Event
- func OccurredAtNotIn(vs ...time.Time) predicate.Event
- func OccurredAtNotNil() predicate.Event
- func Or(predicates ...predicate.Event) predicate.Event
- func Phone(v string) predicate.Event
- func PhoneContains(v string) predicate.Event
- func PhoneContainsFold(v string) predicate.Event
- func PhoneEQ(v string) predicate.Event
- func PhoneEqualFold(v string) predicate.Event
- func PhoneGT(v string) predicate.Event
- func PhoneGTE(v string) predicate.Event
- func PhoneHasPrefix(v string) predicate.Event
- func PhoneHasSuffix(v string) predicate.Event
- func PhoneIn(vs ...string) predicate.Event
- func PhoneIsNil() predicate.Event
- func PhoneLT(v string) predicate.Event
- func PhoneLTE(v string) predicate.Event
- func PhoneNEQ(v string) predicate.Event
- func PhoneNotIn(vs ...string) predicate.Event
- func PhoneNotNil() predicate.Event
- func PropertiesIsNil() predicate.Event
- func PropertiesNotNil() predicate.Event
- func SourceID(v string) predicate.Event
- func SourceIDContains(v string) predicate.Event
- func SourceIDContainsFold(v string) predicate.Event
- func SourceIDEQ(v string) predicate.Event
- func SourceIDEqualFold(v string) predicate.Event
- func SourceIDGT(v string) predicate.Event
- func SourceIDGTE(v string) predicate.Event
- func SourceIDHasPrefix(v string) predicate.Event
- func SourceIDHasSuffix(v string) predicate.Event
- func SourceIDIn(vs ...string) predicate.Event
- func SourceIDIsNil() predicate.Event
- func SourceIDLT(v string) predicate.Event
- func SourceIDLTE(v string) predicate.Event
- func SourceIDNEQ(v string) predicate.Event
- func SourceIDNotIn(vs ...string) predicate.Event
- func SourceIDNotNil() predicate.Event
- func SubjectID(v string) predicate.Event
- func SubjectIDContains(v string) predicate.Event
- func SubjectIDContainsFold(v string) predicate.Event
- func SubjectIDEQ(v string) predicate.Event
- func SubjectIDEqualFold(v string) predicate.Event
- func SubjectIDGT(v string) predicate.Event
- func SubjectIDGTE(v string) predicate.Event
- func SubjectIDHasPrefix(v string) predicate.Event
- func SubjectIDHasSuffix(v string) predicate.Event
- func SubjectIDIn(vs ...string) predicate.Event
- func SubjectIDIsNil() predicate.Event
- func SubjectIDLT(v string) predicate.Event
- func SubjectIDLTE(v string) predicate.Event
- func SubjectIDNEQ(v string) predicate.Event
- func SubjectIDNotIn(vs ...string) predicate.Event
- func SubjectIDNotNil() predicate.Event
- func UpdatedAt(v time.Time) predicate.Event
- func UpdatedAtEQ(v time.Time) predicate.Event
- func UpdatedAtGT(v time.Time) predicate.Event
- func UpdatedAtGTE(v time.Time) predicate.Event
- func UpdatedAtIn(vs ...time.Time) predicate.Event
- func UpdatedAtLT(v time.Time) predicate.Event
- func UpdatedAtLTE(v time.Time) predicate.Event
- func UpdatedAtNEQ(v time.Time) predicate.Event
- func UpdatedAtNotIn(vs ...time.Time) predicate.Event
- func ValidColumn(column string) bool
- func VisitorID(v string) predicate.Event
- func VisitorIDContains(v string) predicate.Event
- func VisitorIDContainsFold(v string) predicate.Event
- func VisitorIDEQ(v string) predicate.Event
- func VisitorIDEqualFold(v string) predicate.Event
- func VisitorIDGT(v string) predicate.Event
- func VisitorIDGTE(v string) predicate.Event
- func VisitorIDHasPrefix(v string) predicate.Event
- func VisitorIDHasSuffix(v string) predicate.Event
- func VisitorIDIn(vs ...string) predicate.Event
- func VisitorIDIsNil() predicate.Event
- func VisitorIDLT(v string) predicate.Event
- func VisitorIDLTE(v string) predicate.Event
- func VisitorIDNEQ(v string) predicate.Event
- func VisitorIDNotIn(vs ...string) predicate.Event
- func VisitorIDNotNil() predicate.Event
- func WorkspaceID(v int64) predicate.Event
- func WorkspaceIDEQ(v int64) predicate.Event
- func WorkspaceIDIn(vs ...int64) predicate.Event
- func WorkspaceIDNEQ(v int64) predicate.Event
- func WorkspaceIDNotIn(vs ...int64) predicate.Event
- type OrderOption
- func ByAction(opts ...sql.OrderTermOption) OrderOption
- func ByContactField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByContactID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOccurredAt(opts ...sql.OrderTermOption) OrderOption
- func ByPhone(opts ...sql.OrderTermOption) OrderOption
- func BySourceID(opts ...sql.OrderTermOption) OrderOption
- func BySubjectID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVisitorID(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the event type in the database. Label = "event" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldWorkspaceID holds the string denoting the workspace_id field in the database. FieldWorkspaceID = "workspace_id" // FieldSourceID holds the string denoting the source_id field in the database. FieldSourceID = "source_id" // FieldContactID holds the string denoting the contact_id field in the database. FieldContactID = "contact_id" // FieldVisitorID holds the string denoting the visitor_id field in the database. FieldVisitorID = "visitor_id" // FieldSubjectID holds the string denoting the subject_id field in the database. FieldSubjectID = "subject_id" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // FieldAction holds the string denoting the action field in the database. FieldAction = "action" // FieldProperties holds the string denoting the properties field in the database. FieldProperties = "properties" // FieldOccurredAt holds the string denoting the occurred_at field in the database. FieldOccurredAt = "occurred_at" // EdgeWorkspace holds the string denoting the workspace edge name in mutations. EdgeWorkspace = "workspace" // EdgeContact holds the string denoting the contact edge name in mutations. EdgeContact = "contact" // Table holds the table name of the event in the database. Table = "events" // WorkspaceTable is the table that holds the workspace relation/edge. WorkspaceTable = "events" // WorkspaceInverseTable is the table name for the Workspace entity. // It exists in this package in order to avoid circular dependency with the "workspace" package. WorkspaceInverseTable = "workspaces" // WorkspaceColumn is the table column denoting the workspace relation/edge. WorkspaceColumn = "workspace_id" // ContactTable is the table that holds the contact relation/edge. ContactTable = "events" // ContactInverseTable is the table name for the Contact entity. // It exists in this package in order to avoid circular dependency with the "contact" package. ContactInverseTable = "contacts" // ContactColumn is the table column denoting the contact relation/edge. ContactColumn = "contact_id" )
Variables ¶
var ( // 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 // ActionValidator is a validator for the "action" field. It is called by the builders before save. ActionValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldWorkspaceID, FieldSourceID, FieldContactID, FieldVisitorID, FieldSubjectID, FieldEmail, FieldPhone, FieldAction, FieldProperties, FieldOccurredAt, }
Columns holds all SQL columns for event fields.
Functions ¶
func Action ¶
Action applies equality check predicate on the "action" field. It's identical to ActionEQ.
func ActionContains ¶
ActionContains applies the Contains predicate on the "action" field.
func ActionContainsFold ¶
ActionContainsFold applies the ContainsFold predicate on the "action" field.
func ActionEqualFold ¶
ActionEqualFold applies the EqualFold predicate on the "action" field.
func ActionHasPrefix ¶
ActionHasPrefix applies the HasPrefix predicate on the "action" field.
func ActionHasSuffix ¶
ActionHasSuffix applies the HasSuffix predicate on the "action" field.
func ActionNotIn ¶
ActionNotIn applies the NotIn predicate on the "action" field.
func ContactID ¶
ContactID applies equality check predicate on the "contact_id" field. It's identical to ContactIDEQ.
func ContactIDEQ ¶
ContactIDEQ applies the EQ predicate on the "contact_id" field.
func ContactIDIn ¶
ContactIDIn applies the In predicate on the "contact_id" field.
func ContactIDIsNil ¶
ContactIDIsNil applies the IsNil predicate on the "contact_id" field.
func ContactIDNEQ ¶
ContactIDNEQ applies the NEQ predicate on the "contact_id" field.
func ContactIDNotIn ¶
ContactIDNotIn applies the NotIn predicate on the "contact_id" field.
func ContactIDNotNil ¶
ContactIDNotNil applies the NotNil predicate on the "contact_id" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func HasContact ¶
HasContact applies the HasEdge predicate on the "contact" edge.
func HasContactWith ¶
HasContactWith applies the HasEdge predicate on the "contact" edge with a given conditions (other predicates).
func HasWorkspace ¶
HasWorkspace applies the HasEdge predicate on the "workspace" edge.
func HasWorkspaceWith ¶
HasWorkspaceWith applies the HasEdge predicate on the "workspace" edge with a given conditions (other predicates).
func OccurredAt ¶
OccurredAt applies equality check predicate on the "occurred_at" field. It's identical to OccurredAtEQ.
func OccurredAtEQ ¶
OccurredAtEQ applies the EQ predicate on the "occurred_at" field.
func OccurredAtGT ¶
OccurredAtGT applies the GT predicate on the "occurred_at" field.
func OccurredAtGTE ¶
OccurredAtGTE applies the GTE predicate on the "occurred_at" field.
func OccurredAtIn ¶
OccurredAtIn applies the In predicate on the "occurred_at" field.
func OccurredAtIsNil ¶
OccurredAtIsNil applies the IsNil predicate on the "occurred_at" field.
func OccurredAtLT ¶
OccurredAtLT applies the LT predicate on the "occurred_at" field.
func OccurredAtLTE ¶
OccurredAtLTE applies the LTE predicate on the "occurred_at" field.
func OccurredAtNEQ ¶
OccurredAtNEQ applies the NEQ predicate on the "occurred_at" field.
func OccurredAtNotIn ¶
OccurredAtNotIn applies the NotIn predicate on the "occurred_at" field.
func OccurredAtNotNil ¶
OccurredAtNotNil applies the NotNil predicate on the "occurred_at" field.
func Phone ¶
Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func PhoneContains ¶
PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContainsFold ¶
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneEqualFold ¶
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneHasPrefix ¶
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasSuffix ¶
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneIsNil ¶
PhoneIsNil applies the IsNil predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" field.
func PhoneNotNil ¶
PhoneNotNil applies the NotNil predicate on the "phone" field.
func PropertiesIsNil ¶
PropertiesIsNil applies the IsNil predicate on the "properties" field.
func PropertiesNotNil ¶
PropertiesNotNil applies the NotNil predicate on the "properties" field.
func SourceID ¶
SourceID applies equality check predicate on the "source_id" field. It's identical to SourceIDEQ.
func SourceIDContains ¶
SourceIDContains applies the Contains predicate on the "source_id" field.
func SourceIDContainsFold ¶
SourceIDContainsFold applies the ContainsFold predicate on the "source_id" field.
func SourceIDEQ ¶
SourceIDEQ applies the EQ predicate on the "source_id" field.
func SourceIDEqualFold ¶
SourceIDEqualFold applies the EqualFold predicate on the "source_id" field.
func SourceIDGT ¶
SourceIDGT applies the GT predicate on the "source_id" field.
func SourceIDGTE ¶
SourceIDGTE applies the GTE predicate on the "source_id" field.
func SourceIDHasPrefix ¶
SourceIDHasPrefix applies the HasPrefix predicate on the "source_id" field.
func SourceIDHasSuffix ¶
SourceIDHasSuffix applies the HasSuffix predicate on the "source_id" field.
func SourceIDIn ¶
SourceIDIn applies the In predicate on the "source_id" field.
func SourceIDIsNil ¶
SourceIDIsNil applies the IsNil predicate on the "source_id" field.
func SourceIDLT ¶
SourceIDLT applies the LT predicate on the "source_id" field.
func SourceIDLTE ¶
SourceIDLTE applies the LTE predicate on the "source_id" field.
func SourceIDNEQ ¶
SourceIDNEQ applies the NEQ predicate on the "source_id" field.
func SourceIDNotIn ¶
SourceIDNotIn applies the NotIn predicate on the "source_id" field.
func SourceIDNotNil ¶
SourceIDNotNil applies the NotNil predicate on the "source_id" field.
func SubjectID ¶
SubjectID applies equality check predicate on the "subject_id" field. It's identical to SubjectIDEQ.
func SubjectIDContains ¶
SubjectIDContains applies the Contains predicate on the "subject_id" field.
func SubjectIDContainsFold ¶
SubjectIDContainsFold applies the ContainsFold predicate on the "subject_id" field.
func SubjectIDEQ ¶
SubjectIDEQ applies the EQ predicate on the "subject_id" field.
func SubjectIDEqualFold ¶
SubjectIDEqualFold applies the EqualFold predicate on the "subject_id" field.
func SubjectIDGT ¶
SubjectIDGT applies the GT predicate on the "subject_id" field.
func SubjectIDGTE ¶
SubjectIDGTE applies the GTE predicate on the "subject_id" field.
func SubjectIDHasPrefix ¶
SubjectIDHasPrefix applies the HasPrefix predicate on the "subject_id" field.
func SubjectIDHasSuffix ¶
SubjectIDHasSuffix applies the HasSuffix predicate on the "subject_id" field.
func SubjectIDIn ¶
SubjectIDIn applies the In predicate on the "subject_id" field.
func SubjectIDIsNil ¶
SubjectIDIsNil applies the IsNil predicate on the "subject_id" field.
func SubjectIDLT ¶
SubjectIDLT applies the LT predicate on the "subject_id" field.
func SubjectIDLTE ¶
SubjectIDLTE applies the LTE predicate on the "subject_id" field.
func SubjectIDNEQ ¶
SubjectIDNEQ applies the NEQ predicate on the "subject_id" field.
func SubjectIDNotIn ¶
SubjectIDNotIn applies the NotIn predicate on the "subject_id" field.
func SubjectIDNotNil ¶
SubjectIDNotNil applies the NotNil predicate on the "subject_id" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VisitorID ¶
VisitorID applies equality check predicate on the "visitor_id" field. It's identical to VisitorIDEQ.
func VisitorIDContains ¶
VisitorIDContains applies the Contains predicate on the "visitor_id" field.
func VisitorIDContainsFold ¶
VisitorIDContainsFold applies the ContainsFold predicate on the "visitor_id" field.
func VisitorIDEQ ¶
VisitorIDEQ applies the EQ predicate on the "visitor_id" field.
func VisitorIDEqualFold ¶
VisitorIDEqualFold applies the EqualFold predicate on the "visitor_id" field.
func VisitorIDGT ¶
VisitorIDGT applies the GT predicate on the "visitor_id" field.
func VisitorIDGTE ¶
VisitorIDGTE applies the GTE predicate on the "visitor_id" field.
func VisitorIDHasPrefix ¶
VisitorIDHasPrefix applies the HasPrefix predicate on the "visitor_id" field.
func VisitorIDHasSuffix ¶
VisitorIDHasSuffix applies the HasSuffix predicate on the "visitor_id" field.
func VisitorIDIn ¶
VisitorIDIn applies the In predicate on the "visitor_id" field.
func VisitorIDIsNil ¶
VisitorIDIsNil applies the IsNil predicate on the "visitor_id" field.
func VisitorIDLT ¶
VisitorIDLT applies the LT predicate on the "visitor_id" field.
func VisitorIDLTE ¶
VisitorIDLTE applies the LTE predicate on the "visitor_id" field.
func VisitorIDNEQ ¶
VisitorIDNEQ applies the NEQ predicate on the "visitor_id" field.
func VisitorIDNotIn ¶
VisitorIDNotIn applies the NotIn predicate on the "visitor_id" field.
func VisitorIDNotNil ¶
VisitorIDNotNil applies the NotNil predicate on the "visitor_id" field.
func WorkspaceID ¶
WorkspaceID applies equality check predicate on the "workspace_id" field. It's identical to WorkspaceIDEQ.
func WorkspaceIDEQ ¶
WorkspaceIDEQ applies the EQ predicate on the "workspace_id" field.
func WorkspaceIDIn ¶
WorkspaceIDIn applies the In predicate on the "workspace_id" field.
func WorkspaceIDNEQ ¶
WorkspaceIDNEQ applies the NEQ predicate on the "workspace_id" field.
func WorkspaceIDNotIn ¶
WorkspaceIDNotIn applies the NotIn predicate on the "workspace_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Event queries.
func ByAction ¶
func ByAction(opts ...sql.OrderTermOption) OrderOption
ByAction orders the results by the action field.
func ByContactField ¶
func ByContactField(field string, opts ...sql.OrderTermOption) OrderOption
ByContactField orders the results by contact field.
func ByContactID ¶
func ByContactID(opts ...sql.OrderTermOption) OrderOption
ByContactID orders the results by the contact_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOccurredAt ¶
func ByOccurredAt(opts ...sql.OrderTermOption) OrderOption
ByOccurredAt orders the results by the occurred_at field.
func ByPhone ¶
func ByPhone(opts ...sql.OrderTermOption) OrderOption
ByPhone orders the results by the phone field.
func BySourceID ¶
func BySourceID(opts ...sql.OrderTermOption) OrderOption
BySourceID orders the results by the source_id field.
func BySubjectID ¶
func BySubjectID(opts ...sql.OrderTermOption) OrderOption
BySubjectID orders the results by the subject_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVisitorID ¶
func ByVisitorID(opts ...sql.OrderTermOption) OrderOption
ByVisitorID orders the results by the visitor_id field.
func ByWorkspaceField ¶
func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkspaceField orders the results by workspace field.
func ByWorkspaceID ¶
func ByWorkspaceID(opts ...sql.OrderTermOption) OrderOption
ByWorkspaceID orders the results by the workspace_id field.