Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DeletedVlanLog) predicate.DeletedVlanLog
- func Deleted(v bool) predicate.DeletedVlanLog
- func DeletedEQ(v bool) predicate.DeletedVlanLog
- func DeletedNEQ(v bool) predicate.DeletedVlanLog
- func HasOnDevice() predicate.DeletedVlanLog
- func HasOnDeviceWith(preds ...predicate.Device) predicate.DeletedVlanLog
- func ID(id int) predicate.DeletedVlanLog
- func IDEQ(id int) predicate.DeletedVlanLog
- func IDGT(id int) predicate.DeletedVlanLog
- func IDGTE(id int) predicate.DeletedVlanLog
- func IDIn(ids ...int) predicate.DeletedVlanLog
- func IDLT(id int) predicate.DeletedVlanLog
- func IDLTE(id int) predicate.DeletedVlanLog
- func IDNEQ(id int) predicate.DeletedVlanLog
- func IDNotIn(ids ...int) predicate.DeletedVlanLog
- func Not(p predicate.DeletedVlanLog) predicate.DeletedVlanLog
- func Or(predicates ...predicate.DeletedVlanLog) predicate.DeletedVlanLog
- func ValidColumn(column string) bool
- func VlanID(v int) predicate.DeletedVlanLog
- func VlanIDEQ(v int) predicate.DeletedVlanLog
- func VlanIDGT(v int) predicate.DeletedVlanLog
- func VlanIDGTE(v int) predicate.DeletedVlanLog
- func VlanIDIn(vs ...int) predicate.DeletedVlanLog
- func VlanIDLT(v int) predicate.DeletedVlanLog
- func VlanIDLTE(v int) predicate.DeletedVlanLog
- func VlanIDNEQ(v int) predicate.DeletedVlanLog
- func VlanIDNotIn(vs ...int) predicate.DeletedVlanLog
Constants ¶
const ( // Label holds the string label denoting the deletedvlanlog type in the database. Label = "deleted_vlan_log" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldVlanID holds the string denoting the vlan_id field in the database. FieldVlanID = "vlan_id" // FieldDeleted holds the string denoting the deleted field in the database. FieldDeleted = "deleted" // EdgeOnDevice holds the string denoting the on_device edge name in mutations. EdgeOnDevice = "on_device" // Table holds the table name of the deletedvlanlog in the database. Table = "deleted_vlan_logs" // OnDeviceTable is the table the holds the on_device relation/edge. OnDeviceTable = "deleted_vlan_logs" // OnDeviceInverseTable is the table name for the Device entity. // It exists in this package in order to avoid circular dependency with the "device" package. OnDeviceInverseTable = "devices" // OnDeviceColumn is the table column denoting the on_device relation/edge. OnDeviceColumn = "device_deleted_vlans" )
Variables ¶
var ( // VlanIDValidator is a validator for the "vlan_id" field. It is called by the builders before save. VlanIDValidator func(int) error // DefaultDeleted holds the default value on creation for the "deleted" field. DefaultDeleted bool )
var Columns = []string{ FieldID, FieldVlanID, FieldDeleted, }
Columns holds all SQL columns for deletedvlanlog fields.
var ForeignKeys = []string{
"device_deleted_vlans",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "deleted_vlan_logs" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.DeletedVlanLog) predicate.DeletedVlanLog
And groups predicates with the AND operator between them.
func Deleted ¶
func Deleted(v bool) predicate.DeletedVlanLog
Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.
func DeletedEQ ¶
func DeletedEQ(v bool) predicate.DeletedVlanLog
DeletedEQ applies the EQ predicate on the "deleted" field.
func DeletedNEQ ¶
func DeletedNEQ(v bool) predicate.DeletedVlanLog
DeletedNEQ applies the NEQ predicate on the "deleted" field.
func HasOnDevice ¶
func HasOnDevice() predicate.DeletedVlanLog
HasOnDevice applies the HasEdge predicate on the "on_device" edge.
func HasOnDeviceWith ¶
func HasOnDeviceWith(preds ...predicate.Device) predicate.DeletedVlanLog
HasOnDeviceWith applies the HasEdge predicate on the "on_device" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.DeletedVlanLog
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.DeletedVlanLog
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.DeletedVlanLog
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.DeletedVlanLog
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.DeletedVlanLog
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.DeletedVlanLog
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.DeletedVlanLog
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.DeletedVlanLog
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.DeletedVlanLog) predicate.DeletedVlanLog
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DeletedVlanLog) predicate.DeletedVlanLog
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VlanID ¶
func VlanID(v int) predicate.DeletedVlanLog
VlanID applies equality check predicate on the "vlan_id" field. It's identical to VlanIDEQ.
func VlanIDEQ ¶
func VlanIDEQ(v int) predicate.DeletedVlanLog
VlanIDEQ applies the EQ predicate on the "vlan_id" field.
func VlanIDGT ¶
func VlanIDGT(v int) predicate.DeletedVlanLog
VlanIDGT applies the GT predicate on the "vlan_id" field.
func VlanIDGTE ¶
func VlanIDGTE(v int) predicate.DeletedVlanLog
VlanIDGTE applies the GTE predicate on the "vlan_id" field.
func VlanIDIn ¶
func VlanIDIn(vs ...int) predicate.DeletedVlanLog
VlanIDIn applies the In predicate on the "vlan_id" field.
func VlanIDLT ¶
func VlanIDLT(v int) predicate.DeletedVlanLog
VlanIDLT applies the LT predicate on the "vlan_id" field.
func VlanIDLTE ¶
func VlanIDLTE(v int) predicate.DeletedVlanLog
VlanIDLTE applies the LTE predicate on the "vlan_id" field.
func VlanIDNEQ ¶
func VlanIDNEQ(v int) predicate.DeletedVlanLog
VlanIDNEQ applies the NEQ predicate on the "vlan_id" field.
func VlanIDNotIn ¶
func VlanIDNotIn(vs ...int) predicate.DeletedVlanLog
VlanIDNotIn applies the NotIn predicate on the "vlan_id" field.
Types ¶
This section is empty.