Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DevicePlatform) predicate.DevicePlatform
- func DevicePlatformName(v string) predicate.DevicePlatform
- func DevicePlatformNameContains(v string) predicate.DevicePlatform
- func DevicePlatformNameContainsFold(v string) predicate.DevicePlatform
- func DevicePlatformNameEQ(v string) predicate.DevicePlatform
- func DevicePlatformNameEqualFold(v string) predicate.DevicePlatform
- func DevicePlatformNameGT(v string) predicate.DevicePlatform
- func DevicePlatformNameGTE(v string) predicate.DevicePlatform
- func DevicePlatformNameHasPrefix(v string) predicate.DevicePlatform
- func DevicePlatformNameHasSuffix(v string) predicate.DevicePlatform
- func DevicePlatformNameIn(vs ...string) predicate.DevicePlatform
- func DevicePlatformNameLT(v string) predicate.DevicePlatform
- func DevicePlatformNameLTE(v string) predicate.DevicePlatform
- func DevicePlatformNameNEQ(v string) predicate.DevicePlatform
- func DevicePlatformNameNotIn(vs ...string) predicate.DevicePlatform
- func HasPlatforms() predicate.DevicePlatform
- func HasPlatformsWith(preds ...predicate.Device) predicate.DevicePlatform
- func ID(id int) predicate.DevicePlatform
- func IDEQ(id int) predicate.DevicePlatform
- func IDGT(id int) predicate.DevicePlatform
- func IDGTE(id int) predicate.DevicePlatform
- func IDIn(ids ...int) predicate.DevicePlatform
- func IDLT(id int) predicate.DevicePlatform
- func IDLTE(id int) predicate.DevicePlatform
- func IDNEQ(id int) predicate.DevicePlatform
- func IDNotIn(ids ...int) predicate.DevicePlatform
- func Not(p predicate.DevicePlatform) predicate.DevicePlatform
- func Or(predicates ...predicate.DevicePlatform) predicate.DevicePlatform
- func ValidColumn(column string) bool
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldDevicePlatformName, }
Columns holds all SQL columns for deviceplatform fields.
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 ¶
func And(predicates ...predicate.DevicePlatform) predicate.DevicePlatform
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 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 ¶
func Not(p predicate.DevicePlatform) predicate.DevicePlatform
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DevicePlatform) predicate.DevicePlatform
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.