Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MemorySlot) predicate.MemorySlot
- func HasOwner() predicate.MemorySlot
- func HasOwnerWith(preds ...predicate.Agent) predicate.MemorySlot
- func ID(id int) predicate.MemorySlot
- func IDEQ(id int) predicate.MemorySlot
- func IDGT(id int) predicate.MemorySlot
- func IDGTE(id int) predicate.MemorySlot
- func IDIn(ids ...int) predicate.MemorySlot
- func IDLT(id int) predicate.MemorySlot
- func IDLTE(id int) predicate.MemorySlot
- func IDNEQ(id int) predicate.MemorySlot
- func IDNotIn(ids ...int) predicate.MemorySlot
- func Manufacturer(v string) predicate.MemorySlot
- func ManufacturerContains(v string) predicate.MemorySlot
- func ManufacturerContainsFold(v string) predicate.MemorySlot
- func ManufacturerEQ(v string) predicate.MemorySlot
- func ManufacturerEqualFold(v string) predicate.MemorySlot
- func ManufacturerGT(v string) predicate.MemorySlot
- func ManufacturerGTE(v string) predicate.MemorySlot
- func ManufacturerHasPrefix(v string) predicate.MemorySlot
- func ManufacturerHasSuffix(v string) predicate.MemorySlot
- func ManufacturerIn(vs ...string) predicate.MemorySlot
- func ManufacturerIsNil() predicate.MemorySlot
- func ManufacturerLT(v string) predicate.MemorySlot
- func ManufacturerLTE(v string) predicate.MemorySlot
- func ManufacturerNEQ(v string) predicate.MemorySlot
- func ManufacturerNotIn(vs ...string) predicate.MemorySlot
- func ManufacturerNotNil() predicate.MemorySlot
- func Not(p predicate.MemorySlot) predicate.MemorySlot
- func Or(predicates ...predicate.MemorySlot) predicate.MemorySlot
- func PartNumber(v string) predicate.MemorySlot
- func PartNumberContains(v string) predicate.MemorySlot
- func PartNumberContainsFold(v string) predicate.MemorySlot
- func PartNumberEQ(v string) predicate.MemorySlot
- func PartNumberEqualFold(v string) predicate.MemorySlot
- func PartNumberGT(v string) predicate.MemorySlot
- func PartNumberGTE(v string) predicate.MemorySlot
- func PartNumberHasPrefix(v string) predicate.MemorySlot
- func PartNumberHasSuffix(v string) predicate.MemorySlot
- func PartNumberIn(vs ...string) predicate.MemorySlot
- func PartNumberIsNil() predicate.MemorySlot
- func PartNumberLT(v string) predicate.MemorySlot
- func PartNumberLTE(v string) predicate.MemorySlot
- func PartNumberNEQ(v string) predicate.MemorySlot
- func PartNumberNotIn(vs ...string) predicate.MemorySlot
- func PartNumberNotNil() predicate.MemorySlot
- func SerialNumber(v string) predicate.MemorySlot
- func SerialNumberContains(v string) predicate.MemorySlot
- func SerialNumberContainsFold(v string) predicate.MemorySlot
- func SerialNumberEQ(v string) predicate.MemorySlot
- func SerialNumberEqualFold(v string) predicate.MemorySlot
- func SerialNumberGT(v string) predicate.MemorySlot
- func SerialNumberGTE(v string) predicate.MemorySlot
- func SerialNumberHasPrefix(v string) predicate.MemorySlot
- func SerialNumberHasSuffix(v string) predicate.MemorySlot
- func SerialNumberIn(vs ...string) predicate.MemorySlot
- func SerialNumberIsNil() predicate.MemorySlot
- func SerialNumberLT(v string) predicate.MemorySlot
- func SerialNumberLTE(v string) predicate.MemorySlot
- func SerialNumberNEQ(v string) predicate.MemorySlot
- func SerialNumberNotIn(vs ...string) predicate.MemorySlot
- func SerialNumberNotNil() predicate.MemorySlot
- func Size(v string) predicate.MemorySlot
- func SizeContains(v string) predicate.MemorySlot
- func SizeContainsFold(v string) predicate.MemorySlot
- func SizeEQ(v string) predicate.MemorySlot
- func SizeEqualFold(v string) predicate.MemorySlot
- func SizeGT(v string) predicate.MemorySlot
- func SizeGTE(v string) predicate.MemorySlot
- func SizeHasPrefix(v string) predicate.MemorySlot
- func SizeHasSuffix(v string) predicate.MemorySlot
- func SizeIn(vs ...string) predicate.MemorySlot
- func SizeIsNil() predicate.MemorySlot
- func SizeLT(v string) predicate.MemorySlot
- func SizeLTE(v string) predicate.MemorySlot
- func SizeNEQ(v string) predicate.MemorySlot
- func SizeNotIn(vs ...string) predicate.MemorySlot
- func SizeNotNil() predicate.MemorySlot
- func Slot(v string) predicate.MemorySlot
- func SlotContains(v string) predicate.MemorySlot
- func SlotContainsFold(v string) predicate.MemorySlot
- func SlotEQ(v string) predicate.MemorySlot
- func SlotEqualFold(v string) predicate.MemorySlot
- func SlotGT(v string) predicate.MemorySlot
- func SlotGTE(v string) predicate.MemorySlot
- func SlotHasPrefix(v string) predicate.MemorySlot
- func SlotHasSuffix(v string) predicate.MemorySlot
- func SlotIn(vs ...string) predicate.MemorySlot
- func SlotIsNil() predicate.MemorySlot
- func SlotLT(v string) predicate.MemorySlot
- func SlotLTE(v string) predicate.MemorySlot
- func SlotNEQ(v string) predicate.MemorySlot
- func SlotNotIn(vs ...string) predicate.MemorySlot
- func SlotNotNil() predicate.MemorySlot
- func Speed(v string) predicate.MemorySlot
- func SpeedContains(v string) predicate.MemorySlot
- func SpeedContainsFold(v string) predicate.MemorySlot
- func SpeedEQ(v string) predicate.MemorySlot
- func SpeedEqualFold(v string) predicate.MemorySlot
- func SpeedGT(v string) predicate.MemorySlot
- func SpeedGTE(v string) predicate.MemorySlot
- func SpeedHasPrefix(v string) predicate.MemorySlot
- func SpeedHasSuffix(v string) predicate.MemorySlot
- func SpeedIn(vs ...string) predicate.MemorySlot
- func SpeedIsNil() predicate.MemorySlot
- func SpeedLT(v string) predicate.MemorySlot
- func SpeedLTE(v string) predicate.MemorySlot
- func SpeedNEQ(v string) predicate.MemorySlot
- func SpeedNotIn(vs ...string) predicate.MemorySlot
- func SpeedNotNil() predicate.MemorySlot
- func Type(v string) predicate.MemorySlot
- func TypeContains(v string) predicate.MemorySlot
- func TypeContainsFold(v string) predicate.MemorySlot
- func TypeEQ(v string) predicate.MemorySlot
- func TypeEqualFold(v string) predicate.MemorySlot
- func TypeGT(v string) predicate.MemorySlot
- func TypeGTE(v string) predicate.MemorySlot
- func TypeHasPrefix(v string) predicate.MemorySlot
- func TypeHasSuffix(v string) predicate.MemorySlot
- func TypeIn(vs ...string) predicate.MemorySlot
- func TypeIsNil() predicate.MemorySlot
- func TypeLT(v string) predicate.MemorySlot
- func TypeLTE(v string) predicate.MemorySlot
- func TypeNEQ(v string) predicate.MemorySlot
- func TypeNotIn(vs ...string) predicate.MemorySlot
- func TypeNotNil() predicate.MemorySlot
- func ValidColumn(column string) bool
- type OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByManufacturer(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPartNumber(opts ...sql.OrderTermOption) OrderOption
- func BySerialNumber(opts ...sql.OrderTermOption) OrderOption
- func BySize(opts ...sql.OrderTermOption) OrderOption
- func BySlot(opts ...sql.OrderTermOption) OrderOption
- func BySpeed(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the memoryslot type in the database. Label = "memory_slot" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSlot holds the string denoting the slot field in the database. FieldSlot = "slot" // FieldSize holds the string denoting the size field in the database. FieldSize = "size" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldSerialNumber holds the string denoting the serial_number field in the database. FieldSerialNumber = "serial_number" // FieldPartNumber holds the string denoting the part_number field in the database. FieldPartNumber = "part_number" // FieldSpeed holds the string denoting the speed field in the database. FieldSpeed = "speed" // FieldManufacturer holds the string denoting the manufacturer field in the database. FieldManufacturer = "manufacturer" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // AgentFieldID holds the string denoting the ID field of the Agent. AgentFieldID = "oid" // Table holds the table name of the memoryslot in the database. Table = "memory_slots" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "memory_slots" // OwnerInverseTable is the table name for the Agent entity. // It exists in this package in order to avoid circular dependency with the "agent" package. OwnerInverseTable = "agents" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "agent_memoryslots" )
Variables ¶
var Columns = []string{ FieldID, FieldSlot, FieldSize, FieldType, FieldSerialNumber, FieldPartNumber, FieldSpeed, FieldManufacturer, }
Columns holds all SQL columns for memoryslot fields.
var ForeignKeys = []string{
"agent_memoryslots",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "memory_slots" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.MemorySlot) predicate.MemorySlot
And groups predicates with the AND operator between them.
func HasOwner ¶
func HasOwner() predicate.MemorySlot
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Agent) predicate.MemorySlot
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.MemorySlot
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.MemorySlot
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.MemorySlot
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.MemorySlot
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.MemorySlot
IDNotIn applies the NotIn predicate on the ID field.
func Manufacturer ¶
func Manufacturer(v string) predicate.MemorySlot
Manufacturer applies equality check predicate on the "manufacturer" field. It's identical to ManufacturerEQ.
func ManufacturerContains ¶
func ManufacturerContains(v string) predicate.MemorySlot
ManufacturerContains applies the Contains predicate on the "manufacturer" field.
func ManufacturerContainsFold ¶
func ManufacturerContainsFold(v string) predicate.MemorySlot
ManufacturerContainsFold applies the ContainsFold predicate on the "manufacturer" field.
func ManufacturerEQ ¶
func ManufacturerEQ(v string) predicate.MemorySlot
ManufacturerEQ applies the EQ predicate on the "manufacturer" field.
func ManufacturerEqualFold ¶
func ManufacturerEqualFold(v string) predicate.MemorySlot
ManufacturerEqualFold applies the EqualFold predicate on the "manufacturer" field.
func ManufacturerGT ¶
func ManufacturerGT(v string) predicate.MemorySlot
ManufacturerGT applies the GT predicate on the "manufacturer" field.
func ManufacturerGTE ¶
func ManufacturerGTE(v string) predicate.MemorySlot
ManufacturerGTE applies the GTE predicate on the "manufacturer" field.
func ManufacturerHasPrefix ¶
func ManufacturerHasPrefix(v string) predicate.MemorySlot
ManufacturerHasPrefix applies the HasPrefix predicate on the "manufacturer" field.
func ManufacturerHasSuffix ¶
func ManufacturerHasSuffix(v string) predicate.MemorySlot
ManufacturerHasSuffix applies the HasSuffix predicate on the "manufacturer" field.
func ManufacturerIn ¶
func ManufacturerIn(vs ...string) predicate.MemorySlot
ManufacturerIn applies the In predicate on the "manufacturer" field.
func ManufacturerIsNil ¶
func ManufacturerIsNil() predicate.MemorySlot
ManufacturerIsNil applies the IsNil predicate on the "manufacturer" field.
func ManufacturerLT ¶
func ManufacturerLT(v string) predicate.MemorySlot
ManufacturerLT applies the LT predicate on the "manufacturer" field.
func ManufacturerLTE ¶
func ManufacturerLTE(v string) predicate.MemorySlot
ManufacturerLTE applies the LTE predicate on the "manufacturer" field.
func ManufacturerNEQ ¶
func ManufacturerNEQ(v string) predicate.MemorySlot
ManufacturerNEQ applies the NEQ predicate on the "manufacturer" field.
func ManufacturerNotIn ¶
func ManufacturerNotIn(vs ...string) predicate.MemorySlot
ManufacturerNotIn applies the NotIn predicate on the "manufacturer" field.
func ManufacturerNotNil ¶
func ManufacturerNotNil() predicate.MemorySlot
ManufacturerNotNil applies the NotNil predicate on the "manufacturer" field.
func Not ¶
func Not(p predicate.MemorySlot) predicate.MemorySlot
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MemorySlot) predicate.MemorySlot
Or groups predicates with the OR operator between them.
func PartNumber ¶
func PartNumber(v string) predicate.MemorySlot
PartNumber applies equality check predicate on the "part_number" field. It's identical to PartNumberEQ.
func PartNumberContains ¶
func PartNumberContains(v string) predicate.MemorySlot
PartNumberContains applies the Contains predicate on the "part_number" field.
func PartNumberContainsFold ¶
func PartNumberContainsFold(v string) predicate.MemorySlot
PartNumberContainsFold applies the ContainsFold predicate on the "part_number" field.
func PartNumberEQ ¶
func PartNumberEQ(v string) predicate.MemorySlot
PartNumberEQ applies the EQ predicate on the "part_number" field.
func PartNumberEqualFold ¶
func PartNumberEqualFold(v string) predicate.MemorySlot
PartNumberEqualFold applies the EqualFold predicate on the "part_number" field.
func PartNumberGT ¶
func PartNumberGT(v string) predicate.MemorySlot
PartNumberGT applies the GT predicate on the "part_number" field.
func PartNumberGTE ¶
func PartNumberGTE(v string) predicate.MemorySlot
PartNumberGTE applies the GTE predicate on the "part_number" field.
func PartNumberHasPrefix ¶
func PartNumberHasPrefix(v string) predicate.MemorySlot
PartNumberHasPrefix applies the HasPrefix predicate on the "part_number" field.
func PartNumberHasSuffix ¶
func PartNumberHasSuffix(v string) predicate.MemorySlot
PartNumberHasSuffix applies the HasSuffix predicate on the "part_number" field.
func PartNumberIn ¶
func PartNumberIn(vs ...string) predicate.MemorySlot
PartNumberIn applies the In predicate on the "part_number" field.
func PartNumberIsNil ¶
func PartNumberIsNil() predicate.MemorySlot
PartNumberIsNil applies the IsNil predicate on the "part_number" field.
func PartNumberLT ¶
func PartNumberLT(v string) predicate.MemorySlot
PartNumberLT applies the LT predicate on the "part_number" field.
func PartNumberLTE ¶
func PartNumberLTE(v string) predicate.MemorySlot
PartNumberLTE applies the LTE predicate on the "part_number" field.
func PartNumberNEQ ¶
func PartNumberNEQ(v string) predicate.MemorySlot
PartNumberNEQ applies the NEQ predicate on the "part_number" field.
func PartNumberNotIn ¶
func PartNumberNotIn(vs ...string) predicate.MemorySlot
PartNumberNotIn applies the NotIn predicate on the "part_number" field.
func PartNumberNotNil ¶
func PartNumberNotNil() predicate.MemorySlot
PartNumberNotNil applies the NotNil predicate on the "part_number" field.
func SerialNumber ¶
func SerialNumber(v string) predicate.MemorySlot
SerialNumber applies equality check predicate on the "serial_number" field. It's identical to SerialNumberEQ.
func SerialNumberContains ¶
func SerialNumberContains(v string) predicate.MemorySlot
SerialNumberContains applies the Contains predicate on the "serial_number" field.
func SerialNumberContainsFold ¶
func SerialNumberContainsFold(v string) predicate.MemorySlot
SerialNumberContainsFold applies the ContainsFold predicate on the "serial_number" field.
func SerialNumberEQ ¶
func SerialNumberEQ(v string) predicate.MemorySlot
SerialNumberEQ applies the EQ predicate on the "serial_number" field.
func SerialNumberEqualFold ¶
func SerialNumberEqualFold(v string) predicate.MemorySlot
SerialNumberEqualFold applies the EqualFold predicate on the "serial_number" field.
func SerialNumberGT ¶
func SerialNumberGT(v string) predicate.MemorySlot
SerialNumberGT applies the GT predicate on the "serial_number" field.
func SerialNumberGTE ¶
func SerialNumberGTE(v string) predicate.MemorySlot
SerialNumberGTE applies the GTE predicate on the "serial_number" field.
func SerialNumberHasPrefix ¶
func SerialNumberHasPrefix(v string) predicate.MemorySlot
SerialNumberHasPrefix applies the HasPrefix predicate on the "serial_number" field.
func SerialNumberHasSuffix ¶
func SerialNumberHasSuffix(v string) predicate.MemorySlot
SerialNumberHasSuffix applies the HasSuffix predicate on the "serial_number" field.
func SerialNumberIn ¶
func SerialNumberIn(vs ...string) predicate.MemorySlot
SerialNumberIn applies the In predicate on the "serial_number" field.
func SerialNumberIsNil ¶
func SerialNumberIsNil() predicate.MemorySlot
SerialNumberIsNil applies the IsNil predicate on the "serial_number" field.
func SerialNumberLT ¶
func SerialNumberLT(v string) predicate.MemorySlot
SerialNumberLT applies the LT predicate on the "serial_number" field.
func SerialNumberLTE ¶
func SerialNumberLTE(v string) predicate.MemorySlot
SerialNumberLTE applies the LTE predicate on the "serial_number" field.
func SerialNumberNEQ ¶
func SerialNumberNEQ(v string) predicate.MemorySlot
SerialNumberNEQ applies the NEQ predicate on the "serial_number" field.
func SerialNumberNotIn ¶
func SerialNumberNotIn(vs ...string) predicate.MemorySlot
SerialNumberNotIn applies the NotIn predicate on the "serial_number" field.
func SerialNumberNotNil ¶
func SerialNumberNotNil() predicate.MemorySlot
SerialNumberNotNil applies the NotNil predicate on the "serial_number" field.
func Size ¶
func Size(v string) predicate.MemorySlot
Size applies equality check predicate on the "size" field. It's identical to SizeEQ.
func SizeContains ¶
func SizeContains(v string) predicate.MemorySlot
SizeContains applies the Contains predicate on the "size" field.
func SizeContainsFold ¶
func SizeContainsFold(v string) predicate.MemorySlot
SizeContainsFold applies the ContainsFold predicate on the "size" field.
func SizeEQ ¶
func SizeEQ(v string) predicate.MemorySlot
SizeEQ applies the EQ predicate on the "size" field.
func SizeEqualFold ¶
func SizeEqualFold(v string) predicate.MemorySlot
SizeEqualFold applies the EqualFold predicate on the "size" field.
func SizeGT ¶
func SizeGT(v string) predicate.MemorySlot
SizeGT applies the GT predicate on the "size" field.
func SizeGTE ¶
func SizeGTE(v string) predicate.MemorySlot
SizeGTE applies the GTE predicate on the "size" field.
func SizeHasPrefix ¶
func SizeHasPrefix(v string) predicate.MemorySlot
SizeHasPrefix applies the HasPrefix predicate on the "size" field.
func SizeHasSuffix ¶
func SizeHasSuffix(v string) predicate.MemorySlot
SizeHasSuffix applies the HasSuffix predicate on the "size" field.
func SizeIn ¶
func SizeIn(vs ...string) predicate.MemorySlot
SizeIn applies the In predicate on the "size" field.
func SizeIsNil ¶
func SizeIsNil() predicate.MemorySlot
SizeIsNil applies the IsNil predicate on the "size" field.
func SizeLT ¶
func SizeLT(v string) predicate.MemorySlot
SizeLT applies the LT predicate on the "size" field.
func SizeLTE ¶
func SizeLTE(v string) predicate.MemorySlot
SizeLTE applies the LTE predicate on the "size" field.
func SizeNEQ ¶
func SizeNEQ(v string) predicate.MemorySlot
SizeNEQ applies the NEQ predicate on the "size" field.
func SizeNotIn ¶
func SizeNotIn(vs ...string) predicate.MemorySlot
SizeNotIn applies the NotIn predicate on the "size" field.
func SizeNotNil ¶
func SizeNotNil() predicate.MemorySlot
SizeNotNil applies the NotNil predicate on the "size" field.
func Slot ¶
func Slot(v string) predicate.MemorySlot
Slot applies equality check predicate on the "slot" field. It's identical to SlotEQ.
func SlotContains ¶
func SlotContains(v string) predicate.MemorySlot
SlotContains applies the Contains predicate on the "slot" field.
func SlotContainsFold ¶
func SlotContainsFold(v string) predicate.MemorySlot
SlotContainsFold applies the ContainsFold predicate on the "slot" field.
func SlotEQ ¶
func SlotEQ(v string) predicate.MemorySlot
SlotEQ applies the EQ predicate on the "slot" field.
func SlotEqualFold ¶
func SlotEqualFold(v string) predicate.MemorySlot
SlotEqualFold applies the EqualFold predicate on the "slot" field.
func SlotGT ¶
func SlotGT(v string) predicate.MemorySlot
SlotGT applies the GT predicate on the "slot" field.
func SlotGTE ¶
func SlotGTE(v string) predicate.MemorySlot
SlotGTE applies the GTE predicate on the "slot" field.
func SlotHasPrefix ¶
func SlotHasPrefix(v string) predicate.MemorySlot
SlotHasPrefix applies the HasPrefix predicate on the "slot" field.
func SlotHasSuffix ¶
func SlotHasSuffix(v string) predicate.MemorySlot
SlotHasSuffix applies the HasSuffix predicate on the "slot" field.
func SlotIn ¶
func SlotIn(vs ...string) predicate.MemorySlot
SlotIn applies the In predicate on the "slot" field.
func SlotIsNil ¶
func SlotIsNil() predicate.MemorySlot
SlotIsNil applies the IsNil predicate on the "slot" field.
func SlotLT ¶
func SlotLT(v string) predicate.MemorySlot
SlotLT applies the LT predicate on the "slot" field.
func SlotLTE ¶
func SlotLTE(v string) predicate.MemorySlot
SlotLTE applies the LTE predicate on the "slot" field.
func SlotNEQ ¶
func SlotNEQ(v string) predicate.MemorySlot
SlotNEQ applies the NEQ predicate on the "slot" field.
func SlotNotIn ¶
func SlotNotIn(vs ...string) predicate.MemorySlot
SlotNotIn applies the NotIn predicate on the "slot" field.
func SlotNotNil ¶
func SlotNotNil() predicate.MemorySlot
SlotNotNil applies the NotNil predicate on the "slot" field.
func Speed ¶
func Speed(v string) predicate.MemorySlot
Speed applies equality check predicate on the "speed" field. It's identical to SpeedEQ.
func SpeedContains ¶
func SpeedContains(v string) predicate.MemorySlot
SpeedContains applies the Contains predicate on the "speed" field.
func SpeedContainsFold ¶
func SpeedContainsFold(v string) predicate.MemorySlot
SpeedContainsFold applies the ContainsFold predicate on the "speed" field.
func SpeedEQ ¶
func SpeedEQ(v string) predicate.MemorySlot
SpeedEQ applies the EQ predicate on the "speed" field.
func SpeedEqualFold ¶
func SpeedEqualFold(v string) predicate.MemorySlot
SpeedEqualFold applies the EqualFold predicate on the "speed" field.
func SpeedGT ¶
func SpeedGT(v string) predicate.MemorySlot
SpeedGT applies the GT predicate on the "speed" field.
func SpeedGTE ¶
func SpeedGTE(v string) predicate.MemorySlot
SpeedGTE applies the GTE predicate on the "speed" field.
func SpeedHasPrefix ¶
func SpeedHasPrefix(v string) predicate.MemorySlot
SpeedHasPrefix applies the HasPrefix predicate on the "speed" field.
func SpeedHasSuffix ¶
func SpeedHasSuffix(v string) predicate.MemorySlot
SpeedHasSuffix applies the HasSuffix predicate on the "speed" field.
func SpeedIn ¶
func SpeedIn(vs ...string) predicate.MemorySlot
SpeedIn applies the In predicate on the "speed" field.
func SpeedIsNil ¶
func SpeedIsNil() predicate.MemorySlot
SpeedIsNil applies the IsNil predicate on the "speed" field.
func SpeedLT ¶
func SpeedLT(v string) predicate.MemorySlot
SpeedLT applies the LT predicate on the "speed" field.
func SpeedLTE ¶
func SpeedLTE(v string) predicate.MemorySlot
SpeedLTE applies the LTE predicate on the "speed" field.
func SpeedNEQ ¶
func SpeedNEQ(v string) predicate.MemorySlot
SpeedNEQ applies the NEQ predicate on the "speed" field.
func SpeedNotIn ¶
func SpeedNotIn(vs ...string) predicate.MemorySlot
SpeedNotIn applies the NotIn predicate on the "speed" field.
func SpeedNotNil ¶
func SpeedNotNil() predicate.MemorySlot
SpeedNotNil applies the NotNil predicate on the "speed" field.
func Type ¶
func Type(v string) predicate.MemorySlot
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeContains ¶
func TypeContains(v string) predicate.MemorySlot
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
func TypeContainsFold(v string) predicate.MemorySlot
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEQ ¶
func TypeEQ(v string) predicate.MemorySlot
TypeEQ applies the EQ predicate on the "type" field.
func TypeEqualFold ¶
func TypeEqualFold(v string) predicate.MemorySlot
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeGT ¶
func TypeGT(v string) predicate.MemorySlot
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v string) predicate.MemorySlot
TypeGTE applies the GTE predicate on the "type" field.
func TypeHasPrefix ¶
func TypeHasPrefix(v string) predicate.MemorySlot
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
func TypeHasSuffix(v string) predicate.MemorySlot
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...string) predicate.MemorySlot
TypeIn applies the In predicate on the "type" field.
func TypeIsNil ¶
func TypeIsNil() predicate.MemorySlot
TypeIsNil applies the IsNil predicate on the "type" field.
func TypeLT ¶
func TypeLT(v string) predicate.MemorySlot
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v string) predicate.MemorySlot
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v string) predicate.MemorySlot
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...string) predicate.MemorySlot
TypeNotIn applies the NotIn predicate on the "type" field.
func TypeNotNil ¶
func TypeNotNil() predicate.MemorySlot
TypeNotNil applies the NotNil predicate on the "type" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the MemorySlot queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByManufacturer ¶
func ByManufacturer(opts ...sql.OrderTermOption) OrderOption
ByManufacturer orders the results by the manufacturer field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByPartNumber ¶
func ByPartNumber(opts ...sql.OrderTermOption) OrderOption
ByPartNumber orders the results by the part_number field.
func BySerialNumber ¶
func BySerialNumber(opts ...sql.OrderTermOption) OrderOption
BySerialNumber orders the results by the serial_number field.
func BySize ¶
func BySize(opts ...sql.OrderTermOption) OrderOption
BySize orders the results by the size field.
func BySlot ¶
func BySlot(opts ...sql.OrderTermOption) OrderOption
BySlot orders the results by the slot field.
func BySpeed ¶
func BySpeed(opts ...sql.OrderTermOption) OrderOption
BySpeed orders the results by the speed field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.