Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Device) predicate.Device
- func Device(v string) predicate.Device
- func DeviceContains(v string) predicate.Device
- func DeviceContainsFold(v string) predicate.Device
- func DeviceEQ(v string) predicate.Device
- func DeviceEqualFold(v string) predicate.Device
- func DeviceGT(v string) predicate.Device
- func DeviceGTE(v string) predicate.Device
- func DeviceHasPrefix(v string) predicate.Device
- func DeviceHasSuffix(v string) predicate.Device
- func DeviceIn(vs ...string) predicate.Device
- func DeviceLT(v string) predicate.Device
- func DeviceLTE(v string) predicate.Device
- func DeviceNEQ(v string) predicate.Device
- func DeviceNotIn(vs ...string) predicate.Device
- func ID(id int) predicate.Device
- func IDEQ(id int) predicate.Device
- func IDGT(id int) predicate.Device
- func IDGTE(id int) predicate.Device
- func IDIn(ids ...int) predicate.Device
- func IDLT(id int) predicate.Device
- func IDLTE(id int) predicate.Device
- func IDNEQ(id int) predicate.Device
- func IDNotIn(ids ...int) predicate.Device
- func Not(p predicate.Device) predicate.Device
- func Or(predicates ...predicate.Device) predicate.Device
Constants ¶
View Source
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" // FieldDevice holds the string denoting the device vertex property in the database. FieldDevice = "device" // Table holds the table name of the device in the database. Table = "devices" )
Variables ¶
View Source
var Columns = []string{ FieldID, FieldDevice, }
Columns holds all SQL columns for device fields.
Functions ¶
func Device ¶
Device applies equality check predicate on the "device" field. It's identical to DeviceEQ.
func DeviceContains ¶
DeviceContains applies the Contains predicate on the "device" field.
func DeviceContainsFold ¶
DeviceContainsFold applies the ContainsFold predicate on the "device" field.
func DeviceEqualFold ¶
DeviceEqualFold applies the EqualFold predicate on the "device" field.
func DeviceHasPrefix ¶
DeviceHasPrefix applies the HasPrefix predicate on the "device" field.
func DeviceHasSuffix ¶
DeviceHasSuffix applies the HasSuffix predicate on the "device" field.
func DeviceNotIn ¶
DeviceNotIn applies the NotIn predicate on the "device" field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.