deviceplatform

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 deviceplatform type in the database.
	Label = "device_platform"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldDevicePlatformName holds the string denoting the device_platform_name field in the database.
	FieldDevicePlatformName = "device_platform_name"
	// EdgePlatforms holds the string denoting the platforms edge name in mutations.
	EdgePlatforms = "platforms"
	// Table holds the table name of the deviceplatform in the database.
	Table = "device_platforms"
	// PlatformsTable is the table the holds the platforms relation/edge.
	PlatformsTable = "devices"
	// PlatformsInverseTable is the table name for the Device entity.
	// It exists in this package in order to avoid circular dependency with the "device" package.
	PlatformsInverseTable = "devices"
	// PlatformsColumn is the table column denoting the platforms relation/edge.
	PlatformsColumn = "device_platform_platforms"
)

Variables

Columns holds all SQL columns for deviceplatform fields.

View Source
var (
	// DevicePlatformNameValidator is a validator for the "device_platform_name" field. It is called by the builders before save.
	DevicePlatformNameValidator func(string) error
)

Functions

func And

And groups predicates with the AND operator between them.

func DevicePlatformName

func DevicePlatformName(v string) predicate.DevicePlatform

DevicePlatformName applies equality check predicate on the "device_platform_name" field. It's identical to DevicePlatformNameEQ.

func DevicePlatformNameContains

func DevicePlatformNameContains(v string) predicate.DevicePlatform

DevicePlatformNameContains applies the Contains predicate on the "device_platform_name" field.

func DevicePlatformNameContainsFold

func DevicePlatformNameContainsFold(v string) predicate.DevicePlatform

DevicePlatformNameContainsFold applies the ContainsFold predicate on the "device_platform_name" field.

func DevicePlatformNameEQ

func DevicePlatformNameEQ(v string) predicate.DevicePlatform

DevicePlatformNameEQ applies the EQ predicate on the "device_platform_name" field.

func DevicePlatformNameEqualFold

func DevicePlatformNameEqualFold(v string) predicate.DevicePlatform

DevicePlatformNameEqualFold applies the EqualFold predicate on the "device_platform_name" field.

func DevicePlatformNameGT

func DevicePlatformNameGT(v string) predicate.DevicePlatform

DevicePlatformNameGT applies the GT predicate on the "device_platform_name" field.

func DevicePlatformNameGTE

func DevicePlatformNameGTE(v string) predicate.DevicePlatform

DevicePlatformNameGTE applies the GTE predicate on the "device_platform_name" field.

func DevicePlatformNameHasPrefix

func DevicePlatformNameHasPrefix(v string) predicate.DevicePlatform

DevicePlatformNameHasPrefix applies the HasPrefix predicate on the "device_platform_name" field.

func DevicePlatformNameHasSuffix

func DevicePlatformNameHasSuffix(v string) predicate.DevicePlatform

DevicePlatformNameHasSuffix applies the HasSuffix predicate on the "device_platform_name" field.

func DevicePlatformNameIn

func DevicePlatformNameIn(vs ...string) predicate.DevicePlatform

DevicePlatformNameIn applies the In predicate on the "device_platform_name" field.

func DevicePlatformNameLT

func DevicePlatformNameLT(v string) predicate.DevicePlatform

DevicePlatformNameLT applies the LT predicate on the "device_platform_name" field.

func DevicePlatformNameLTE

func DevicePlatformNameLTE(v string) predicate.DevicePlatform

DevicePlatformNameLTE applies the LTE predicate on the "device_platform_name" field.

func DevicePlatformNameNEQ

func DevicePlatformNameNEQ(v string) predicate.DevicePlatform

DevicePlatformNameNEQ applies the NEQ predicate on the "device_platform_name" field.

func DevicePlatformNameNotIn

func DevicePlatformNameNotIn(vs ...string) predicate.DevicePlatform

DevicePlatformNameNotIn applies the NotIn predicate on the "device_platform_name" field.

func HasPlatforms

func HasPlatforms() predicate.DevicePlatform

HasPlatforms applies the HasEdge predicate on the "platforms" edge.

func HasPlatformsWith

func HasPlatformsWith(preds ...predicate.Device) predicate.DevicePlatform

HasPlatformsWith applies the HasEdge predicate on the "platforms" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.DevicePlatform

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.DevicePlatform

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.DevicePlatform

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.DevicePlatform

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.DevicePlatform

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.DevicePlatform

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.DevicePlatform

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.DevicePlatform

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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