Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Referrer) predicate.Referrer
- func HasEvents() predicate.Referrer
- func HasEventsWith(preds ...predicate.Event) predicate.Referrer
- func Hostname(v string) predicate.Referrer
- func HostnameContains(v string) predicate.Referrer
- func HostnameContainsFold(v string) predicate.Referrer
- func HostnameEQ(v string) predicate.Referrer
- func HostnameEqualFold(v string) predicate.Referrer
- func HostnameGT(v string) predicate.Referrer
- func HostnameGTE(v string) predicate.Referrer
- func HostnameHasPrefix(v string) predicate.Referrer
- func HostnameHasSuffix(v string) predicate.Referrer
- func HostnameIn(vs ...string) predicate.Referrer
- func HostnameIsNil() predicate.Referrer
- func HostnameLT(v string) predicate.Referrer
- func HostnameLTE(v string) predicate.Referrer
- func HostnameNEQ(v string) predicate.Referrer
- func HostnameNotIn(vs ...string) predicate.Referrer
- func HostnameNotNil() predicate.Referrer
- func ID(id int) predicate.Referrer
- func IDEQ(id int) predicate.Referrer
- func IDGT(id int) predicate.Referrer
- func IDGTE(id int) predicate.Referrer
- func IDIn(ids ...int) predicate.Referrer
- func IDLT(id int) predicate.Referrer
- func IDLTE(id int) predicate.Referrer
- func IDNEQ(id int) predicate.Referrer
- func IDNotIn(ids ...int) predicate.Referrer
- func Link(v string) predicate.Referrer
- func LinkContains(v string) predicate.Referrer
- func LinkContainsFold(v string) predicate.Referrer
- func LinkEQ(v string) predicate.Referrer
- func LinkEqualFold(v string) predicate.Referrer
- func LinkGT(v string) predicate.Referrer
- func LinkGTE(v string) predicate.Referrer
- func LinkHasPrefix(v string) predicate.Referrer
- func LinkHasSuffix(v string) predicate.Referrer
- func LinkIn(vs ...string) predicate.Referrer
- func LinkIsNil() predicate.Referrer
- func LinkLT(v string) predicate.Referrer
- func LinkLTE(v string) predicate.Referrer
- func LinkNEQ(v string) predicate.Referrer
- func LinkNotIn(vs ...string) predicate.Referrer
- func LinkNotNil() predicate.Referrer
- func Name(v string) predicate.Referrer
- func NameContains(v string) predicate.Referrer
- func NameContainsFold(v string) predicate.Referrer
- func NameEQ(v string) predicate.Referrer
- func NameEqualFold(v string) predicate.Referrer
- func NameGT(v string) predicate.Referrer
- func NameGTE(v string) predicate.Referrer
- func NameHasPrefix(v string) predicate.Referrer
- func NameHasSuffix(v string) predicate.Referrer
- func NameIn(vs ...string) predicate.Referrer
- func NameLT(v string) predicate.Referrer
- func NameLTE(v string) predicate.Referrer
- func NameNEQ(v string) predicate.Referrer
- func NameNotIn(vs ...string) predicate.Referrer
- func Not(p predicate.Referrer) predicate.Referrer
- func Or(predicates ...predicate.Referrer) predicate.Referrer
- func Type(v string) predicate.Referrer
- func TypeContains(v string) predicate.Referrer
- func TypeContainsFold(v string) predicate.Referrer
- func TypeEQ(v string) predicate.Referrer
- func TypeEqualFold(v string) predicate.Referrer
- func TypeGT(v string) predicate.Referrer
- func TypeGTE(v string) predicate.Referrer
- func TypeHasPrefix(v string) predicate.Referrer
- func TypeHasSuffix(v string) predicate.Referrer
- func TypeIn(vs ...string) predicate.Referrer
- func TypeIsNil() predicate.Referrer
- func TypeLT(v string) predicate.Referrer
- func TypeLTE(v string) predicate.Referrer
- func TypeNEQ(v string) predicate.Referrer
- func TypeNotIn(vs ...string) predicate.Referrer
- func TypeNotNil() predicate.Referrer
Constants ¶
const ( // Label holds the string label denoting the referrer type in the database. Label = "referrer" // 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" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldHostname holds the string denoting the hostname field in the database. FieldHostname = "hostname" // FieldLink holds the string denoting the link field in the database. FieldLink = "link" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the referrer in the database. Table = "referrers" // EventsTable is the table the holds the events relation/edge. EventsTable = "events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // EventsColumn is the table column denoting the events relation/edge. EventsColumn = "event_referrer" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldType, FieldHostname, FieldLink, }
Columns holds all SQL columns for referrer fields.
Functions ¶
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func Hostname ¶
Hostname applies equality check predicate on the "hostname" field. It's identical to HostnameEQ.
func HostnameContains ¶
HostnameContains applies the Contains predicate on the "hostname" field.
func HostnameContainsFold ¶
HostnameContainsFold applies the ContainsFold predicate on the "hostname" field.
func HostnameEQ ¶
HostnameEQ applies the EQ predicate on the "hostname" field.
func HostnameEqualFold ¶
HostnameEqualFold applies the EqualFold predicate on the "hostname" field.
func HostnameGT ¶
HostnameGT applies the GT predicate on the "hostname" field.
func HostnameGTE ¶
HostnameGTE applies the GTE predicate on the "hostname" field.
func HostnameHasPrefix ¶
HostnameHasPrefix applies the HasPrefix predicate on the "hostname" field.
func HostnameHasSuffix ¶
HostnameHasSuffix applies the HasSuffix predicate on the "hostname" field.
func HostnameIn ¶
HostnameIn applies the In predicate on the "hostname" field.
func HostnameIsNil ¶
HostnameIsNil applies the IsNil predicate on the "hostname" field.
func HostnameLT ¶
HostnameLT applies the LT predicate on the "hostname" field.
func HostnameLTE ¶
HostnameLTE applies the LTE predicate on the "hostname" field.
func HostnameNEQ ¶
HostnameNEQ applies the NEQ predicate on the "hostname" field.
func HostnameNotIn ¶
HostnameNotIn applies the NotIn predicate on the "hostname" field.
func HostnameNotNil ¶
HostnameNotNil applies the NotNil predicate on the "hostname" field.
func LinkContains ¶
LinkContains applies the Contains predicate on the "link" field.
func LinkContainsFold ¶
LinkContainsFold applies the ContainsFold predicate on the "link" field.
func LinkEqualFold ¶
LinkEqualFold applies the EqualFold predicate on the "link" field.
func LinkHasPrefix ¶
LinkHasPrefix applies the HasPrefix predicate on the "link" field.
func LinkHasSuffix ¶
LinkHasSuffix applies the HasSuffix predicate on the "link" field.
func LinkNotNil ¶
LinkNotNil applies the NotNil predicate on the "link" 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 TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeNotNil ¶
TypeNotNil applies the NotNil predicate on the "type" field.
Types ¶
This section is empty.