Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Connectivity) predicate.Connectivity
- func Bluetooth(v bool) predicate.Connectivity
- func BluetoothEQ(v bool) predicate.Connectivity
- func BluetoothNEQ(v bool) predicate.Connectivity
- func Carrier(v bool) predicate.Connectivity
- func CarrierEQ(v bool) predicate.Connectivity
- func CarrierNEQ(v bool) predicate.Connectivity
- func Cellular(v bool) predicate.Connectivity
- func CellularEQ(v bool) predicate.Connectivity
- func CellularNEQ(v bool) predicate.Connectivity
- func Ethernet(v bool) predicate.Connectivity
- func EthernetEQ(v bool) predicate.Connectivity
- func EthernetNEQ(v bool) predicate.Connectivity
- func HasEvent() predicate.Connectivity
- func HasEventWith(preds ...predicate.Event) predicate.Connectivity
- func ID(id int) predicate.Connectivity
- func IDEQ(id int) predicate.Connectivity
- func IDGT(id int) predicate.Connectivity
- func IDGTE(id int) predicate.Connectivity
- func IDIn(ids ...int) predicate.Connectivity
- func IDLT(id int) predicate.Connectivity
- func IDLTE(id int) predicate.Connectivity
- func IDNEQ(id int) predicate.Connectivity
- func IDNotIn(ids ...int) predicate.Connectivity
- func Isp(v bool) predicate.Connectivity
- func IspEQ(v bool) predicate.Connectivity
- func IspNEQ(v bool) predicate.Connectivity
- func Not(p predicate.Connectivity) predicate.Connectivity
- func Or(predicates ...predicate.Connectivity) predicate.Connectivity
- func Wifi(v bool) predicate.Connectivity
- func WifiEQ(v bool) predicate.Connectivity
- func WifiNEQ(v bool) predicate.Connectivity
Constants ¶
const ( // Label holds the string label denoting the connectivity type in the database. Label = "connectivity" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldBluetooth holds the string denoting the bluetooth field in the database. FieldBluetooth = "bluetooth" // FieldCellular holds the string denoting the cellular field in the database. FieldCellular = "cellular" // FieldWifi holds the string denoting the wifi field in the database. FieldWifi = "wifi" // FieldEthernet holds the string denoting the ethernet field in the database. FieldEthernet = "ethernet" // FieldCarrier holds the string denoting the carrier field in the database. FieldCarrier = "carrier" // FieldIsp holds the string denoting the isp field in the database. FieldIsp = "isp" // EdgeEvent holds the string denoting the event edge name in mutations. EdgeEvent = "event" // Table holds the table name of the connectivity in the database. Table = "connectivities" // EventTable is the table the holds the event relation/edge. EventTable = "connectivities" // 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_connectivity" )
Variables ¶
var Columns = []string{ FieldID, FieldBluetooth, FieldCellular, FieldWifi, FieldEthernet, FieldCarrier, FieldIsp, }
Columns holds all SQL columns for connectivity fields.
var ForeignKeys = []string{
"event_connectivity",
}
ForeignKeys holds the SQL foreign-keys that are owned by the Connectivity type.
Functions ¶
func And ¶
func And(predicates ...predicate.Connectivity) predicate.Connectivity
And groups list of predicates with the AND operator between them.
func Bluetooth ¶
func Bluetooth(v bool) predicate.Connectivity
Bluetooth applies equality check predicate on the "bluetooth" field. It's identical to BluetoothEQ.
func BluetoothEQ ¶
func BluetoothEQ(v bool) predicate.Connectivity
BluetoothEQ applies the EQ predicate on the "bluetooth" field.
func BluetoothNEQ ¶
func BluetoothNEQ(v bool) predicate.Connectivity
BluetoothNEQ applies the NEQ predicate on the "bluetooth" field.
func Carrier ¶
func Carrier(v bool) predicate.Connectivity
Carrier applies equality check predicate on the "carrier" field. It's identical to CarrierEQ.
func CarrierEQ ¶
func CarrierEQ(v bool) predicate.Connectivity
CarrierEQ applies the EQ predicate on the "carrier" field.
func CarrierNEQ ¶
func CarrierNEQ(v bool) predicate.Connectivity
CarrierNEQ applies the NEQ predicate on the "carrier" field.
func Cellular ¶
func Cellular(v bool) predicate.Connectivity
Cellular applies equality check predicate on the "cellular" field. It's identical to CellularEQ.
func CellularEQ ¶
func CellularEQ(v bool) predicate.Connectivity
CellularEQ applies the EQ predicate on the "cellular" field.
func CellularNEQ ¶
func CellularNEQ(v bool) predicate.Connectivity
CellularNEQ applies the NEQ predicate on the "cellular" field.
func Ethernet ¶
func Ethernet(v bool) predicate.Connectivity
Ethernet applies equality check predicate on the "ethernet" field. It's identical to EthernetEQ.
func EthernetEQ ¶
func EthernetEQ(v bool) predicate.Connectivity
EthernetEQ applies the EQ predicate on the "ethernet" field.
func EthernetNEQ ¶
func EthernetNEQ(v bool) predicate.Connectivity
EthernetNEQ applies the NEQ predicate on the "ethernet" field.
func HasEvent ¶
func HasEvent() predicate.Connectivity
HasEvent applies the HasEdge predicate on the "event" edge.
func HasEventWith ¶
func HasEventWith(preds ...predicate.Event) predicate.Connectivity
HasEventWith applies the HasEdge predicate on the "event" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.Connectivity
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.Connectivity
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.Connectivity
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.Connectivity
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.Connectivity
IDNotIn applies the NotIn predicate on the ID field.
func Isp ¶
func Isp(v bool) predicate.Connectivity
Isp applies equality check predicate on the "isp" field. It's identical to IspEQ.
func IspEQ ¶
func IspEQ(v bool) predicate.Connectivity
IspEQ applies the EQ predicate on the "isp" field.
func IspNEQ ¶
func IspNEQ(v bool) predicate.Connectivity
IspNEQ applies the NEQ predicate on the "isp" field.
func Not ¶
func Not(p predicate.Connectivity) predicate.Connectivity
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Connectivity) predicate.Connectivity
Or groups list of predicates with the OR operator between them.
func Wifi ¶
func Wifi(v bool) predicate.Connectivity
Wifi applies equality check predicate on the "wifi" field. It's identical to WifiEQ.
func WifiEQ ¶
func WifiEQ(v bool) predicate.Connectivity
WifiEQ applies the EQ predicate on the "wifi" field.
func WifiNEQ ¶
func WifiNEQ(v bool) predicate.Connectivity
WifiNEQ applies the NEQ predicate on the "wifi" field.
Types ¶
This section is empty.