connectivity

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 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

Columns holds all SQL columns for connectivity fields.

View Source
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 ID

func ID(id int) predicate.Connectivity

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Connectivity

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Connectivity

IDGT applies the GT predicate on the ID field.

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 IDLT

func IDLT(id int) predicate.Connectivity

IDLT applies the LT 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

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

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.

Jump to

Keyboard shortcuts

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