Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Network) predicate.Network
- func HasEvents() predicate.Network
- func HasEventsWith(preds ...predicate.Event) predicate.Network
- func ID(id int) predicate.Network
- func IDEQ(id int) predicate.Network
- func IDGT(id int) predicate.Network
- func IDGTE(id int) predicate.Network
- func IDIn(ids ...int) predicate.Network
- func IDLT(id int) predicate.Network
- func IDLTE(id int) predicate.Network
- func IDNEQ(id int) predicate.Network
- func IDNotIn(ids ...int) predicate.Network
- func IP(v string) predicate.Network
- func IPContains(v string) predicate.Network
- func IPContainsFold(v string) predicate.Network
- func IPEQ(v string) predicate.Network
- func IPEqualFold(v string) predicate.Network
- func IPGT(v string) predicate.Network
- func IPGTE(v string) predicate.Network
- func IPHasPrefix(v string) predicate.Network
- func IPHasSuffix(v string) predicate.Network
- func IPIn(vs ...string) predicate.Network
- func IPLT(v string) predicate.Network
- func IPLTE(v string) predicate.Network
- func IPNEQ(v string) predicate.Network
- func IPNotIn(vs ...string) predicate.Network
- func Not(p predicate.Network) predicate.Network
- func Or(predicates ...predicate.Network) predicate.Network
- func Useragent(v string) predicate.Network
- func UseragentContains(v string) predicate.Network
- func UseragentContainsFold(v string) predicate.Network
- func UseragentEQ(v string) predicate.Network
- func UseragentEqualFold(v string) predicate.Network
- func UseragentGT(v string) predicate.Network
- func UseragentGTE(v string) predicate.Network
- func UseragentHasPrefix(v string) predicate.Network
- func UseragentHasSuffix(v string) predicate.Network
- func UseragentIn(vs ...string) predicate.Network
- func UseragentIsNil() predicate.Network
- func UseragentLT(v string) predicate.Network
- func UseragentLTE(v string) predicate.Network
- func UseragentNEQ(v string) predicate.Network
- func UseragentNotIn(vs ...string) predicate.Network
- func UseragentNotNil() predicate.Network
Constants ¶
const ( // Label holds the string label denoting the network type in the database. Label = "network" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldIP holds the string denoting the ip field in the database. FieldIP = "ip" // FieldUseragent holds the string denoting the useragent field in the database. FieldUseragent = "useragent" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the network in the database. Table = "networks" // 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_network" )
Variables ¶
var Columns = []string{ FieldID, FieldIP, FieldUseragent, }
Columns holds all SQL columns for network fields.
Functions ¶
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func IPContains ¶
IPContains applies the Contains predicate on the "ip" field.
func IPContainsFold ¶
IPContainsFold applies the ContainsFold predicate on the "ip" field.
func IPEqualFold ¶
IPEqualFold applies the EqualFold predicate on the "ip" field.
func IPHasPrefix ¶
IPHasPrefix applies the HasPrefix predicate on the "ip" field.
func IPHasSuffix ¶
IPHasSuffix applies the HasSuffix predicate on the "ip" field.
func Useragent ¶
Useragent applies equality check predicate on the "useragent" field. It's identical to UseragentEQ.
func UseragentContains ¶
UseragentContains applies the Contains predicate on the "useragent" field.
func UseragentContainsFold ¶
UseragentContainsFold applies the ContainsFold predicate on the "useragent" field.
func UseragentEQ ¶
UseragentEQ applies the EQ predicate on the "useragent" field.
func UseragentEqualFold ¶
UseragentEqualFold applies the EqualFold predicate on the "useragent" field.
func UseragentGT ¶
UseragentGT applies the GT predicate on the "useragent" field.
func UseragentGTE ¶
UseragentGTE applies the GTE predicate on the "useragent" field.
func UseragentHasPrefix ¶
UseragentHasPrefix applies the HasPrefix predicate on the "useragent" field.
func UseragentHasSuffix ¶
UseragentHasSuffix applies the HasSuffix predicate on the "useragent" field.
func UseragentIn ¶
UseragentIn applies the In predicate on the "useragent" field.
func UseragentIsNil ¶
UseragentIsNil applies the IsNil predicate on the "useragent" field.
func UseragentLT ¶
UseragentLT applies the LT predicate on the "useragent" field.
func UseragentLTE ¶
UseragentLTE applies the LTE predicate on the "useragent" field.
func UseragentNEQ ¶
UseragentNEQ applies the NEQ predicate on the "useragent" field.
func UseragentNotIn ¶
UseragentNotIn applies the NotIn predicate on the "useragent" field.
func UseragentNotNil ¶
UseragentNotNil applies the NotNil predicate on the "useragent" field.
Types ¶
This section is empty.