Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NetTopologyDeviceMap) predicate.NetTopologyDeviceMap
- func HasDevice() predicate.NetTopologyDeviceMap
- func HasDeviceWith(preds ...predicate.Device) predicate.NetTopologyDeviceMap
- func HasEdge() predicate.NetTopologyDeviceMap
- func HasEdgeWith(preds ...predicate.NetTopologyDeviceMap) predicate.NetTopologyDeviceMap
- func HasOnTopology() predicate.NetTopologyDeviceMap
- func HasOnTopologyWith(preds ...predicate.NetTopology) predicate.NetTopologyDeviceMap
- func ID(id int) predicate.NetTopologyDeviceMap
- func IDEQ(id int) predicate.NetTopologyDeviceMap
- func IDGT(id int) predicate.NetTopologyDeviceMap
- func IDGTE(id int) predicate.NetTopologyDeviceMap
- func IDIn(ids ...int) predicate.NetTopologyDeviceMap
- func IDLT(id int) predicate.NetTopologyDeviceMap
- func IDLTE(id int) predicate.NetTopologyDeviceMap
- func IDNEQ(id int) predicate.NetTopologyDeviceMap
- func IDNotIn(ids ...int) predicate.NetTopologyDeviceMap
- func Not(p predicate.NetTopologyDeviceMap) predicate.NetTopologyDeviceMap
- func Or(predicates ...predicate.NetTopologyDeviceMap) predicate.NetTopologyDeviceMap
- func PositionX(v int) predicate.NetTopologyDeviceMap
- func PositionXEQ(v int) predicate.NetTopologyDeviceMap
- func PositionXGT(v int) predicate.NetTopologyDeviceMap
- func PositionXGTE(v int) predicate.NetTopologyDeviceMap
- func PositionXIn(vs ...int) predicate.NetTopologyDeviceMap
- func PositionXLT(v int) predicate.NetTopologyDeviceMap
- func PositionXLTE(v int) predicate.NetTopologyDeviceMap
- func PositionXNEQ(v int) predicate.NetTopologyDeviceMap
- func PositionXNotIn(vs ...int) predicate.NetTopologyDeviceMap
- func PositionY(v int) predicate.NetTopologyDeviceMap
- func PositionYEQ(v int) predicate.NetTopologyDeviceMap
- func PositionYGT(v int) predicate.NetTopologyDeviceMap
- func PositionYGTE(v int) predicate.NetTopologyDeviceMap
- func PositionYIn(vs ...int) predicate.NetTopologyDeviceMap
- func PositionYLT(v int) predicate.NetTopologyDeviceMap
- func PositionYLTE(v int) predicate.NetTopologyDeviceMap
- func PositionYNEQ(v int) predicate.NetTopologyDeviceMap
- func PositionYNotIn(vs ...int) predicate.NetTopologyDeviceMap
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the nettopologydevicemap type in the database. Label = "net_topology_device_map" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPositionX holds the string denoting the position_x field in the database. FieldPositionX = "position_x" // FieldPositionY holds the string denoting the position_y field in the database. FieldPositionY = "position_y" // EdgeOnTopology holds the string denoting the on_topology edge name in mutations. EdgeOnTopology = "on_topology" // EdgeDevice holds the string denoting the device edge name in mutations. EdgeDevice = "device" // EdgeEdge holds the string denoting the edge edge name in mutations. EdgeEdge = "edge" // Table holds the table name of the nettopologydevicemap in the database. Table = "net_topology_device_maps" // OnTopologyTable is the table the holds the on_topology relation/edge. OnTopologyTable = "net_topology_device_maps" // OnTopologyInverseTable is the table name for the NetTopology entity. // It exists in this package in order to avoid circular dependency with the "nettopology" package. OnTopologyInverseTable = "net_topologies" // OnTopologyColumn is the table column denoting the on_topology relation/edge. OnTopologyColumn = "net_topology_topology" // DeviceTable is the table the holds the device relation/edge. DeviceTable = "net_topology_device_maps" // DeviceInverseTable is the table name for the Device entity. // It exists in this package in order to avoid circular dependency with the "device" package. DeviceInverseTable = "devices" // DeviceColumn is the table column denoting the device relation/edge. DeviceColumn = "device_in_topology" // EdgeTable is the table the holds the edge relation/edge. The primary key declared below. EdgeTable = "net_topology_device_map_edge" )
Variables ¶
var ( // DefaultPositionX holds the default value on creation for the "position_x" field. DefaultPositionX int // DefaultPositionY holds the default value on creation for the "position_y" field. DefaultPositionY int )
var Columns = []string{ FieldID, FieldPositionX, FieldPositionY, }
Columns holds all SQL columns for nettopologydevicemap fields.
var ( // EdgePrimaryKey and EdgeColumn2 are the table columns denoting the // primary key for the edge relation (M2M). EdgePrimaryKey = []string{"net_topology_device_map_id", "edge_id"} )
var ForeignKeys = []string{
"device_in_topology",
"net_topology_topology",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "net_topology_device_maps" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.NetTopologyDeviceMap) predicate.NetTopologyDeviceMap
And groups predicates with the AND operator between them.
func HasDevice ¶
func HasDevice() predicate.NetTopologyDeviceMap
HasDevice applies the HasEdge predicate on the "device" edge.
func HasDeviceWith ¶
func HasDeviceWith(preds ...predicate.Device) predicate.NetTopologyDeviceMap
HasDeviceWith applies the HasEdge predicate on the "device" edge with a given conditions (other predicates).
func HasEdge ¶
func HasEdge() predicate.NetTopologyDeviceMap
HasEdge applies the HasEdge predicate on the "edge" edge.
func HasEdgeWith ¶
func HasEdgeWith(preds ...predicate.NetTopologyDeviceMap) predicate.NetTopologyDeviceMap
HasEdgeWith applies the HasEdge predicate on the "edge" edge with a given conditions (other predicates).
func HasOnTopology ¶
func HasOnTopology() predicate.NetTopologyDeviceMap
HasOnTopology applies the HasEdge predicate on the "on_topology" edge.
func HasOnTopologyWith ¶
func HasOnTopologyWith(preds ...predicate.NetTopology) predicate.NetTopologyDeviceMap
HasOnTopologyWith applies the HasEdge predicate on the "on_topology" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.NetTopologyDeviceMap
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.NetTopologyDeviceMap
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.NetTopologyDeviceMap
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.NetTopologyDeviceMap
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.NetTopologyDeviceMap
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.NetTopologyDeviceMap
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.NetTopologyDeviceMap
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.NetTopologyDeviceMap
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.NetTopologyDeviceMap
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.NetTopologyDeviceMap) predicate.NetTopologyDeviceMap
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.NetTopologyDeviceMap) predicate.NetTopologyDeviceMap
Or groups predicates with the OR operator between them.
func PositionX ¶
func PositionX(v int) predicate.NetTopologyDeviceMap
PositionX applies equality check predicate on the "position_x" field. It's identical to PositionXEQ.
func PositionXEQ ¶
func PositionXEQ(v int) predicate.NetTopologyDeviceMap
PositionXEQ applies the EQ predicate on the "position_x" field.
func PositionXGT ¶
func PositionXGT(v int) predicate.NetTopologyDeviceMap
PositionXGT applies the GT predicate on the "position_x" field.
func PositionXGTE ¶
func PositionXGTE(v int) predicate.NetTopologyDeviceMap
PositionXGTE applies the GTE predicate on the "position_x" field.
func PositionXIn ¶
func PositionXIn(vs ...int) predicate.NetTopologyDeviceMap
PositionXIn applies the In predicate on the "position_x" field.
func PositionXLT ¶
func PositionXLT(v int) predicate.NetTopologyDeviceMap
PositionXLT applies the LT predicate on the "position_x" field.
func PositionXLTE ¶
func PositionXLTE(v int) predicate.NetTopologyDeviceMap
PositionXLTE applies the LTE predicate on the "position_x" field.
func PositionXNEQ ¶
func PositionXNEQ(v int) predicate.NetTopologyDeviceMap
PositionXNEQ applies the NEQ predicate on the "position_x" field.
func PositionXNotIn ¶
func PositionXNotIn(vs ...int) predicate.NetTopologyDeviceMap
PositionXNotIn applies the NotIn predicate on the "position_x" field.
func PositionY ¶
func PositionY(v int) predicate.NetTopologyDeviceMap
PositionY applies equality check predicate on the "position_y" field. It's identical to PositionYEQ.
func PositionYEQ ¶
func PositionYEQ(v int) predicate.NetTopologyDeviceMap
PositionYEQ applies the EQ predicate on the "position_y" field.
func PositionYGT ¶
func PositionYGT(v int) predicate.NetTopologyDeviceMap
PositionYGT applies the GT predicate on the "position_y" field.
func PositionYGTE ¶
func PositionYGTE(v int) predicate.NetTopologyDeviceMap
PositionYGTE applies the GTE predicate on the "position_y" field.
func PositionYIn ¶
func PositionYIn(vs ...int) predicate.NetTopologyDeviceMap
PositionYIn applies the In predicate on the "position_y" field.
func PositionYLT ¶
func PositionYLT(v int) predicate.NetTopologyDeviceMap
PositionYLT applies the LT predicate on the "position_y" field.
func PositionYLTE ¶
func PositionYLTE(v int) predicate.NetTopologyDeviceMap
PositionYLTE applies the LTE predicate on the "position_y" field.
func PositionYNEQ ¶
func PositionYNEQ(v int) predicate.NetTopologyDeviceMap
PositionYNEQ applies the NEQ predicate on the "position_y" field.
func PositionYNotIn ¶
func PositionYNotIn(vs ...int) predicate.NetTopologyDeviceMap
PositionYNotIn applies the NotIn predicate on the "position_y" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.