Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Device) predicate.Device
- func Desktop(v bool) predicate.Device
- func DesktopEQ(v bool) predicate.Device
- func DesktopIsNil() predicate.Device
- func DesktopNEQ(v bool) predicate.Device
- func DesktopNotNil() predicate.Device
- func HasEvents() predicate.Device
- func HasEventsWith(preds ...predicate.Event) predicate.Device
- func ID(id string) predicate.Device
- func IDEQ(id string) predicate.Device
- func IDGT(id string) predicate.Device
- func IDGTE(id string) predicate.Device
- func IDIn(ids ...string) predicate.Device
- func IDLT(id string) predicate.Device
- func IDLTE(id string) predicate.Device
- func IDNEQ(id string) predicate.Device
- func IDNotIn(ids ...string) predicate.Device
- func Manufacturer(v string) predicate.Device
- func ManufacturerContains(v string) predicate.Device
- func ManufacturerContainsFold(v string) predicate.Device
- func ManufacturerEQ(v string) predicate.Device
- func ManufacturerEqualFold(v string) predicate.Device
- func ManufacturerGT(v string) predicate.Device
- func ManufacturerGTE(v string) predicate.Device
- func ManufacturerHasPrefix(v string) predicate.Device
- func ManufacturerHasSuffix(v string) predicate.Device
- func ManufacturerIn(vs ...string) predicate.Device
- func ManufacturerIsNil() predicate.Device
- func ManufacturerLT(v string) predicate.Device
- func ManufacturerLTE(v string) predicate.Device
- func ManufacturerNEQ(v string) predicate.Device
- func ManufacturerNotIn(vs ...string) predicate.Device
- func ManufacturerNotNil() predicate.Device
- func Mobile(v bool) predicate.Device
- func MobileEQ(v bool) predicate.Device
- func MobileIsNil() predicate.Device
- func MobileNEQ(v bool) predicate.Device
- func MobileNotNil() predicate.Device
- func Model(v string) predicate.Device
- func ModelContains(v string) predicate.Device
- func ModelContainsFold(v string) predicate.Device
- func ModelEQ(v string) predicate.Device
- func ModelEqualFold(v string) predicate.Device
- func ModelGT(v string) predicate.Device
- func ModelGTE(v string) predicate.Device
- func ModelHasPrefix(v string) predicate.Device
- func ModelHasSuffix(v string) predicate.Device
- func ModelIn(vs ...string) predicate.Device
- func ModelIsNil() predicate.Device
- func ModelLT(v string) predicate.Device
- func ModelLTE(v string) predicate.Device
- func ModelNEQ(v string) predicate.Device
- func ModelNotIn(vs ...string) predicate.Device
- func ModelNotNil() predicate.Device
- func Name(v string) predicate.Device
- func NameContains(v string) predicate.Device
- func NameContainsFold(v string) predicate.Device
- func NameEQ(v string) predicate.Device
- func NameEqualFold(v string) predicate.Device
- func NameGT(v string) predicate.Device
- func NameGTE(v string) predicate.Device
- func NameHasPrefix(v string) predicate.Device
- func NameHasSuffix(v string) predicate.Device
- func NameIn(vs ...string) predicate.Device
- func NameIsNil() predicate.Device
- func NameLT(v string) predicate.Device
- func NameLTE(v string) predicate.Device
- func NameNEQ(v string) predicate.Device
- func NameNotIn(vs ...string) predicate.Device
- func NameNotNil() predicate.Device
- func Not(p predicate.Device) predicate.Device
- func Or(predicates ...predicate.Device) predicate.Device
- func PropertiesIsNil() predicate.Device
- func PropertiesNotNil() predicate.Device
- func Tablet(v bool) predicate.Device
- func TabletEQ(v bool) predicate.Device
- func TabletIsNil() predicate.Device
- func TabletNEQ(v bool) predicate.Device
- func TabletNotNil() predicate.Device
- func Type(v string) predicate.Device
- func TypeContains(v string) predicate.Device
- func TypeContainsFold(v string) predicate.Device
- func TypeEQ(v string) predicate.Device
- func TypeEqualFold(v string) predicate.Device
- func TypeGT(v string) predicate.Device
- func TypeGTE(v string) predicate.Device
- func TypeHasPrefix(v string) predicate.Device
- func TypeHasSuffix(v string) predicate.Device
- func TypeIn(vs ...string) predicate.Device
- func TypeIsNil() predicate.Device
- func TypeLT(v string) predicate.Device
- func TypeLTE(v string) predicate.Device
- func TypeNEQ(v string) predicate.Device
- func TypeNotIn(vs ...string) predicate.Device
- func TypeNotNil() predicate.Device
- func Version(v string) predicate.Device
- func VersionContains(v string) predicate.Device
- func VersionContainsFold(v string) predicate.Device
- func VersionEQ(v string) predicate.Device
- func VersionEqualFold(v string) predicate.Device
- func VersionGT(v string) predicate.Device
- func VersionGTE(v string) predicate.Device
- func VersionHasPrefix(v string) predicate.Device
- func VersionHasSuffix(v string) predicate.Device
- func VersionIn(vs ...string) predicate.Device
- func VersionIsNil() predicate.Device
- func VersionLT(v string) predicate.Device
- func VersionLTE(v string) predicate.Device
- func VersionNEQ(v string) predicate.Device
- func VersionNotIn(vs ...string) predicate.Device
- func VersionNotNil() predicate.Device
Constants ¶
const ( // Label holds the string label denoting the device type in the database. Label = "device" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldManufacturer holds the string denoting the manufacturer field in the database. FieldManufacturer = "manufacturer" // FieldModel holds the string denoting the model field in the database. FieldModel = "model" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldMobile holds the string denoting the mobile field in the database. FieldMobile = "mobile" // FieldTablet holds the string denoting the tablet field in the database. FieldTablet = "tablet" // FieldDesktop holds the string denoting the desktop field in the database. FieldDesktop = "desktop" // FieldProperties holds the string denoting the properties field in the database. FieldProperties = "properties" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the device in the database. Table = "devices" // EventsTable is the table the holds the events relation/edge. EventsTable = "events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // EventsColumn is the table column denoting the events relation/edge. EventsColumn = "event_device" )
Variables ¶
var Columns = []string{ FieldID, FieldManufacturer, FieldModel, FieldName, FieldType, FieldVersion, FieldMobile, FieldTablet, FieldDesktop, FieldProperties, }
Columns holds all SQL columns for device fields.
Functions ¶
func Desktop ¶
Desktop applies equality check predicate on the "desktop" field. It's identical to DesktopEQ.
func DesktopIsNil ¶
DesktopIsNil applies the IsNil predicate on the "desktop" field.
func DesktopNEQ ¶
DesktopNEQ applies the NEQ predicate on the "desktop" field.
func DesktopNotNil ¶
DesktopNotNil applies the NotNil predicate on the "desktop" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func Manufacturer ¶
Manufacturer applies equality check predicate on the "manufacturer" field. It's identical to ManufacturerEQ.
func ManufacturerContains ¶
ManufacturerContains applies the Contains predicate on the "manufacturer" field.
func ManufacturerContainsFold ¶
ManufacturerContainsFold applies the ContainsFold predicate on the "manufacturer" field.
func ManufacturerEQ ¶
ManufacturerEQ applies the EQ predicate on the "manufacturer" field.
func ManufacturerEqualFold ¶
ManufacturerEqualFold applies the EqualFold predicate on the "manufacturer" field.
func ManufacturerGT ¶
ManufacturerGT applies the GT predicate on the "manufacturer" field.
func ManufacturerGTE ¶
ManufacturerGTE applies the GTE predicate on the "manufacturer" field.
func ManufacturerHasPrefix ¶
ManufacturerHasPrefix applies the HasPrefix predicate on the "manufacturer" field.
func ManufacturerHasSuffix ¶
ManufacturerHasSuffix applies the HasSuffix predicate on the "manufacturer" field.
func ManufacturerIn ¶
ManufacturerIn applies the In predicate on the "manufacturer" field.
func ManufacturerIsNil ¶
ManufacturerIsNil applies the IsNil predicate on the "manufacturer" field.
func ManufacturerLT ¶
ManufacturerLT applies the LT predicate on the "manufacturer" field.
func ManufacturerLTE ¶
ManufacturerLTE applies the LTE predicate on the "manufacturer" field.
func ManufacturerNEQ ¶
ManufacturerNEQ applies the NEQ predicate on the "manufacturer" field.
func ManufacturerNotIn ¶
ManufacturerNotIn applies the NotIn predicate on the "manufacturer" field.
func ManufacturerNotNil ¶
ManufacturerNotNil applies the NotNil predicate on the "manufacturer" field.
func Mobile ¶
Mobile applies equality check predicate on the "mobile" field. It's identical to MobileEQ.
func MobileIsNil ¶
MobileIsNil applies the IsNil predicate on the "mobile" field.
func MobileNotNil ¶
MobileNotNil applies the NotNil predicate on the "mobile" field.
func Model ¶
Model applies equality check predicate on the "model" field. It's identical to ModelEQ.
func ModelContains ¶
ModelContains applies the Contains predicate on the "model" field.
func ModelContainsFold ¶
ModelContainsFold applies the ContainsFold predicate on the "model" field.
func ModelEqualFold ¶
ModelEqualFold applies the EqualFold predicate on the "model" field.
func ModelHasPrefix ¶
ModelHasPrefix applies the HasPrefix predicate on the "model" field.
func ModelHasSuffix ¶
ModelHasSuffix applies the HasSuffix predicate on the "model" field.
func ModelIsNil ¶
ModelIsNil applies the IsNil predicate on the "model" field.
func ModelNotIn ¶
ModelNotIn applies the NotIn predicate on the "model" field.
func ModelNotNil ¶
ModelNotNil applies the NotNil predicate on the "model" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func PropertiesIsNil ¶
PropertiesIsNil applies the IsNil predicate on the "properties" field.
func PropertiesNotNil ¶
PropertiesNotNil applies the NotNil predicate on the "properties" field.
func Tablet ¶
Tablet applies equality check predicate on the "tablet" field. It's identical to TabletEQ.
func TabletIsNil ¶
TabletIsNil applies the IsNil predicate on the "tablet" field.
func TabletNotNil ¶
TabletNotNil applies the NotNil predicate on the "tablet" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeNotNil ¶
TypeNotNil applies the NotNil predicate on the "type" field.
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEqualFold ¶
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionIsNil ¶
VersionIsNil applies the IsNil predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotNil ¶
VersionNotNil applies the NotNil predicate on the "version" field.
Types ¶
This section is empty.