Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Device) predicate.Device
- func CreatedAt(v time.Time) predicate.Device
- func CreatedAtEQ(v time.Time) predicate.Device
- func CreatedAtGT(v time.Time) predicate.Device
- func CreatedAtGTE(v time.Time) predicate.Device
- func CreatedAtIn(vs ...time.Time) predicate.Device
- func CreatedAtLT(v time.Time) predicate.Device
- func CreatedAtLTE(v time.Time) predicate.Device
- func CreatedAtNEQ(v time.Time) predicate.Device
- func CreatedAtNotIn(vs ...time.Time) predicate.Device
- func DeviceName(v string) predicate.Device
- func DeviceNameContains(v string) predicate.Device
- func DeviceNameContainsFold(v string) predicate.Device
- func DeviceNameEQ(v string) predicate.Device
- func DeviceNameEqualFold(v string) predicate.Device
- func DeviceNameGT(v string) predicate.Device
- func DeviceNameGTE(v string) predicate.Device
- func DeviceNameHasPrefix(v string) predicate.Device
- func DeviceNameHasSuffix(v string) predicate.Device
- func DeviceNameIn(vs ...string) predicate.Device
- func DeviceNameLT(v string) predicate.Device
- func DeviceNameLTE(v string) predicate.Device
- func DeviceNameNEQ(v string) predicate.Device
- func DeviceNameNotIn(vs ...string) predicate.Device
- func DeviceSecret(v string) predicate.Device
- func DeviceSecretContains(v string) predicate.Device
- func DeviceSecretContainsFold(v string) predicate.Device
- func DeviceSecretEQ(v string) predicate.Device
- func DeviceSecretEqualFold(v string) predicate.Device
- func DeviceSecretGT(v string) predicate.Device
- func DeviceSecretGTE(v string) predicate.Device
- func DeviceSecretHasPrefix(v string) predicate.Device
- func DeviceSecretHasSuffix(v string) predicate.Device
- func DeviceSecretIn(vs ...string) predicate.Device
- func DeviceSecretIsNil() predicate.Device
- func DeviceSecretLT(v string) predicate.Device
- func DeviceSecretLTE(v string) predicate.Device
- func DeviceSecretNEQ(v string) predicate.Device
- func DeviceSecretNotIn(vs ...string) predicate.Device
- func DeviceSecretNotNil() predicate.Device
- func DeviceStatus(v string) predicate.Device
- func DeviceStatusContains(v string) predicate.Device
- func DeviceStatusContainsFold(v string) predicate.Device
- func DeviceStatusEQ(v string) predicate.Device
- func DeviceStatusEqualFold(v string) predicate.Device
- func DeviceStatusGT(v string) predicate.Device
- func DeviceStatusGTE(v string) predicate.Device
- func DeviceStatusHasPrefix(v string) predicate.Device
- func DeviceStatusHasSuffix(v string) predicate.Device
- func DeviceStatusIn(vs ...string) predicate.Device
- func DeviceStatusIsNil() predicate.Device
- func DeviceStatusLT(v string) predicate.Device
- func DeviceStatusLTE(v string) predicate.Device
- func DeviceStatusNEQ(v string) predicate.Device
- func DeviceStatusNotIn(vs ...string) predicate.Device
- func DeviceStatusNotNil() predicate.Device
- func FirmwareVersion(v string) predicate.Device
- func FirmwareVersionContains(v string) predicate.Device
- func FirmwareVersionContainsFold(v string) predicate.Device
- func FirmwareVersionEQ(v string) predicate.Device
- func FirmwareVersionEqualFold(v string) predicate.Device
- func FirmwareVersionGT(v string) predicate.Device
- func FirmwareVersionGTE(v string) predicate.Device
- func FirmwareVersionHasPrefix(v string) predicate.Device
- func FirmwareVersionHasSuffix(v string) predicate.Device
- func FirmwareVersionIn(vs ...string) predicate.Device
- func FirmwareVersionIsNil() predicate.Device
- func FirmwareVersionLT(v string) predicate.Device
- func FirmwareVersionLTE(v string) predicate.Device
- func FirmwareVersionNEQ(v string) predicate.Device
- func FirmwareVersionNotIn(vs ...string) predicate.Device
- func FirmwareVersionNotNil() predicate.Device
- func GmtActive(v string) predicate.Device
- func GmtActiveContains(v string) predicate.Device
- func GmtActiveContainsFold(v string) predicate.Device
- func GmtActiveEQ(v string) predicate.Device
- func GmtActiveEqualFold(v string) predicate.Device
- func GmtActiveGT(v string) predicate.Device
- func GmtActiveGTE(v string) predicate.Device
- func GmtActiveHasPrefix(v string) predicate.Device
- func GmtActiveHasSuffix(v string) predicate.Device
- func GmtActiveIn(vs ...string) predicate.Device
- func GmtActiveIsNil() predicate.Device
- func GmtActiveLT(v string) predicate.Device
- func GmtActiveLTE(v string) predicate.Device
- func GmtActiveNEQ(v string) predicate.Device
- func GmtActiveNotIn(vs ...string) predicate.Device
- func GmtActiveNotNil() predicate.Device
- func GmtCreate(v string) predicate.Device
- func GmtCreateContains(v string) predicate.Device
- func GmtCreateContainsFold(v string) predicate.Device
- func GmtCreateEQ(v string) predicate.Device
- func GmtCreateEqualFold(v string) predicate.Device
- func GmtCreateGT(v string) predicate.Device
- func GmtCreateGTE(v string) predicate.Device
- func GmtCreateHasPrefix(v string) predicate.Device
- func GmtCreateHasSuffix(v string) predicate.Device
- func GmtCreateIn(vs ...string) predicate.Device
- func GmtCreateIsNil() predicate.Device
- func GmtCreateLT(v string) predicate.Device
- func GmtCreateLTE(v string) predicate.Device
- func GmtCreateNEQ(v string) predicate.Device
- func GmtCreateNotIn(vs ...string) predicate.Device
- func GmtCreateNotNil() predicate.Device
- func GmtModified(v string) predicate.Device
- func GmtModifiedContains(v string) predicate.Device
- func GmtModifiedContainsFold(v string) predicate.Device
- func GmtModifiedEQ(v string) predicate.Device
- func GmtModifiedEqualFold(v string) predicate.Device
- func GmtModifiedGT(v string) predicate.Device
- func GmtModifiedGTE(v string) predicate.Device
- func GmtModifiedHasPrefix(v string) predicate.Device
- func GmtModifiedHasSuffix(v string) predicate.Device
- func GmtModifiedIn(vs ...string) predicate.Device
- func GmtModifiedIsNil() predicate.Device
- func GmtModifiedLT(v string) predicate.Device
- func GmtModifiedLTE(v string) predicate.Device
- func GmtModifiedNEQ(v string) predicate.Device
- func GmtModifiedNotIn(vs ...string) predicate.Device
- func GmtModifiedNotNil() predicate.Device
- func GmtOnline(v string) predicate.Device
- func GmtOnlineContains(v string) predicate.Device
- func GmtOnlineContainsFold(v string) predicate.Device
- func GmtOnlineEQ(v string) predicate.Device
- func GmtOnlineEqualFold(v string) predicate.Device
- func GmtOnlineGT(v string) predicate.Device
- func GmtOnlineGTE(v string) predicate.Device
- func GmtOnlineHasPrefix(v string) predicate.Device
- func GmtOnlineHasSuffix(v string) predicate.Device
- func GmtOnlineIn(vs ...string) predicate.Device
- func GmtOnlineIsNil() predicate.Device
- func GmtOnlineLT(v string) predicate.Device
- func GmtOnlineLTE(v string) predicate.Device
- func GmtOnlineNEQ(v string) predicate.Device
- func GmtOnlineNotIn(vs ...string) predicate.Device
- func GmtOnlineNotNil() predicate.Device
- func HasCompanies() predicate.Device
- func HasCompaniesWith(preds ...predicate.Company) predicate.Device
- func HasMembers() predicate.Device
- func HasMembersWith(preds ...predicate.Member) predicate.Device
- func HasProduct() predicate.Device
- func HasProductWith(preds ...predicate.Product) predicate.Device
- func HasProp() predicate.Device
- func HasPropWith(preds ...predicate.DeviceProp) predicate.Device
- func ID(id uuid.UUID) predicate.Device
- func IDEQ(id uuid.UUID) predicate.Device
- func IDGT(id uuid.UUID) predicate.Device
- func IDGTE(id uuid.UUID) predicate.Device
- func IDIn(ids ...uuid.UUID) predicate.Device
- func IDLT(id uuid.UUID) predicate.Device
- func IDLTE(id uuid.UUID) predicate.Device
- func IDNEQ(id uuid.UUID) predicate.Device
- func IDNotIn(ids ...uuid.UUID) predicate.Device
- func IPAddress(v string) predicate.Device
- func IPAddressContains(v string) predicate.Device
- func IPAddressContainsFold(v string) predicate.Device
- func IPAddressEQ(v string) predicate.Device
- func IPAddressEqualFold(v string) predicate.Device
- func IPAddressGT(v string) predicate.Device
- func IPAddressGTE(v string) predicate.Device
- func IPAddressHasPrefix(v string) predicate.Device
- func IPAddressHasSuffix(v string) predicate.Device
- func IPAddressIn(vs ...string) predicate.Device
- func IPAddressIsNil() predicate.Device
- func IPAddressLT(v string) predicate.Device
- func IPAddressLTE(v string) predicate.Device
- func IPAddressNEQ(v string) predicate.Device
- func IPAddressNotIn(vs ...string) predicate.Device
- func IPAddressNotNil() predicate.Device
- func IotID(v string) predicate.Device
- func IotIDContains(v string) predicate.Device
- func IotIDContainsFold(v string) predicate.Device
- func IotIDEQ(v string) predicate.Device
- func IotIDEqualFold(v string) predicate.Device
- func IotIDGT(v string) predicate.Device
- func IotIDGTE(v string) predicate.Device
- func IotIDHasPrefix(v string) predicate.Device
- func IotIDHasSuffix(v string) predicate.Device
- func IotIDIn(vs ...string) predicate.Device
- func IotIDLT(v string) predicate.Device
- func IotIDLTE(v string) predicate.Device
- func IotIDNEQ(v string) predicate.Device
- func IotIDNotIn(vs ...string) predicate.Device
- func Nickname(v string) predicate.Device
- func NicknameContains(v string) predicate.Device
- func NicknameContainsFold(v string) predicate.Device
- func NicknameEQ(v string) predicate.Device
- func NicknameEqualFold(v string) predicate.Device
- func NicknameGT(v string) predicate.Device
- func NicknameGTE(v string) predicate.Device
- func NicknameHasPrefix(v string) predicate.Device
- func NicknameHasSuffix(v string) predicate.Device
- func NicknameIn(vs ...string) predicate.Device
- func NicknameIsNil() predicate.Device
- func NicknameLT(v string) predicate.Device
- func NicknameLTE(v string) predicate.Device
- func NicknameNEQ(v string) predicate.Device
- func NicknameNotIn(vs ...string) predicate.Device
- func NicknameNotNil() predicate.Device
- func NodeType(v int32) predicate.Device
- func NodeTypeEQ(v int32) predicate.Device
- func NodeTypeGT(v int32) predicate.Device
- func NodeTypeGTE(v int32) predicate.Device
- func NodeTypeIn(vs ...int32) predicate.Device
- func NodeTypeLT(v int32) predicate.Device
- func NodeTypeLTE(v int32) predicate.Device
- func NodeTypeNEQ(v int32) predicate.Device
- func NodeTypeNotIn(vs ...int32) predicate.Device
- func Not(p predicate.Device) predicate.Device
- func OperationalStatus(v string) predicate.Device
- func OperationalStatusCode(v string) predicate.Device
- func OperationalStatusCodeContains(v string) predicate.Device
- func OperationalStatusCodeContainsFold(v string) predicate.Device
- func OperationalStatusCodeEQ(v string) predicate.Device
- func OperationalStatusCodeEqualFold(v string) predicate.Device
- func OperationalStatusCodeGT(v string) predicate.Device
- func OperationalStatusCodeGTE(v string) predicate.Device
- func OperationalStatusCodeHasPrefix(v string) predicate.Device
- func OperationalStatusCodeHasSuffix(v string) predicate.Device
- func OperationalStatusCodeIn(vs ...string) predicate.Device
- func OperationalStatusCodeIsNil() predicate.Device
- func OperationalStatusCodeLT(v string) predicate.Device
- func OperationalStatusCodeLTE(v string) predicate.Device
- func OperationalStatusCodeNEQ(v string) predicate.Device
- func OperationalStatusCodeNotIn(vs ...string) predicate.Device
- func OperationalStatusCodeNotNil() predicate.Device
- func OperationalStatusContains(v string) predicate.Device
- func OperationalStatusContainsFold(v string) predicate.Device
- func OperationalStatusEQ(v string) predicate.Device
- func OperationalStatusEqualFold(v string) predicate.Device
- func OperationalStatusGT(v string) predicate.Device
- func OperationalStatusGTE(v string) predicate.Device
- func OperationalStatusHasPrefix(v string) predicate.Device
- func OperationalStatusHasSuffix(v string) predicate.Device
- func OperationalStatusIn(vs ...string) predicate.Device
- func OperationalStatusIsNil() predicate.Device
- func OperationalStatusLT(v string) predicate.Device
- func OperationalStatusLTE(v string) predicate.Device
- func OperationalStatusNEQ(v string) predicate.Device
- func OperationalStatusNotIn(vs ...string) predicate.Device
- func OperationalStatusNotNil() predicate.Device
- func Or(predicates ...predicate.Device) predicate.Device
- func Owner(v bool) predicate.Device
- func OwnerEQ(v bool) predicate.Device
- func OwnerIsNil() predicate.Device
- func OwnerNEQ(v bool) predicate.Device
- func OwnerNotNil() predicate.Device
- func ProductKey(v string) predicate.Device
- func ProductKeyContains(v string) predicate.Device
- func ProductKeyContainsFold(v string) predicate.Device
- func ProductKeyEQ(v string) predicate.Device
- func ProductKeyEqualFold(v string) predicate.Device
- func ProductKeyGT(v string) predicate.Device
- func ProductKeyGTE(v string) predicate.Device
- func ProductKeyHasPrefix(v string) predicate.Device
- func ProductKeyHasSuffix(v string) predicate.Device
- func ProductKeyIn(vs ...string) predicate.Device
- func ProductKeyLT(v string) predicate.Device
- func ProductKeyLTE(v string) predicate.Device
- func ProductKeyNEQ(v string) predicate.Device
- func ProductKeyNotIn(vs ...string) predicate.Device
- func ProductName(v string) predicate.Device
- func ProductNameContains(v string) predicate.Device
- func ProductNameContainsFold(v string) predicate.Device
- func ProductNameEQ(v string) predicate.Device
- func ProductNameEqualFold(v string) predicate.Device
- func ProductNameGT(v string) predicate.Device
- func ProductNameGTE(v string) predicate.Device
- func ProductNameHasPrefix(v string) predicate.Device
- func ProductNameHasSuffix(v string) predicate.Device
- func ProductNameIn(vs ...string) predicate.Device
- func ProductNameIsNil() predicate.Device
- func ProductNameLT(v string) predicate.Device
- func ProductNameLTE(v string) predicate.Device
- func ProductNameNEQ(v string) predicate.Device
- func ProductNameNotIn(vs ...string) predicate.Device
- func ProductNameNotNil() predicate.Device
- func Region(v string) predicate.Device
- func RegionContains(v string) predicate.Device
- func RegionContainsFold(v string) predicate.Device
- func RegionEQ(v string) predicate.Device
- func RegionEqualFold(v string) predicate.Device
- func RegionGT(v string) predicate.Device
- func RegionGTE(v string) predicate.Device
- func RegionHasPrefix(v string) predicate.Device
- func RegionHasSuffix(v string) predicate.Device
- func RegionIn(vs ...string) predicate.Device
- func RegionIsNil() predicate.Device
- func RegionLT(v string) predicate.Device
- func RegionLTE(v string) predicate.Device
- func RegionNEQ(v string) predicate.Device
- func RegionNotIn(vs ...string) predicate.Device
- func RegionNotNil() predicate.Device
- func Sort(v uint32) predicate.Device
- func SortEQ(v uint32) predicate.Device
- func SortGT(v uint32) predicate.Device
- func SortGTE(v uint32) predicate.Device
- func SortIn(vs ...uint32) predicate.Device
- func SortLT(v uint32) predicate.Device
- func SortLTE(v uint32) predicate.Device
- func SortNEQ(v uint32) predicate.Device
- func SortNotIn(vs ...uint32) predicate.Device
- func Status(v uint8) predicate.Device
- func StatusEQ(v uint8) predicate.Device
- func StatusGT(v uint8) predicate.Device
- func StatusGTE(v uint8) predicate.Device
- func StatusIn(vs ...uint8) predicate.Device
- func StatusIsNil() predicate.Device
- func StatusLT(v uint8) predicate.Device
- func StatusLTE(v uint8) predicate.Device
- func StatusNEQ(v uint8) predicate.Device
- func StatusNotIn(vs ...uint8) predicate.Device
- func StatusNotNil() predicate.Device
- func Tag(v uint64) predicate.Device
- func TagEQ(v uint64) predicate.Device
- func TagGT(v uint64) predicate.Device
- func TagGTE(v uint64) predicate.Device
- func TagIn(vs ...uint64) predicate.Device
- func TagIsNil() predicate.Device
- func TagLT(v uint64) predicate.Device
- func TagLTE(v uint64) predicate.Device
- func TagNEQ(v uint64) predicate.Device
- func TagNotIn(vs ...uint64) predicate.Device
- func TagNotNil() predicate.Device
- func UpdatedAt(v time.Time) predicate.Device
- func UpdatedAtEQ(v time.Time) predicate.Device
- func UpdatedAtGT(v time.Time) predicate.Device
- func UpdatedAtGTE(v time.Time) predicate.Device
- func UpdatedAtIn(vs ...time.Time) predicate.Device
- func UpdatedAtLT(v time.Time) predicate.Device
- func UpdatedAtLTE(v time.Time) predicate.Device
- func UpdatedAtNEQ(v time.Time) predicate.Device
- func UpdatedAtNotIn(vs ...time.Time) predicate.Device
- func UtcActive(v string) predicate.Device
- func UtcActiveContains(v string) predicate.Device
- func UtcActiveContainsFold(v string) predicate.Device
- func UtcActiveEQ(v string) predicate.Device
- func UtcActiveEqualFold(v string) predicate.Device
- func UtcActiveGT(v string) predicate.Device
- func UtcActiveGTE(v string) predicate.Device
- func UtcActiveHasPrefix(v string) predicate.Device
- func UtcActiveHasSuffix(v string) predicate.Device
- func UtcActiveIn(vs ...string) predicate.Device
- func UtcActiveIsNil() predicate.Device
- func UtcActiveLT(v string) predicate.Device
- func UtcActiveLTE(v string) predicate.Device
- func UtcActiveNEQ(v string) predicate.Device
- func UtcActiveNotIn(vs ...string) predicate.Device
- func UtcActiveNotNil() predicate.Device
- func UtcCreate(v string) predicate.Device
- func UtcCreateContains(v string) predicate.Device
- func UtcCreateContainsFold(v string) predicate.Device
- func UtcCreateEQ(v string) predicate.Device
- func UtcCreateEqualFold(v string) predicate.Device
- func UtcCreateGT(v string) predicate.Device
- func UtcCreateGTE(v string) predicate.Device
- func UtcCreateHasPrefix(v string) predicate.Device
- func UtcCreateHasSuffix(v string) predicate.Device
- func UtcCreateIn(vs ...string) predicate.Device
- func UtcCreateIsNil() predicate.Device
- func UtcCreateLT(v string) predicate.Device
- func UtcCreateLTE(v string) predicate.Device
- func UtcCreateNEQ(v string) predicate.Device
- func UtcCreateNotIn(vs ...string) predicate.Device
- func UtcCreateNotNil() predicate.Device
- func UtcModified(v string) predicate.Device
- func UtcModifiedContains(v string) predicate.Device
- func UtcModifiedContainsFold(v string) predicate.Device
- func UtcModifiedEQ(v string) predicate.Device
- func UtcModifiedEqualFold(v string) predicate.Device
- func UtcModifiedGT(v string) predicate.Device
- func UtcModifiedGTE(v string) predicate.Device
- func UtcModifiedHasPrefix(v string) predicate.Device
- func UtcModifiedHasSuffix(v string) predicate.Device
- func UtcModifiedIn(vs ...string) predicate.Device
- func UtcModifiedIsNil() predicate.Device
- func UtcModifiedLT(v string) predicate.Device
- func UtcModifiedLTE(v string) predicate.Device
- func UtcModifiedNEQ(v string) predicate.Device
- func UtcModifiedNotIn(vs ...string) predicate.Device
- func UtcModifiedNotNil() predicate.Device
- func UtcOnline(v string) predicate.Device
- func UtcOnlineContains(v string) predicate.Device
- func UtcOnlineContainsFold(v string) predicate.Device
- func UtcOnlineEQ(v string) predicate.Device
- func UtcOnlineEqualFold(v string) predicate.Device
- func UtcOnlineGT(v string) predicate.Device
- func UtcOnlineGTE(v string) predicate.Device
- func UtcOnlineHasPrefix(v string) predicate.Device
- func UtcOnlineHasSuffix(v string) predicate.Device
- func UtcOnlineIn(vs ...string) predicate.Device
- func UtcOnlineIsNil() predicate.Device
- func UtcOnlineLT(v string) predicate.Device
- func UtcOnlineLTE(v string) predicate.Device
- func UtcOnlineNEQ(v string) predicate.Device
- func UtcOnlineNotIn(vs ...string) predicate.Device
- func UtcOnlineNotNil() predicate.Device
- func ValidColumn(column string) bool
- type OrderOption
- func ByCompanies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCompaniesCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceName(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceSecret(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceStatus(opts ...sql.OrderTermOption) OrderOption
- func ByFirmwareVersion(opts ...sql.OrderTermOption) OrderOption
- func ByGmtActive(opts ...sql.OrderTermOption) OrderOption
- func ByGmtCreate(opts ...sql.OrderTermOption) OrderOption
- func ByGmtModified(opts ...sql.OrderTermOption) OrderOption
- func ByGmtOnline(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIPAddress(opts ...sql.OrderTermOption) OrderOption
- func ByIotID(opts ...sql.OrderTermOption) OrderOption
- func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMembersCount(opts ...sql.OrderTermOption) OrderOption
- func ByNickname(opts ...sql.OrderTermOption) OrderOption
- func ByNodeType(opts ...sql.OrderTermOption) OrderOption
- func ByOperationalStatus(opts ...sql.OrderTermOption) OrderOption
- func ByOperationalStatusCode(opts ...sql.OrderTermOption) OrderOption
- func ByOwner(opts ...sql.OrderTermOption) OrderOption
- func ByProductField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProductKey(opts ...sql.OrderTermOption) OrderOption
- func ByProductName(opts ...sql.OrderTermOption) OrderOption
- func ByPropField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRegion(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTag(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUtcActive(opts ...sql.OrderTermOption) OrderOption
- func ByUtcCreate(opts ...sql.OrderTermOption) OrderOption
- func ByUtcModified(opts ...sql.OrderTermOption) OrderOption
- func ByUtcOnline(opts ...sql.OrderTermOption) OrderOption
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" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldProductKey holds the string denoting the productkey field in the database. FieldProductKey = "product_key" // FieldIotID holds the string denoting the iotid field in the database. FieldIotID = "iot_id" // FieldDeviceName holds the string denoting the devicename field in the database. FieldDeviceName = "device_name" // FieldDeviceSecret holds the string denoting the devicesecret field in the database. FieldDeviceSecret = "device_secret" // FieldDeviceStatus holds the string denoting the devicestatus field in the database. FieldDeviceStatus = "device_status" // FieldNickname holds the string denoting the nickname field in the database. FieldNickname = "nickname" // FieldGmtCreate holds the string denoting the gmtcreate field in the database. FieldGmtCreate = "gmt_create" // FieldGmtModified holds the string denoting the gmtmodified field in the database. FieldGmtModified = "gmt_modified" // FieldUtcCreate holds the string denoting the utccreate field in the database. FieldUtcCreate = "utc_create" // FieldUtcModified holds the string denoting the utcmodified field in the database. FieldUtcModified = "utc_modified" // FieldOperationalStatusCode holds the string denoting the operationalstatuscode field in the database. FieldOperationalStatusCode = "operational_status_code" // FieldOperationalStatus holds the string denoting the operationalstatus field in the database. FieldOperationalStatus = "operational_status" // FieldTag holds the string denoting the tag field in the database. FieldTag = "tag" // FieldFirmwareVersion holds the string denoting the firmwareversion field in the database. FieldFirmwareVersion = "firmware_version" // FieldGmtActive holds the string denoting the gmtactive field in the database. FieldGmtActive = "gmt_active" // FieldGmtOnline holds the string denoting the gmtonline field in the database. FieldGmtOnline = "gmt_online" // FieldIPAddress holds the string denoting the ipaddress field in the database. FieldIPAddress = "ip_address" // FieldNodeType holds the string denoting the nodetype field in the database. FieldNodeType = "node_type" // FieldOwner holds the string denoting the owner field in the database. FieldOwner = "owner" // FieldProductName holds the string denoting the productname field in the database. FieldProductName = "product_name" // FieldRegion holds the string denoting the region field in the database. FieldRegion = "region" // FieldUtcActive holds the string denoting the utcactive field in the database. FieldUtcActive = "utc_active" // FieldUtcOnline holds the string denoting the utconline field in the database. FieldUtcOnline = "utc_online" // EdgeProduct holds the string denoting the product edge name in mutations. EdgeProduct = "product" // EdgeProp holds the string denoting the prop edge name in mutations. EdgeProp = "prop" // EdgeCompanies holds the string denoting the companies edge name in mutations. EdgeCompanies = "companies" // EdgeMembers holds the string denoting the members edge name in mutations. EdgeMembers = "members" // Table holds the table name of the device in the database. Table = "equip_devices" // ProductTable is the table that holds the product relation/edge. ProductTable = "equip_devices" // ProductInverseTable is the table name for the Product entity. // It exists in this package in order to avoid circular dependency with the "product" package. ProductInverseTable = "equip_products" // ProductColumn is the table column denoting the product relation/edge. ProductColumn = "product_devices" // PropTable is the table that holds the prop relation/edge. PropTable = "equip_device_props" // PropInverseTable is the table name for the DeviceProp entity. // It exists in this package in order to avoid circular dependency with the "deviceprop" package. PropInverseTable = "equip_device_props" // PropColumn is the table column denoting the prop relation/edge. PropColumn = "device_prop" // CompaniesTable is the table that holds the companies relation/edge. The primary key declared below. CompaniesTable = "company_devices" // CompaniesInverseTable is the table name for the Company entity. // It exists in this package in order to avoid circular dependency with the "company" package. CompaniesInverseTable = "client_companies" // MembersTable is the table that holds the members relation/edge. The primary key declared below. MembersTable = "member_devices" // MembersInverseTable is the table name for the Member entity. // It exists in this package in order to avoid circular dependency with the "member" package. MembersInverseTable = "client_members" )
Variables ¶
var ( // CompaniesPrimaryKey and CompaniesColumn2 are the table columns denoting the // primary key for the companies relation (M2M). CompaniesPrimaryKey = []string{"company_id", "device_id"} // MembersPrimaryKey and MembersColumn2 are the table columns denoting the // primary key for the members relation (M2M). MembersPrimaryKey = []string{"member_id", "device_id"} )
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus uint8 // DefaultSort holds the default value on creation for the "sort" field. DefaultSort uint32 // DefaultOperationalStatus holds the default value on creation for the "operationalStatus" field. DefaultOperationalStatus string // DefaultNodeType holds the default value on creation for the "nodeType" field. DefaultNodeType int32 // DefaultOwner holds the default value on creation for the "owner" field. DefaultOwner bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldStatus, FieldSort, FieldProductKey, FieldIotID, FieldDeviceName, FieldDeviceSecret, FieldDeviceStatus, FieldNickname, FieldGmtCreate, FieldGmtModified, FieldUtcCreate, FieldUtcModified, FieldOperationalStatusCode, FieldOperationalStatus, FieldTag, FieldFirmwareVersion, FieldGmtActive, FieldGmtOnline, FieldIPAddress, FieldNodeType, FieldOwner, FieldProductName, FieldRegion, FieldUtcActive, FieldUtcOnline, }
Columns holds all SQL columns for device fields.
var ForeignKeys = []string{
"product_devices",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "equip_devices" table and are not defined as standalone fields in the schema.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeviceName ¶
DeviceName applies equality check predicate on the "deviceName" field. It's identical to DeviceNameEQ.
func DeviceNameContains ¶
DeviceNameContains applies the Contains predicate on the "deviceName" field.
func DeviceNameContainsFold ¶
DeviceNameContainsFold applies the ContainsFold predicate on the "deviceName" field.
func DeviceNameEQ ¶
DeviceNameEQ applies the EQ predicate on the "deviceName" field.
func DeviceNameEqualFold ¶
DeviceNameEqualFold applies the EqualFold predicate on the "deviceName" field.
func DeviceNameGT ¶
DeviceNameGT applies the GT predicate on the "deviceName" field.
func DeviceNameGTE ¶
DeviceNameGTE applies the GTE predicate on the "deviceName" field.
func DeviceNameHasPrefix ¶
DeviceNameHasPrefix applies the HasPrefix predicate on the "deviceName" field.
func DeviceNameHasSuffix ¶
DeviceNameHasSuffix applies the HasSuffix predicate on the "deviceName" field.
func DeviceNameIn ¶
DeviceNameIn applies the In predicate on the "deviceName" field.
func DeviceNameLT ¶
DeviceNameLT applies the LT predicate on the "deviceName" field.
func DeviceNameLTE ¶
DeviceNameLTE applies the LTE predicate on the "deviceName" field.
func DeviceNameNEQ ¶
DeviceNameNEQ applies the NEQ predicate on the "deviceName" field.
func DeviceNameNotIn ¶
DeviceNameNotIn applies the NotIn predicate on the "deviceName" field.
func DeviceSecret ¶
DeviceSecret applies equality check predicate on the "deviceSecret" field. It's identical to DeviceSecretEQ.
func DeviceSecretContains ¶
DeviceSecretContains applies the Contains predicate on the "deviceSecret" field.
func DeviceSecretContainsFold ¶
DeviceSecretContainsFold applies the ContainsFold predicate on the "deviceSecret" field.
func DeviceSecretEQ ¶
DeviceSecretEQ applies the EQ predicate on the "deviceSecret" field.
func DeviceSecretEqualFold ¶
DeviceSecretEqualFold applies the EqualFold predicate on the "deviceSecret" field.
func DeviceSecretGT ¶
DeviceSecretGT applies the GT predicate on the "deviceSecret" field.
func DeviceSecretGTE ¶
DeviceSecretGTE applies the GTE predicate on the "deviceSecret" field.
func DeviceSecretHasPrefix ¶
DeviceSecretHasPrefix applies the HasPrefix predicate on the "deviceSecret" field.
func DeviceSecretHasSuffix ¶
DeviceSecretHasSuffix applies the HasSuffix predicate on the "deviceSecret" field.
func DeviceSecretIn ¶
DeviceSecretIn applies the In predicate on the "deviceSecret" field.
func DeviceSecretIsNil ¶
DeviceSecretIsNil applies the IsNil predicate on the "deviceSecret" field.
func DeviceSecretLT ¶
DeviceSecretLT applies the LT predicate on the "deviceSecret" field.
func DeviceSecretLTE ¶
DeviceSecretLTE applies the LTE predicate on the "deviceSecret" field.
func DeviceSecretNEQ ¶
DeviceSecretNEQ applies the NEQ predicate on the "deviceSecret" field.
func DeviceSecretNotIn ¶
DeviceSecretNotIn applies the NotIn predicate on the "deviceSecret" field.
func DeviceSecretNotNil ¶
DeviceSecretNotNil applies the NotNil predicate on the "deviceSecret" field.
func DeviceStatus ¶
DeviceStatus applies equality check predicate on the "deviceStatus" field. It's identical to DeviceStatusEQ.
func DeviceStatusContains ¶
DeviceStatusContains applies the Contains predicate on the "deviceStatus" field.
func DeviceStatusContainsFold ¶
DeviceStatusContainsFold applies the ContainsFold predicate on the "deviceStatus" field.
func DeviceStatusEQ ¶
DeviceStatusEQ applies the EQ predicate on the "deviceStatus" field.
func DeviceStatusEqualFold ¶
DeviceStatusEqualFold applies the EqualFold predicate on the "deviceStatus" field.
func DeviceStatusGT ¶
DeviceStatusGT applies the GT predicate on the "deviceStatus" field.
func DeviceStatusGTE ¶
DeviceStatusGTE applies the GTE predicate on the "deviceStatus" field.
func DeviceStatusHasPrefix ¶
DeviceStatusHasPrefix applies the HasPrefix predicate on the "deviceStatus" field.
func DeviceStatusHasSuffix ¶
DeviceStatusHasSuffix applies the HasSuffix predicate on the "deviceStatus" field.
func DeviceStatusIn ¶
DeviceStatusIn applies the In predicate on the "deviceStatus" field.
func DeviceStatusIsNil ¶
DeviceStatusIsNil applies the IsNil predicate on the "deviceStatus" field.
func DeviceStatusLT ¶
DeviceStatusLT applies the LT predicate on the "deviceStatus" field.
func DeviceStatusLTE ¶
DeviceStatusLTE applies the LTE predicate on the "deviceStatus" field.
func DeviceStatusNEQ ¶
DeviceStatusNEQ applies the NEQ predicate on the "deviceStatus" field.
func DeviceStatusNotIn ¶
DeviceStatusNotIn applies the NotIn predicate on the "deviceStatus" field.
func DeviceStatusNotNil ¶
DeviceStatusNotNil applies the NotNil predicate on the "deviceStatus" field.
func FirmwareVersion ¶
FirmwareVersion applies equality check predicate on the "firmwareVersion" field. It's identical to FirmwareVersionEQ.
func FirmwareVersionContains ¶
FirmwareVersionContains applies the Contains predicate on the "firmwareVersion" field.
func FirmwareVersionContainsFold ¶
FirmwareVersionContainsFold applies the ContainsFold predicate on the "firmwareVersion" field.
func FirmwareVersionEQ ¶
FirmwareVersionEQ applies the EQ predicate on the "firmwareVersion" field.
func FirmwareVersionEqualFold ¶
FirmwareVersionEqualFold applies the EqualFold predicate on the "firmwareVersion" field.
func FirmwareVersionGT ¶
FirmwareVersionGT applies the GT predicate on the "firmwareVersion" field.
func FirmwareVersionGTE ¶
FirmwareVersionGTE applies the GTE predicate on the "firmwareVersion" field.
func FirmwareVersionHasPrefix ¶
FirmwareVersionHasPrefix applies the HasPrefix predicate on the "firmwareVersion" field.
func FirmwareVersionHasSuffix ¶
FirmwareVersionHasSuffix applies the HasSuffix predicate on the "firmwareVersion" field.
func FirmwareVersionIn ¶
FirmwareVersionIn applies the In predicate on the "firmwareVersion" field.
func FirmwareVersionIsNil ¶
FirmwareVersionIsNil applies the IsNil predicate on the "firmwareVersion" field.
func FirmwareVersionLT ¶
FirmwareVersionLT applies the LT predicate on the "firmwareVersion" field.
func FirmwareVersionLTE ¶
FirmwareVersionLTE applies the LTE predicate on the "firmwareVersion" field.
func FirmwareVersionNEQ ¶
FirmwareVersionNEQ applies the NEQ predicate on the "firmwareVersion" field.
func FirmwareVersionNotIn ¶
FirmwareVersionNotIn applies the NotIn predicate on the "firmwareVersion" field.
func FirmwareVersionNotNil ¶
FirmwareVersionNotNil applies the NotNil predicate on the "firmwareVersion" field.
func GmtActive ¶
GmtActive applies equality check predicate on the "gmtActive" field. It's identical to GmtActiveEQ.
func GmtActiveContains ¶
GmtActiveContains applies the Contains predicate on the "gmtActive" field.
func GmtActiveContainsFold ¶
GmtActiveContainsFold applies the ContainsFold predicate on the "gmtActive" field.
func GmtActiveEQ ¶
GmtActiveEQ applies the EQ predicate on the "gmtActive" field.
func GmtActiveEqualFold ¶
GmtActiveEqualFold applies the EqualFold predicate on the "gmtActive" field.
func GmtActiveGT ¶
GmtActiveGT applies the GT predicate on the "gmtActive" field.
func GmtActiveGTE ¶
GmtActiveGTE applies the GTE predicate on the "gmtActive" field.
func GmtActiveHasPrefix ¶
GmtActiveHasPrefix applies the HasPrefix predicate on the "gmtActive" field.
func GmtActiveHasSuffix ¶
GmtActiveHasSuffix applies the HasSuffix predicate on the "gmtActive" field.
func GmtActiveIn ¶
GmtActiveIn applies the In predicate on the "gmtActive" field.
func GmtActiveIsNil ¶
GmtActiveIsNil applies the IsNil predicate on the "gmtActive" field.
func GmtActiveLT ¶
GmtActiveLT applies the LT predicate on the "gmtActive" field.
func GmtActiveLTE ¶
GmtActiveLTE applies the LTE predicate on the "gmtActive" field.
func GmtActiveNEQ ¶
GmtActiveNEQ applies the NEQ predicate on the "gmtActive" field.
func GmtActiveNotIn ¶
GmtActiveNotIn applies the NotIn predicate on the "gmtActive" field.
func GmtActiveNotNil ¶
GmtActiveNotNil applies the NotNil predicate on the "gmtActive" field.
func GmtCreate ¶
GmtCreate applies equality check predicate on the "gmtCreate" field. It's identical to GmtCreateEQ.
func GmtCreateContains ¶
GmtCreateContains applies the Contains predicate on the "gmtCreate" field.
func GmtCreateContainsFold ¶
GmtCreateContainsFold applies the ContainsFold predicate on the "gmtCreate" field.
func GmtCreateEQ ¶
GmtCreateEQ applies the EQ predicate on the "gmtCreate" field.
func GmtCreateEqualFold ¶
GmtCreateEqualFold applies the EqualFold predicate on the "gmtCreate" field.
func GmtCreateGT ¶
GmtCreateGT applies the GT predicate on the "gmtCreate" field.
func GmtCreateGTE ¶
GmtCreateGTE applies the GTE predicate on the "gmtCreate" field.
func GmtCreateHasPrefix ¶
GmtCreateHasPrefix applies the HasPrefix predicate on the "gmtCreate" field.
func GmtCreateHasSuffix ¶
GmtCreateHasSuffix applies the HasSuffix predicate on the "gmtCreate" field.
func GmtCreateIn ¶
GmtCreateIn applies the In predicate on the "gmtCreate" field.
func GmtCreateIsNil ¶
GmtCreateIsNil applies the IsNil predicate on the "gmtCreate" field.
func GmtCreateLT ¶
GmtCreateLT applies the LT predicate on the "gmtCreate" field.
func GmtCreateLTE ¶
GmtCreateLTE applies the LTE predicate on the "gmtCreate" field.
func GmtCreateNEQ ¶
GmtCreateNEQ applies the NEQ predicate on the "gmtCreate" field.
func GmtCreateNotIn ¶
GmtCreateNotIn applies the NotIn predicate on the "gmtCreate" field.
func GmtCreateNotNil ¶
GmtCreateNotNil applies the NotNil predicate on the "gmtCreate" field.
func GmtModified ¶
GmtModified applies equality check predicate on the "gmtModified" field. It's identical to GmtModifiedEQ.
func GmtModifiedContains ¶
GmtModifiedContains applies the Contains predicate on the "gmtModified" field.
func GmtModifiedContainsFold ¶
GmtModifiedContainsFold applies the ContainsFold predicate on the "gmtModified" field.
func GmtModifiedEQ ¶
GmtModifiedEQ applies the EQ predicate on the "gmtModified" field.
func GmtModifiedEqualFold ¶
GmtModifiedEqualFold applies the EqualFold predicate on the "gmtModified" field.
func GmtModifiedGT ¶
GmtModifiedGT applies the GT predicate on the "gmtModified" field.
func GmtModifiedGTE ¶
GmtModifiedGTE applies the GTE predicate on the "gmtModified" field.
func GmtModifiedHasPrefix ¶
GmtModifiedHasPrefix applies the HasPrefix predicate on the "gmtModified" field.
func GmtModifiedHasSuffix ¶
GmtModifiedHasSuffix applies the HasSuffix predicate on the "gmtModified" field.
func GmtModifiedIn ¶
GmtModifiedIn applies the In predicate on the "gmtModified" field.
func GmtModifiedIsNil ¶
GmtModifiedIsNil applies the IsNil predicate on the "gmtModified" field.
func GmtModifiedLT ¶
GmtModifiedLT applies the LT predicate on the "gmtModified" field.
func GmtModifiedLTE ¶
GmtModifiedLTE applies the LTE predicate on the "gmtModified" field.
func GmtModifiedNEQ ¶
GmtModifiedNEQ applies the NEQ predicate on the "gmtModified" field.
func GmtModifiedNotIn ¶
GmtModifiedNotIn applies the NotIn predicate on the "gmtModified" field.
func GmtModifiedNotNil ¶
GmtModifiedNotNil applies the NotNil predicate on the "gmtModified" field.
func GmtOnline ¶
GmtOnline applies equality check predicate on the "gmtOnline" field. It's identical to GmtOnlineEQ.
func GmtOnlineContains ¶
GmtOnlineContains applies the Contains predicate on the "gmtOnline" field.
func GmtOnlineContainsFold ¶
GmtOnlineContainsFold applies the ContainsFold predicate on the "gmtOnline" field.
func GmtOnlineEQ ¶
GmtOnlineEQ applies the EQ predicate on the "gmtOnline" field.
func GmtOnlineEqualFold ¶
GmtOnlineEqualFold applies the EqualFold predicate on the "gmtOnline" field.
func GmtOnlineGT ¶
GmtOnlineGT applies the GT predicate on the "gmtOnline" field.
func GmtOnlineGTE ¶
GmtOnlineGTE applies the GTE predicate on the "gmtOnline" field.
func GmtOnlineHasPrefix ¶
GmtOnlineHasPrefix applies the HasPrefix predicate on the "gmtOnline" field.
func GmtOnlineHasSuffix ¶
GmtOnlineHasSuffix applies the HasSuffix predicate on the "gmtOnline" field.
func GmtOnlineIn ¶
GmtOnlineIn applies the In predicate on the "gmtOnline" field.
func GmtOnlineIsNil ¶
GmtOnlineIsNil applies the IsNil predicate on the "gmtOnline" field.
func GmtOnlineLT ¶
GmtOnlineLT applies the LT predicate on the "gmtOnline" field.
func GmtOnlineLTE ¶
GmtOnlineLTE applies the LTE predicate on the "gmtOnline" field.
func GmtOnlineNEQ ¶
GmtOnlineNEQ applies the NEQ predicate on the "gmtOnline" field.
func GmtOnlineNotIn ¶
GmtOnlineNotIn applies the NotIn predicate on the "gmtOnline" field.
func GmtOnlineNotNil ¶
GmtOnlineNotNil applies the NotNil predicate on the "gmtOnline" field.
func HasCompanies ¶
HasCompanies applies the HasEdge predicate on the "companies" edge.
func HasCompaniesWith ¶
HasCompaniesWith applies the HasEdge predicate on the "companies" edge with a given conditions (other predicates).
func HasMembers ¶
HasMembers applies the HasEdge predicate on the "members" edge.
func HasMembersWith ¶
HasMembersWith applies the HasEdge predicate on the "members" edge with a given conditions (other predicates).
func HasProduct ¶
HasProduct applies the HasEdge predicate on the "product" edge.
func HasProductWith ¶
HasProductWith applies the HasEdge predicate on the "product" edge with a given conditions (other predicates).
func HasPropWith ¶
func HasPropWith(preds ...predicate.DeviceProp) predicate.Device
HasPropWith applies the HasEdge predicate on the "prop" edge with a given conditions (other predicates).
func IPAddress ¶
IPAddress applies equality check predicate on the "IPAddress" field. It's identical to IPAddressEQ.
func IPAddressContains ¶
IPAddressContains applies the Contains predicate on the "IPAddress" field.
func IPAddressContainsFold ¶
IPAddressContainsFold applies the ContainsFold predicate on the "IPAddress" field.
func IPAddressEQ ¶
IPAddressEQ applies the EQ predicate on the "IPAddress" field.
func IPAddressEqualFold ¶
IPAddressEqualFold applies the EqualFold predicate on the "IPAddress" field.
func IPAddressGT ¶
IPAddressGT applies the GT predicate on the "IPAddress" field.
func IPAddressGTE ¶
IPAddressGTE applies the GTE predicate on the "IPAddress" field.
func IPAddressHasPrefix ¶
IPAddressHasPrefix applies the HasPrefix predicate on the "IPAddress" field.
func IPAddressHasSuffix ¶
IPAddressHasSuffix applies the HasSuffix predicate on the "IPAddress" field.
func IPAddressIn ¶
IPAddressIn applies the In predicate on the "IPAddress" field.
func IPAddressIsNil ¶
IPAddressIsNil applies the IsNil predicate on the "IPAddress" field.
func IPAddressLT ¶
IPAddressLT applies the LT predicate on the "IPAddress" field.
func IPAddressLTE ¶
IPAddressLTE applies the LTE predicate on the "IPAddress" field.
func IPAddressNEQ ¶
IPAddressNEQ applies the NEQ predicate on the "IPAddress" field.
func IPAddressNotIn ¶
IPAddressNotIn applies the NotIn predicate on the "IPAddress" field.
func IPAddressNotNil ¶
IPAddressNotNil applies the NotNil predicate on the "IPAddress" field.
func IotID ¶
IotID applies equality check predicate on the "iotID" field. It's identical to IotIDEQ.
func IotIDContains ¶
IotIDContains applies the Contains predicate on the "iotID" field.
func IotIDContainsFold ¶
IotIDContainsFold applies the ContainsFold predicate on the "iotID" field.
func IotIDEqualFold ¶
IotIDEqualFold applies the EqualFold predicate on the "iotID" field.
func IotIDHasPrefix ¶
IotIDHasPrefix applies the HasPrefix predicate on the "iotID" field.
func IotIDHasSuffix ¶
IotIDHasSuffix applies the HasSuffix predicate on the "iotID" field.
func IotIDNotIn ¶
IotIDNotIn applies the NotIn predicate on the "iotID" field.
func Nickname ¶
Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
func NicknameContains ¶
NicknameContains applies the Contains predicate on the "nickname" field.
func NicknameContainsFold ¶
NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
func NicknameEQ ¶
NicknameEQ applies the EQ predicate on the "nickname" field.
func NicknameEqualFold ¶
NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
func NicknameGT ¶
NicknameGT applies the GT predicate on the "nickname" field.
func NicknameGTE ¶
NicknameGTE applies the GTE predicate on the "nickname" field.
func NicknameHasPrefix ¶
NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
func NicknameHasSuffix ¶
NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
func NicknameIn ¶
NicknameIn applies the In predicate on the "nickname" field.
func NicknameIsNil ¶
NicknameIsNil applies the IsNil predicate on the "nickname" field.
func NicknameLT ¶
NicknameLT applies the LT predicate on the "nickname" field.
func NicknameLTE ¶
NicknameLTE applies the LTE predicate on the "nickname" field.
func NicknameNEQ ¶
NicknameNEQ applies the NEQ predicate on the "nickname" field.
func NicknameNotIn ¶
NicknameNotIn applies the NotIn predicate on the "nickname" field.
func NicknameNotNil ¶
NicknameNotNil applies the NotNil predicate on the "nickname" field.
func NodeType ¶
NodeType applies equality check predicate on the "nodeType" field. It's identical to NodeTypeEQ.
func NodeTypeEQ ¶
NodeTypeEQ applies the EQ predicate on the "nodeType" field.
func NodeTypeGT ¶
NodeTypeGT applies the GT predicate on the "nodeType" field.
func NodeTypeGTE ¶
NodeTypeGTE applies the GTE predicate on the "nodeType" field.
func NodeTypeIn ¶
NodeTypeIn applies the In predicate on the "nodeType" field.
func NodeTypeLT ¶
NodeTypeLT applies the LT predicate on the "nodeType" field.
func NodeTypeLTE ¶
NodeTypeLTE applies the LTE predicate on the "nodeType" field.
func NodeTypeNEQ ¶
NodeTypeNEQ applies the NEQ predicate on the "nodeType" field.
func NodeTypeNotIn ¶
NodeTypeNotIn applies the NotIn predicate on the "nodeType" field.
func OperationalStatus ¶
OperationalStatus applies equality check predicate on the "operationalStatus" field. It's identical to OperationalStatusEQ.
func OperationalStatusCode ¶
OperationalStatusCode applies equality check predicate on the "operationalStatusCode" field. It's identical to OperationalStatusCodeEQ.
func OperationalStatusCodeContains ¶
OperationalStatusCodeContains applies the Contains predicate on the "operationalStatusCode" field.
func OperationalStatusCodeContainsFold ¶
OperationalStatusCodeContainsFold applies the ContainsFold predicate on the "operationalStatusCode" field.
func OperationalStatusCodeEQ ¶
OperationalStatusCodeEQ applies the EQ predicate on the "operationalStatusCode" field.
func OperationalStatusCodeEqualFold ¶
OperationalStatusCodeEqualFold applies the EqualFold predicate on the "operationalStatusCode" field.
func OperationalStatusCodeGT ¶
OperationalStatusCodeGT applies the GT predicate on the "operationalStatusCode" field.
func OperationalStatusCodeGTE ¶
OperationalStatusCodeGTE applies the GTE predicate on the "operationalStatusCode" field.
func OperationalStatusCodeHasPrefix ¶
OperationalStatusCodeHasPrefix applies the HasPrefix predicate on the "operationalStatusCode" field.
func OperationalStatusCodeHasSuffix ¶
OperationalStatusCodeHasSuffix applies the HasSuffix predicate on the "operationalStatusCode" field.
func OperationalStatusCodeIn ¶
OperationalStatusCodeIn applies the In predicate on the "operationalStatusCode" field.
func OperationalStatusCodeIsNil ¶
OperationalStatusCodeIsNil applies the IsNil predicate on the "operationalStatusCode" field.
func OperationalStatusCodeLT ¶
OperationalStatusCodeLT applies the LT predicate on the "operationalStatusCode" field.
func OperationalStatusCodeLTE ¶
OperationalStatusCodeLTE applies the LTE predicate on the "operationalStatusCode" field.
func OperationalStatusCodeNEQ ¶
OperationalStatusCodeNEQ applies the NEQ predicate on the "operationalStatusCode" field.
func OperationalStatusCodeNotIn ¶
OperationalStatusCodeNotIn applies the NotIn predicate on the "operationalStatusCode" field.
func OperationalStatusCodeNotNil ¶
OperationalStatusCodeNotNil applies the NotNil predicate on the "operationalStatusCode" field.
func OperationalStatusContains ¶
OperationalStatusContains applies the Contains predicate on the "operationalStatus" field.
func OperationalStatusContainsFold ¶
OperationalStatusContainsFold applies the ContainsFold predicate on the "operationalStatus" field.
func OperationalStatusEQ ¶
OperationalStatusEQ applies the EQ predicate on the "operationalStatus" field.
func OperationalStatusEqualFold ¶
OperationalStatusEqualFold applies the EqualFold predicate on the "operationalStatus" field.
func OperationalStatusGT ¶
OperationalStatusGT applies the GT predicate on the "operationalStatus" field.
func OperationalStatusGTE ¶
OperationalStatusGTE applies the GTE predicate on the "operationalStatus" field.
func OperationalStatusHasPrefix ¶
OperationalStatusHasPrefix applies the HasPrefix predicate on the "operationalStatus" field.
func OperationalStatusHasSuffix ¶
OperationalStatusHasSuffix applies the HasSuffix predicate on the "operationalStatus" field.
func OperationalStatusIn ¶
OperationalStatusIn applies the In predicate on the "operationalStatus" field.
func OperationalStatusIsNil ¶
OperationalStatusIsNil applies the IsNil predicate on the "operationalStatus" field.
func OperationalStatusLT ¶
OperationalStatusLT applies the LT predicate on the "operationalStatus" field.
func OperationalStatusLTE ¶
OperationalStatusLTE applies the LTE predicate on the "operationalStatus" field.
func OperationalStatusNEQ ¶
OperationalStatusNEQ applies the NEQ predicate on the "operationalStatus" field.
func OperationalStatusNotIn ¶
OperationalStatusNotIn applies the NotIn predicate on the "operationalStatus" field.
func OperationalStatusNotNil ¶
OperationalStatusNotNil applies the NotNil predicate on the "operationalStatus" field.
func Owner ¶
Owner applies equality check predicate on the "owner" field. It's identical to OwnerEQ.
func OwnerIsNil ¶
OwnerIsNil applies the IsNil predicate on the "owner" field.
func OwnerNotNil ¶
OwnerNotNil applies the NotNil predicate on the "owner" field.
func ProductKey ¶
ProductKey applies equality check predicate on the "productKey" field. It's identical to ProductKeyEQ.
func ProductKeyContains ¶
ProductKeyContains applies the Contains predicate on the "productKey" field.
func ProductKeyContainsFold ¶
ProductKeyContainsFold applies the ContainsFold predicate on the "productKey" field.
func ProductKeyEQ ¶
ProductKeyEQ applies the EQ predicate on the "productKey" field.
func ProductKeyEqualFold ¶
ProductKeyEqualFold applies the EqualFold predicate on the "productKey" field.
func ProductKeyGT ¶
ProductKeyGT applies the GT predicate on the "productKey" field.
func ProductKeyGTE ¶
ProductKeyGTE applies the GTE predicate on the "productKey" field.
func ProductKeyHasPrefix ¶
ProductKeyHasPrefix applies the HasPrefix predicate on the "productKey" field.
func ProductKeyHasSuffix ¶
ProductKeyHasSuffix applies the HasSuffix predicate on the "productKey" field.
func ProductKeyIn ¶
ProductKeyIn applies the In predicate on the "productKey" field.
func ProductKeyLT ¶
ProductKeyLT applies the LT predicate on the "productKey" field.
func ProductKeyLTE ¶
ProductKeyLTE applies the LTE predicate on the "productKey" field.
func ProductKeyNEQ ¶
ProductKeyNEQ applies the NEQ predicate on the "productKey" field.
func ProductKeyNotIn ¶
ProductKeyNotIn applies the NotIn predicate on the "productKey" field.
func ProductName ¶
ProductName applies equality check predicate on the "productName" field. It's identical to ProductNameEQ.
func ProductNameContains ¶
ProductNameContains applies the Contains predicate on the "productName" field.
func ProductNameContainsFold ¶
ProductNameContainsFold applies the ContainsFold predicate on the "productName" field.
func ProductNameEQ ¶
ProductNameEQ applies the EQ predicate on the "productName" field.
func ProductNameEqualFold ¶
ProductNameEqualFold applies the EqualFold predicate on the "productName" field.
func ProductNameGT ¶
ProductNameGT applies the GT predicate on the "productName" field.
func ProductNameGTE ¶
ProductNameGTE applies the GTE predicate on the "productName" field.
func ProductNameHasPrefix ¶
ProductNameHasPrefix applies the HasPrefix predicate on the "productName" field.
func ProductNameHasSuffix ¶
ProductNameHasSuffix applies the HasSuffix predicate on the "productName" field.
func ProductNameIn ¶
ProductNameIn applies the In predicate on the "productName" field.
func ProductNameIsNil ¶
ProductNameIsNil applies the IsNil predicate on the "productName" field.
func ProductNameLT ¶
ProductNameLT applies the LT predicate on the "productName" field.
func ProductNameLTE ¶
ProductNameLTE applies the LTE predicate on the "productName" field.
func ProductNameNEQ ¶
ProductNameNEQ applies the NEQ predicate on the "productName" field.
func ProductNameNotIn ¶
ProductNameNotIn applies the NotIn predicate on the "productName" field.
func ProductNameNotNil ¶
ProductNameNotNil applies the NotNil predicate on the "productName" field.
func Region ¶
Region applies equality check predicate on the "region" field. It's identical to RegionEQ.
func RegionContains ¶
RegionContains applies the Contains predicate on the "region" field.
func RegionContainsFold ¶
RegionContainsFold applies the ContainsFold predicate on the "region" field.
func RegionEqualFold ¶
RegionEqualFold applies the EqualFold predicate on the "region" field.
func RegionHasPrefix ¶
RegionHasPrefix applies the HasPrefix predicate on the "region" field.
func RegionHasSuffix ¶
RegionHasSuffix applies the HasSuffix predicate on the "region" field.
func RegionIsNil ¶
RegionIsNil applies the IsNil predicate on the "region" field.
func RegionNotIn ¶
RegionNotIn applies the NotIn predicate on the "region" field.
func RegionNotNil ¶
RegionNotNil applies the NotNil predicate on the "region" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UtcActive ¶
UtcActive applies equality check predicate on the "utcActive" field. It's identical to UtcActiveEQ.
func UtcActiveContains ¶
UtcActiveContains applies the Contains predicate on the "utcActive" field.
func UtcActiveContainsFold ¶
UtcActiveContainsFold applies the ContainsFold predicate on the "utcActive" field.
func UtcActiveEQ ¶
UtcActiveEQ applies the EQ predicate on the "utcActive" field.
func UtcActiveEqualFold ¶
UtcActiveEqualFold applies the EqualFold predicate on the "utcActive" field.
func UtcActiveGT ¶
UtcActiveGT applies the GT predicate on the "utcActive" field.
func UtcActiveGTE ¶
UtcActiveGTE applies the GTE predicate on the "utcActive" field.
func UtcActiveHasPrefix ¶
UtcActiveHasPrefix applies the HasPrefix predicate on the "utcActive" field.
func UtcActiveHasSuffix ¶
UtcActiveHasSuffix applies the HasSuffix predicate on the "utcActive" field.
func UtcActiveIn ¶
UtcActiveIn applies the In predicate on the "utcActive" field.
func UtcActiveIsNil ¶
UtcActiveIsNil applies the IsNil predicate on the "utcActive" field.
func UtcActiveLT ¶
UtcActiveLT applies the LT predicate on the "utcActive" field.
func UtcActiveLTE ¶
UtcActiveLTE applies the LTE predicate on the "utcActive" field.
func UtcActiveNEQ ¶
UtcActiveNEQ applies the NEQ predicate on the "utcActive" field.
func UtcActiveNotIn ¶
UtcActiveNotIn applies the NotIn predicate on the "utcActive" field.
func UtcActiveNotNil ¶
UtcActiveNotNil applies the NotNil predicate on the "utcActive" field.
func UtcCreate ¶
UtcCreate applies equality check predicate on the "utcCreate" field. It's identical to UtcCreateEQ.
func UtcCreateContains ¶
UtcCreateContains applies the Contains predicate on the "utcCreate" field.
func UtcCreateContainsFold ¶
UtcCreateContainsFold applies the ContainsFold predicate on the "utcCreate" field.
func UtcCreateEQ ¶
UtcCreateEQ applies the EQ predicate on the "utcCreate" field.
func UtcCreateEqualFold ¶
UtcCreateEqualFold applies the EqualFold predicate on the "utcCreate" field.
func UtcCreateGT ¶
UtcCreateGT applies the GT predicate on the "utcCreate" field.
func UtcCreateGTE ¶
UtcCreateGTE applies the GTE predicate on the "utcCreate" field.
func UtcCreateHasPrefix ¶
UtcCreateHasPrefix applies the HasPrefix predicate on the "utcCreate" field.
func UtcCreateHasSuffix ¶
UtcCreateHasSuffix applies the HasSuffix predicate on the "utcCreate" field.
func UtcCreateIn ¶
UtcCreateIn applies the In predicate on the "utcCreate" field.
func UtcCreateIsNil ¶
UtcCreateIsNil applies the IsNil predicate on the "utcCreate" field.
func UtcCreateLT ¶
UtcCreateLT applies the LT predicate on the "utcCreate" field.
func UtcCreateLTE ¶
UtcCreateLTE applies the LTE predicate on the "utcCreate" field.
func UtcCreateNEQ ¶
UtcCreateNEQ applies the NEQ predicate on the "utcCreate" field.
func UtcCreateNotIn ¶
UtcCreateNotIn applies the NotIn predicate on the "utcCreate" field.
func UtcCreateNotNil ¶
UtcCreateNotNil applies the NotNil predicate on the "utcCreate" field.
func UtcModified ¶
UtcModified applies equality check predicate on the "utcModified" field. It's identical to UtcModifiedEQ.
func UtcModifiedContains ¶
UtcModifiedContains applies the Contains predicate on the "utcModified" field.
func UtcModifiedContainsFold ¶
UtcModifiedContainsFold applies the ContainsFold predicate on the "utcModified" field.
func UtcModifiedEQ ¶
UtcModifiedEQ applies the EQ predicate on the "utcModified" field.
func UtcModifiedEqualFold ¶
UtcModifiedEqualFold applies the EqualFold predicate on the "utcModified" field.
func UtcModifiedGT ¶
UtcModifiedGT applies the GT predicate on the "utcModified" field.
func UtcModifiedGTE ¶
UtcModifiedGTE applies the GTE predicate on the "utcModified" field.
func UtcModifiedHasPrefix ¶
UtcModifiedHasPrefix applies the HasPrefix predicate on the "utcModified" field.
func UtcModifiedHasSuffix ¶
UtcModifiedHasSuffix applies the HasSuffix predicate on the "utcModified" field.
func UtcModifiedIn ¶
UtcModifiedIn applies the In predicate on the "utcModified" field.
func UtcModifiedIsNil ¶
UtcModifiedIsNil applies the IsNil predicate on the "utcModified" field.
func UtcModifiedLT ¶
UtcModifiedLT applies the LT predicate on the "utcModified" field.
func UtcModifiedLTE ¶
UtcModifiedLTE applies the LTE predicate on the "utcModified" field.
func UtcModifiedNEQ ¶
UtcModifiedNEQ applies the NEQ predicate on the "utcModified" field.
func UtcModifiedNotIn ¶
UtcModifiedNotIn applies the NotIn predicate on the "utcModified" field.
func UtcModifiedNotNil ¶
UtcModifiedNotNil applies the NotNil predicate on the "utcModified" field.
func UtcOnline ¶
UtcOnline applies equality check predicate on the "utcOnline" field. It's identical to UtcOnlineEQ.
func UtcOnlineContains ¶
UtcOnlineContains applies the Contains predicate on the "utcOnline" field.
func UtcOnlineContainsFold ¶
UtcOnlineContainsFold applies the ContainsFold predicate on the "utcOnline" field.
func UtcOnlineEQ ¶
UtcOnlineEQ applies the EQ predicate on the "utcOnline" field.
func UtcOnlineEqualFold ¶
UtcOnlineEqualFold applies the EqualFold predicate on the "utcOnline" field.
func UtcOnlineGT ¶
UtcOnlineGT applies the GT predicate on the "utcOnline" field.
func UtcOnlineGTE ¶
UtcOnlineGTE applies the GTE predicate on the "utcOnline" field.
func UtcOnlineHasPrefix ¶
UtcOnlineHasPrefix applies the HasPrefix predicate on the "utcOnline" field.
func UtcOnlineHasSuffix ¶
UtcOnlineHasSuffix applies the HasSuffix predicate on the "utcOnline" field.
func UtcOnlineIn ¶
UtcOnlineIn applies the In predicate on the "utcOnline" field.
func UtcOnlineIsNil ¶
UtcOnlineIsNil applies the IsNil predicate on the "utcOnline" field.
func UtcOnlineLT ¶
UtcOnlineLT applies the LT predicate on the "utcOnline" field.
func UtcOnlineLTE ¶
UtcOnlineLTE applies the LTE predicate on the "utcOnline" field.
func UtcOnlineNEQ ¶
UtcOnlineNEQ applies the NEQ predicate on the "utcOnline" field.
func UtcOnlineNotIn ¶
UtcOnlineNotIn applies the NotIn predicate on the "utcOnline" field.
func UtcOnlineNotNil ¶
UtcOnlineNotNil applies the NotNil predicate on the "utcOnline" 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 Device queries.
func ByCompanies ¶
func ByCompanies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCompanies orders the results by companies terms.
func ByCompaniesCount ¶
func ByCompaniesCount(opts ...sql.OrderTermOption) OrderOption
ByCompaniesCount orders the results by companies count.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeviceName ¶
func ByDeviceName(opts ...sql.OrderTermOption) OrderOption
ByDeviceName orders the results by the deviceName field.
func ByDeviceSecret ¶
func ByDeviceSecret(opts ...sql.OrderTermOption) OrderOption
ByDeviceSecret orders the results by the deviceSecret field.
func ByDeviceStatus ¶
func ByDeviceStatus(opts ...sql.OrderTermOption) OrderOption
ByDeviceStatus orders the results by the deviceStatus field.
func ByFirmwareVersion ¶
func ByFirmwareVersion(opts ...sql.OrderTermOption) OrderOption
ByFirmwareVersion orders the results by the firmwareVersion field.
func ByGmtActive ¶
func ByGmtActive(opts ...sql.OrderTermOption) OrderOption
ByGmtActive orders the results by the gmtActive field.
func ByGmtCreate ¶
func ByGmtCreate(opts ...sql.OrderTermOption) OrderOption
ByGmtCreate orders the results by the gmtCreate field.
func ByGmtModified ¶
func ByGmtModified(opts ...sql.OrderTermOption) OrderOption
ByGmtModified orders the results by the gmtModified field.
func ByGmtOnline ¶
func ByGmtOnline(opts ...sql.OrderTermOption) OrderOption
ByGmtOnline orders the results by the gmtOnline field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIPAddress ¶
func ByIPAddress(opts ...sql.OrderTermOption) OrderOption
ByIPAddress orders the results by the IPAddress field.
func ByIotID ¶
func ByIotID(opts ...sql.OrderTermOption) OrderOption
ByIotID orders the results by the iotID field.
func ByMembers ¶
func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMembers orders the results by members terms.
func ByMembersCount ¶
func ByMembersCount(opts ...sql.OrderTermOption) OrderOption
ByMembersCount orders the results by members count.
func ByNickname ¶
func ByNickname(opts ...sql.OrderTermOption) OrderOption
ByNickname orders the results by the nickname field.
func ByNodeType ¶
func ByNodeType(opts ...sql.OrderTermOption) OrderOption
ByNodeType orders the results by the nodeType field.
func ByOperationalStatus ¶
func ByOperationalStatus(opts ...sql.OrderTermOption) OrderOption
ByOperationalStatus orders the results by the operationalStatus field.
func ByOperationalStatusCode ¶
func ByOperationalStatusCode(opts ...sql.OrderTermOption) OrderOption
ByOperationalStatusCode orders the results by the operationalStatusCode field.
func ByOwner ¶
func ByOwner(opts ...sql.OrderTermOption) OrderOption
ByOwner orders the results by the owner field.
func ByProductField ¶
func ByProductField(field string, opts ...sql.OrderTermOption) OrderOption
ByProductField orders the results by product field.
func ByProductKey ¶
func ByProductKey(opts ...sql.OrderTermOption) OrderOption
ByProductKey orders the results by the productKey field.
func ByProductName ¶
func ByProductName(opts ...sql.OrderTermOption) OrderOption
ByProductName orders the results by the productName field.
func ByPropField ¶
func ByPropField(field string, opts ...sql.OrderTermOption) OrderOption
ByPropField orders the results by prop field.
func ByRegion ¶
func ByRegion(opts ...sql.OrderTermOption) OrderOption
ByRegion orders the results by the region field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTag ¶
func ByTag(opts ...sql.OrderTermOption) OrderOption
ByTag orders the results by the tag field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUtcActive ¶
func ByUtcActive(opts ...sql.OrderTermOption) OrderOption
ByUtcActive orders the results by the utcActive field.
func ByUtcCreate ¶
func ByUtcCreate(opts ...sql.OrderTermOption) OrderOption
ByUtcCreate orders the results by the utcCreate field.
func ByUtcModified ¶
func ByUtcModified(opts ...sql.OrderTermOption) OrderOption
ByUtcModified orders the results by the utcModified field.
func ByUtcOnline ¶
func ByUtcOnline(opts ...sql.OrderTermOption) OrderOption
ByUtcOnline orders the results by the utcOnline field.