campaign

package
v0.0.0-...-6edac6f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the campaign type in the database.
	Label = "campaign"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldMedium holds the string denoting the medium field in the database.
	FieldMedium = "medium"
	// FieldTerm holds the string denoting the term field in the database.
	FieldTerm = "term"
	// FieldContent holds the string denoting the content field in the database.
	FieldContent = "content"

	// EdgeEvent holds the string denoting the event edge name in mutations.
	EdgeEvent = "event"

	// Table holds the table name of the campaign in the database.
	Table = "campaigns"
	// EventTable is the table the holds the event relation/edge.
	EventTable = "events"
	// EventInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventInverseTable = "events"
	// EventColumn is the table column denoting the event relation/edge.
	EventColumn = "event_campaign"
)

Variables

Columns holds all SQL columns for campaign fields.

Functions

func And

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

And groups list of predicates with the AND operator between them.

func Content

func Content(v string) predicate.Campaign

Content applies equality check predicate on the "content" field. It's identical to ContentEQ.

func ContentContains

func ContentContains(v string) predicate.Campaign

ContentContains applies the Contains predicate on the "content" field.

func ContentContainsFold

func ContentContainsFold(v string) predicate.Campaign

ContentContainsFold applies the ContainsFold predicate on the "content" field.

func ContentEQ

func ContentEQ(v string) predicate.Campaign

ContentEQ applies the EQ predicate on the "content" field.

func ContentEqualFold

func ContentEqualFold(v string) predicate.Campaign

ContentEqualFold applies the EqualFold predicate on the "content" field.

func ContentGT

func ContentGT(v string) predicate.Campaign

ContentGT applies the GT predicate on the "content" field.

func ContentGTE

func ContentGTE(v string) predicate.Campaign

ContentGTE applies the GTE predicate on the "content" field.

func ContentHasPrefix

func ContentHasPrefix(v string) predicate.Campaign

ContentHasPrefix applies the HasPrefix predicate on the "content" field.

func ContentHasSuffix

func ContentHasSuffix(v string) predicate.Campaign

ContentHasSuffix applies the HasSuffix predicate on the "content" field.

func ContentIn

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

ContentIn applies the In predicate on the "content" field.

func ContentIsNil

func ContentIsNil() predicate.Campaign

ContentIsNil applies the IsNil predicate on the "content" field.

func ContentLT

func ContentLT(v string) predicate.Campaign

ContentLT applies the LT predicate on the "content" field.

func ContentLTE

func ContentLTE(v string) predicate.Campaign

ContentLTE applies the LTE predicate on the "content" field.

func ContentNEQ

func ContentNEQ(v string) predicate.Campaign

ContentNEQ applies the NEQ predicate on the "content" field.

func ContentNotIn

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

ContentNotIn applies the NotIn predicate on the "content" field.

func ContentNotNil

func ContentNotNil() predicate.Campaign

ContentNotNil applies the NotNil predicate on the "content" field.

func HasEvent

func HasEvent() predicate.Campaign

HasEvent applies the HasEdge predicate on the "event" edge.

func HasEventWith

func HasEventWith(preds ...predicate.Event) predicate.Campaign

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

func ID

func ID(id int) predicate.Campaign

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Campaign

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Campaign

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Campaign

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Campaign

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Campaign

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Campaign

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Medium

func Medium(v string) predicate.Campaign

Medium applies equality check predicate on the "medium" field. It's identical to MediumEQ.

func MediumContains

func MediumContains(v string) predicate.Campaign

MediumContains applies the Contains predicate on the "medium" field.

func MediumContainsFold

func MediumContainsFold(v string) predicate.Campaign

MediumContainsFold applies the ContainsFold predicate on the "medium" field.

func MediumEQ

func MediumEQ(v string) predicate.Campaign

MediumEQ applies the EQ predicate on the "medium" field.

func MediumEqualFold

func MediumEqualFold(v string) predicate.Campaign

MediumEqualFold applies the EqualFold predicate on the "medium" field.

func MediumGT

func MediumGT(v string) predicate.Campaign

MediumGT applies the GT predicate on the "medium" field.

func MediumGTE

func MediumGTE(v string) predicate.Campaign

MediumGTE applies the GTE predicate on the "medium" field.

func MediumHasPrefix

func MediumHasPrefix(v string) predicate.Campaign

MediumHasPrefix applies the HasPrefix predicate on the "medium" field.

func MediumHasSuffix

func MediumHasSuffix(v string) predicate.Campaign

MediumHasSuffix applies the HasSuffix predicate on the "medium" field.

func MediumIn

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

MediumIn applies the In predicate on the "medium" field.

func MediumIsNil

func MediumIsNil() predicate.Campaign

MediumIsNil applies the IsNil predicate on the "medium" field.

func MediumLT

func MediumLT(v string) predicate.Campaign

MediumLT applies the LT predicate on the "medium" field.

func MediumLTE

func MediumLTE(v string) predicate.Campaign

MediumLTE applies the LTE predicate on the "medium" field.

func MediumNEQ

func MediumNEQ(v string) predicate.Campaign

MediumNEQ applies the NEQ predicate on the "medium" field.

func MediumNotIn

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

MediumNotIn applies the NotIn predicate on the "medium" field.

func MediumNotNil

func MediumNotNil() predicate.Campaign

MediumNotNil applies the NotNil predicate on the "medium" field.

func Name

func Name(v string) predicate.Campaign

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

func NameContains

func NameContains(v string) predicate.Campaign

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

func NameContainsFold

func NameContainsFold(v string) predicate.Campaign

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

func NameEQ

func NameEQ(v string) predicate.Campaign

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

func NameEqualFold

func NameEqualFold(v string) predicate.Campaign

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

func NameGT

func NameGT(v string) predicate.Campaign

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

func NameGTE

func NameGTE(v string) predicate.Campaign

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Campaign

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Campaign

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Campaign

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

func NameLTE

func NameLTE(v string) predicate.Campaign

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

func NameNEQ

func NameNEQ(v string) predicate.Campaign

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

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

Or groups list of predicates with the OR operator between them.

func Source

func Source(v string) predicate.Campaign

Source applies equality check predicate on the "source" field. It's identical to SourceEQ.

func SourceContains

func SourceContains(v string) predicate.Campaign

SourceContains applies the Contains predicate on the "source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.Campaign

SourceContainsFold applies the ContainsFold predicate on the "source" field.

func SourceEQ

func SourceEQ(v string) predicate.Campaign

SourceEQ applies the EQ predicate on the "source" field.

func SourceEqualFold

func SourceEqualFold(v string) predicate.Campaign

SourceEqualFold applies the EqualFold predicate on the "source" field.

func SourceGT

func SourceGT(v string) predicate.Campaign

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

func SourceGTE(v string) predicate.Campaign

SourceGTE applies the GTE predicate on the "source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.Campaign

SourceHasPrefix applies the HasPrefix predicate on the "source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.Campaign

SourceHasSuffix applies the HasSuffix predicate on the "source" field.

func SourceIn

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

SourceIn applies the In predicate on the "source" field.

func SourceIsNil

func SourceIsNil() predicate.Campaign

SourceIsNil applies the IsNil predicate on the "source" field.

func SourceLT

func SourceLT(v string) predicate.Campaign

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

func SourceLTE(v string) predicate.Campaign

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

func SourceNEQ(v string) predicate.Campaign

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

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

SourceNotIn applies the NotIn predicate on the "source" field.

func SourceNotNil

func SourceNotNil() predicate.Campaign

SourceNotNil applies the NotNil predicate on the "source" field.

func Term

func Term(v string) predicate.Campaign

Term applies equality check predicate on the "term" field. It's identical to TermEQ.

func TermContains

func TermContains(v string) predicate.Campaign

TermContains applies the Contains predicate on the "term" field.

func TermContainsFold

func TermContainsFold(v string) predicate.Campaign

TermContainsFold applies the ContainsFold predicate on the "term" field.

func TermEQ

func TermEQ(v string) predicate.Campaign

TermEQ applies the EQ predicate on the "term" field.

func TermEqualFold

func TermEqualFold(v string) predicate.Campaign

TermEqualFold applies the EqualFold predicate on the "term" field.

func TermGT

func TermGT(v string) predicate.Campaign

TermGT applies the GT predicate on the "term" field.

func TermGTE

func TermGTE(v string) predicate.Campaign

TermGTE applies the GTE predicate on the "term" field.

func TermHasPrefix

func TermHasPrefix(v string) predicate.Campaign

TermHasPrefix applies the HasPrefix predicate on the "term" field.

func TermHasSuffix

func TermHasSuffix(v string) predicate.Campaign

TermHasSuffix applies the HasSuffix predicate on the "term" field.

func TermIn

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

TermIn applies the In predicate on the "term" field.

func TermIsNil

func TermIsNil() predicate.Campaign

TermIsNil applies the IsNil predicate on the "term" field.

func TermLT

func TermLT(v string) predicate.Campaign

TermLT applies the LT predicate on the "term" field.

func TermLTE

func TermLTE(v string) predicate.Campaign

TermLTE applies the LTE predicate on the "term" field.

func TermNEQ

func TermNEQ(v string) predicate.Campaign

TermNEQ applies the NEQ predicate on the "term" field.

func TermNotIn

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

TermNotIn applies the NotIn predicate on the "term" field.

func TermNotNil

func TermNotNil() predicate.Campaign

TermNotNil applies the NotNil predicate on the "term" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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