deletedvlanlog

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

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

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

Columns holds all SQL columns for deletedvlanlog fields.

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

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 ID

ID filters vertices based on their ID field.

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

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.

Jump to

Keyboard shortcuts

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