Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Campaign) predicate.Campaign
- func Content(v string) predicate.Campaign
- func ContentContains(v string) predicate.Campaign
- func ContentContainsFold(v string) predicate.Campaign
- func ContentEQ(v string) predicate.Campaign
- func ContentEqualFold(v string) predicate.Campaign
- func ContentGT(v string) predicate.Campaign
- func ContentGTE(v string) predicate.Campaign
- func ContentHasPrefix(v string) predicate.Campaign
- func ContentHasSuffix(v string) predicate.Campaign
- func ContentIn(vs ...string) predicate.Campaign
- func ContentIsNil() predicate.Campaign
- func ContentLT(v string) predicate.Campaign
- func ContentLTE(v string) predicate.Campaign
- func ContentNEQ(v string) predicate.Campaign
- func ContentNotIn(vs ...string) predicate.Campaign
- func ContentNotNil() predicate.Campaign
- func HasEvent() predicate.Campaign
- func HasEventWith(preds ...predicate.Event) predicate.Campaign
- func ID(id int) predicate.Campaign
- func IDEQ(id int) predicate.Campaign
- func IDGT(id int) predicate.Campaign
- func IDGTE(id int) predicate.Campaign
- func IDIn(ids ...int) predicate.Campaign
- func IDLT(id int) predicate.Campaign
- func IDLTE(id int) predicate.Campaign
- func IDNEQ(id int) predicate.Campaign
- func IDNotIn(ids ...int) predicate.Campaign
- func Medium(v string) predicate.Campaign
- func MediumContains(v string) predicate.Campaign
- func MediumContainsFold(v string) predicate.Campaign
- func MediumEQ(v string) predicate.Campaign
- func MediumEqualFold(v string) predicate.Campaign
- func MediumGT(v string) predicate.Campaign
- func MediumGTE(v string) predicate.Campaign
- func MediumHasPrefix(v string) predicate.Campaign
- func MediumHasSuffix(v string) predicate.Campaign
- func MediumIn(vs ...string) predicate.Campaign
- func MediumIsNil() predicate.Campaign
- func MediumLT(v string) predicate.Campaign
- func MediumLTE(v string) predicate.Campaign
- func MediumNEQ(v string) predicate.Campaign
- func MediumNotIn(vs ...string) predicate.Campaign
- func MediumNotNil() predicate.Campaign
- func Name(v string) predicate.Campaign
- func NameContains(v string) predicate.Campaign
- func NameContainsFold(v string) predicate.Campaign
- func NameEQ(v string) predicate.Campaign
- func NameEqualFold(v string) predicate.Campaign
- func NameGT(v string) predicate.Campaign
- func NameGTE(v string) predicate.Campaign
- func NameHasPrefix(v string) predicate.Campaign
- func NameHasSuffix(v string) predicate.Campaign
- func NameIn(vs ...string) predicate.Campaign
- func NameLT(v string) predicate.Campaign
- func NameLTE(v string) predicate.Campaign
- func NameNEQ(v string) predicate.Campaign
- func NameNotIn(vs ...string) predicate.Campaign
- func Not(p predicate.Campaign) predicate.Campaign
- func Or(predicates ...predicate.Campaign) predicate.Campaign
- func Source(v string) predicate.Campaign
- func SourceContains(v string) predicate.Campaign
- func SourceContainsFold(v string) predicate.Campaign
- func SourceEQ(v string) predicate.Campaign
- func SourceEqualFold(v string) predicate.Campaign
- func SourceGT(v string) predicate.Campaign
- func SourceGTE(v string) predicate.Campaign
- func SourceHasPrefix(v string) predicate.Campaign
- func SourceHasSuffix(v string) predicate.Campaign
- func SourceIn(vs ...string) predicate.Campaign
- func SourceIsNil() predicate.Campaign
- func SourceLT(v string) predicate.Campaign
- func SourceLTE(v string) predicate.Campaign
- func SourceNEQ(v string) predicate.Campaign
- func SourceNotIn(vs ...string) predicate.Campaign
- func SourceNotNil() predicate.Campaign
- func Term(v string) predicate.Campaign
- func TermContains(v string) predicate.Campaign
- func TermContainsFold(v string) predicate.Campaign
- func TermEQ(v string) predicate.Campaign
- func TermEqualFold(v string) predicate.Campaign
- func TermGT(v string) predicate.Campaign
- func TermGTE(v string) predicate.Campaign
- func TermHasPrefix(v string) predicate.Campaign
- func TermHasSuffix(v string) predicate.Campaign
- func TermIn(vs ...string) predicate.Campaign
- func TermIsNil() predicate.Campaign
- func TermLT(v string) predicate.Campaign
- func TermLTE(v string) predicate.Campaign
- func TermNEQ(v string) predicate.Campaign
- func TermNotIn(vs ...string) predicate.Campaign
- func TermNotNil() predicate.Campaign
Constants ¶
const ( // Label holds the string label denoting the campaign type in the database. Label = "campaign" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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 ¶
var Columns = []string{ FieldID, FieldName, FieldSource, FieldMedium, FieldTerm, FieldContent, }
Columns holds all SQL columns for campaign fields.
Functions ¶
func Content ¶
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEqualFold ¶
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGTE ¶
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentIsNil ¶
ContentIsNil applies the IsNil predicate on the "content" field.
func ContentLTE ¶
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
ContentNotIn applies the NotIn predicate on the "content" field.
func ContentNotNil ¶
ContentNotNil applies the NotNil predicate on the "content" field.
func HasEventWith ¶
HasEventWith applies the HasEdge predicate on the "event" edge with a given conditions (other predicates).
func Medium ¶
Medium applies equality check predicate on the "medium" field. It's identical to MediumEQ.
func MediumContains ¶
MediumContains applies the Contains predicate on the "medium" field.
func MediumContainsFold ¶
MediumContainsFold applies the ContainsFold predicate on the "medium" field.
func MediumEqualFold ¶
MediumEqualFold applies the EqualFold predicate on the "medium" field.
func MediumHasPrefix ¶
MediumHasPrefix applies the HasPrefix predicate on the "medium" field.
func MediumHasSuffix ¶
MediumHasSuffix applies the HasSuffix predicate on the "medium" field.
func MediumIsNil ¶
MediumIsNil applies the IsNil predicate on the "medium" field.
func MediumNotIn ¶
MediumNotIn applies the NotIn predicate on the "medium" field.
func MediumNotNil ¶
MediumNotNil applies the NotNil predicate on the "medium" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Source ¶
Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
func SourceContains ¶
SourceContains applies the Contains predicate on the "source" field.
func SourceContainsFold ¶
SourceContainsFold applies the ContainsFold predicate on the "source" field.
func SourceEqualFold ¶
SourceEqualFold applies the EqualFold predicate on the "source" field.
func SourceHasPrefix ¶
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
func SourceHasSuffix ¶
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
func SourceIsNil ¶
SourceIsNil applies the IsNil predicate on the "source" field.
func SourceNotIn ¶
SourceNotIn applies the NotIn predicate on the "source" field.
func SourceNotNil ¶
SourceNotNil applies the NotNil predicate on the "source" field.
func TermContains ¶
TermContains applies the Contains predicate on the "term" field.
func TermContainsFold ¶
TermContainsFold applies the ContainsFold predicate on the "term" field.
func TermEqualFold ¶
TermEqualFold applies the EqualFold predicate on the "term" field.
func TermHasPrefix ¶
TermHasPrefix applies the HasPrefix predicate on the "term" field.
func TermHasSuffix ¶
TermHasSuffix applies the HasSuffix predicate on the "term" field.
func TermNotNil ¶
TermNotNil applies the NotNil predicate on the "term" field.
Types ¶
This section is empty.