Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxyUserDevice) predicate.ProxyUserDevice
- func CreatedAt(v time.Time) predicate.ProxyUserDevice
- func CreatedAtEQ(v time.Time) predicate.ProxyUserDevice
- func CreatedAtGT(v time.Time) predicate.ProxyUserDevice
- func CreatedAtGTE(v time.Time) predicate.ProxyUserDevice
- func CreatedAtIn(vs ...time.Time) predicate.ProxyUserDevice
- func CreatedAtLT(v time.Time) predicate.ProxyUserDevice
- func CreatedAtLTE(v time.Time) predicate.ProxyUserDevice
- func CreatedAtNEQ(v time.Time) predicate.ProxyUserDevice
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyUserDevice
- func Enabled(v bool) predicate.ProxyUserDevice
- func EnabledEQ(v bool) predicate.ProxyUserDevice
- func EnabledNEQ(v bool) predicate.ProxyUserDevice
- func ID(id int64) predicate.ProxyUserDevice
- func IDEQ(id int64) predicate.ProxyUserDevice
- func IDGT(id int64) predicate.ProxyUserDevice
- func IDGTE(id int64) predicate.ProxyUserDevice
- func IDIn(ids ...int64) predicate.ProxyUserDevice
- func IDLT(id int64) predicate.ProxyUserDevice
- func IDLTE(id int64) predicate.ProxyUserDevice
- func IDNEQ(id int64) predicate.ProxyUserDevice
- func IDNotIn(ids ...int64) predicate.ProxyUserDevice
- func IP(v string) predicate.ProxyUserDevice
- func IPContains(v string) predicate.ProxyUserDevice
- func IPContainsFold(v string) predicate.ProxyUserDevice
- func IPEQ(v string) predicate.ProxyUserDevice
- func IPEqualFold(v string) predicate.ProxyUserDevice
- func IPGT(v string) predicate.ProxyUserDevice
- func IPGTE(v string) predicate.ProxyUserDevice
- func IPHasPrefix(v string) predicate.ProxyUserDevice
- func IPHasSuffix(v string) predicate.ProxyUserDevice
- func IPIn(vs ...string) predicate.ProxyUserDevice
- func IPIsNil() predicate.ProxyUserDevice
- func IPLT(v string) predicate.ProxyUserDevice
- func IPLTE(v string) predicate.ProxyUserDevice
- func IPNEQ(v string) predicate.ProxyUserDevice
- func IPNotIn(vs ...string) predicate.ProxyUserDevice
- func IPNotNil() predicate.ProxyUserDevice
- func Identifier(v string) predicate.ProxyUserDevice
- func IdentifierContains(v string) predicate.ProxyUserDevice
- func IdentifierContainsFold(v string) predicate.ProxyUserDevice
- func IdentifierEQ(v string) predicate.ProxyUserDevice
- func IdentifierEqualFold(v string) predicate.ProxyUserDevice
- func IdentifierGT(v string) predicate.ProxyUserDevice
- func IdentifierGTE(v string) predicate.ProxyUserDevice
- func IdentifierHasPrefix(v string) predicate.ProxyUserDevice
- func IdentifierHasSuffix(v string) predicate.ProxyUserDevice
- func IdentifierIn(vs ...string) predicate.ProxyUserDevice
- func IdentifierIsNil() predicate.ProxyUserDevice
- func IdentifierLT(v string) predicate.ProxyUserDevice
- func IdentifierLTE(v string) predicate.ProxyUserDevice
- func IdentifierNEQ(v string) predicate.ProxyUserDevice
- func IdentifierNotIn(vs ...string) predicate.ProxyUserDevice
- func IdentifierNotNil() predicate.ProxyUserDevice
- func Not(p predicate.ProxyUserDevice) predicate.ProxyUserDevice
- func Online(v bool) predicate.ProxyUserDevice
- func OnlineEQ(v bool) predicate.ProxyUserDevice
- func OnlineNEQ(v bool) predicate.ProxyUserDevice
- func Or(predicates ...predicate.ProxyUserDevice) predicate.ProxyUserDevice
- func ShortCode(v string) predicate.ProxyUserDevice
- func ShortCodeContains(v string) predicate.ProxyUserDevice
- func ShortCodeContainsFold(v string) predicate.ProxyUserDevice
- func ShortCodeEQ(v string) predicate.ProxyUserDevice
- func ShortCodeEqualFold(v string) predicate.ProxyUserDevice
- func ShortCodeGT(v string) predicate.ProxyUserDevice
- func ShortCodeGTE(v string) predicate.ProxyUserDevice
- func ShortCodeHasPrefix(v string) predicate.ProxyUserDevice
- func ShortCodeHasSuffix(v string) predicate.ProxyUserDevice
- func ShortCodeIn(vs ...string) predicate.ProxyUserDevice
- func ShortCodeLT(v string) predicate.ProxyUserDevice
- func ShortCodeLTE(v string) predicate.ProxyUserDevice
- func ShortCodeNEQ(v string) predicate.ProxyUserDevice
- func ShortCodeNotIn(vs ...string) predicate.ProxyUserDevice
- func SubscribeID(v int64) predicate.ProxyUserDevice
- func SubscribeIDEQ(v int64) predicate.ProxyUserDevice
- func SubscribeIDGT(v int64) predicate.ProxyUserDevice
- func SubscribeIDGTE(v int64) predicate.ProxyUserDevice
- func SubscribeIDIn(vs ...int64) predicate.ProxyUserDevice
- func SubscribeIDIsNil() predicate.ProxyUserDevice
- func SubscribeIDLT(v int64) predicate.ProxyUserDevice
- func SubscribeIDLTE(v int64) predicate.ProxyUserDevice
- func SubscribeIDNEQ(v int64) predicate.ProxyUserDevice
- func SubscribeIDNotIn(vs ...int64) predicate.ProxyUserDevice
- func SubscribeIDNotNil() predicate.ProxyUserDevice
- func UpdatedAt(v time.Time) predicate.ProxyUserDevice
- func UpdatedAtEQ(v time.Time) predicate.ProxyUserDevice
- func UpdatedAtGT(v time.Time) predicate.ProxyUserDevice
- func UpdatedAtGTE(v time.Time) predicate.ProxyUserDevice
- func UpdatedAtIn(vs ...time.Time) predicate.ProxyUserDevice
- func UpdatedAtLT(v time.Time) predicate.ProxyUserDevice
- func UpdatedAtLTE(v time.Time) predicate.ProxyUserDevice
- func UpdatedAtNEQ(v time.Time) predicate.ProxyUserDevice
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyUserDevice
- func UserAgent(v string) predicate.ProxyUserDevice
- func UserAgentContains(v string) predicate.ProxyUserDevice
- func UserAgentContainsFold(v string) predicate.ProxyUserDevice
- func UserAgentEQ(v string) predicate.ProxyUserDevice
- func UserAgentEqualFold(v string) predicate.ProxyUserDevice
- func UserAgentGT(v string) predicate.ProxyUserDevice
- func UserAgentGTE(v string) predicate.ProxyUserDevice
- func UserAgentHasPrefix(v string) predicate.ProxyUserDevice
- func UserAgentHasSuffix(v string) predicate.ProxyUserDevice
- func UserAgentIn(vs ...string) predicate.ProxyUserDevice
- func UserAgentIsNil() predicate.ProxyUserDevice
- func UserAgentLT(v string) predicate.ProxyUserDevice
- func UserAgentLTE(v string) predicate.ProxyUserDevice
- func UserAgentNEQ(v string) predicate.ProxyUserDevice
- func UserAgentNotIn(vs ...string) predicate.ProxyUserDevice
- func UserAgentNotNil() predicate.ProxyUserDevice
- func UserID(v int64) predicate.ProxyUserDevice
- func UserIDEQ(v int64) predicate.ProxyUserDevice
- func UserIDGT(v int64) predicate.ProxyUserDevice
- func UserIDGTE(v int64) predicate.ProxyUserDevice
- func UserIDIn(vs ...int64) predicate.ProxyUserDevice
- func UserIDLT(v int64) predicate.ProxyUserDevice
- func UserIDLTE(v int64) predicate.ProxyUserDevice
- func UserIDNEQ(v int64) predicate.ProxyUserDevice
- func UserIDNotIn(vs ...int64) predicate.ProxyUserDevice
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIP(opts ...sql.OrderTermOption) OrderOption
- func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
- func ByOnline(opts ...sql.OrderTermOption) OrderOption
- func ByShortCode(opts ...sql.OrderTermOption) OrderOption
- func BySubscribeID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserAgent(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxyuserdevice type in the database. Label = "proxy_user_device" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldSubscribeID holds the string denoting the subscribe_id field in the database. FieldSubscribeID = "subscribe_id" // FieldIP holds the string denoting the ip field in the database. FieldIP = "ip" // FieldUserAgent holds the string denoting the user_agent field in the database. FieldUserAgent = "user_agent" // FieldIdentifier holds the string denoting the identifier field in the database. FieldIdentifier = "Identifier" // FieldShortCode holds the string denoting the short_code field in the database. FieldShortCode = "short_code" // FieldOnline holds the string denoting the online field in the database. FieldOnline = "online" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // 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" // Table holds the table name of the proxyuserdevice in the database. Table = "user_device" )
Variables ¶
var ( // IPValidator is a validator for the "ip" field. It is called by the builders before save. IPValidator func(string) error // UserAgentValidator is a validator for the "user_agent" field. It is called by the builders before save. UserAgentValidator func(string) error // IdentifierValidator is a validator for the "identifier" field. It is called by the builders before save. IdentifierValidator func(string) error // DefaultShortCode holds the default value on creation for the "short_code" field. DefaultShortCode string // ShortCodeValidator is a validator for the "short_code" field. It is called by the builders before save. ShortCodeValidator func(string) error // DefaultOnline holds the default value on creation for the "online" field. DefaultOnline bool // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool // 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 // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(int64) error )
var Columns = []string{ FieldID, FieldUserID, FieldSubscribeID, FieldIP, FieldUserAgent, FieldIdentifier, FieldShortCode, FieldOnline, FieldEnabled, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxyuserdevice fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxyUserDevice) predicate.ProxyUserDevice
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxyUserDevice
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxyUserDevice
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxyUserDevice
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxyUserDevice
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxyUserDevice
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxyUserDevice
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxyUserDevice
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxyUserDevice
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxyUserDevice
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Enabled ¶
func Enabled(v bool) predicate.ProxyUserDevice
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledEQ ¶
func EnabledEQ(v bool) predicate.ProxyUserDevice
EnabledEQ applies the EQ predicate on the "enabled" field.
func EnabledNEQ ¶
func EnabledNEQ(v bool) predicate.ProxyUserDevice
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxyUserDevice
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxyUserDevice
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxyUserDevice
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxyUserDevice
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxyUserDevice
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxyUserDevice
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxyUserDevice
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxyUserDevice
IDNotIn applies the NotIn predicate on the ID field.
func IP ¶
func IP(v string) predicate.ProxyUserDevice
IP applies equality check predicate on the "ip" field. It's identical to IPEQ.
func IPContains ¶
func IPContains(v string) predicate.ProxyUserDevice
IPContains applies the Contains predicate on the "ip" field.
func IPContainsFold ¶
func IPContainsFold(v string) predicate.ProxyUserDevice
IPContainsFold applies the ContainsFold predicate on the "ip" field.
func IPEQ ¶
func IPEQ(v string) predicate.ProxyUserDevice
IPEQ applies the EQ predicate on the "ip" field.
func IPEqualFold ¶
func IPEqualFold(v string) predicate.ProxyUserDevice
IPEqualFold applies the EqualFold predicate on the "ip" field.
func IPGT ¶
func IPGT(v string) predicate.ProxyUserDevice
IPGT applies the GT predicate on the "ip" field.
func IPGTE ¶
func IPGTE(v string) predicate.ProxyUserDevice
IPGTE applies the GTE predicate on the "ip" field.
func IPHasPrefix ¶
func IPHasPrefix(v string) predicate.ProxyUserDevice
IPHasPrefix applies the HasPrefix predicate on the "ip" field.
func IPHasSuffix ¶
func IPHasSuffix(v string) predicate.ProxyUserDevice
IPHasSuffix applies the HasSuffix predicate on the "ip" field.
func IPIn ¶
func IPIn(vs ...string) predicate.ProxyUserDevice
IPIn applies the In predicate on the "ip" field.
func IPIsNil ¶
func IPIsNil() predicate.ProxyUserDevice
IPIsNil applies the IsNil predicate on the "ip" field.
func IPLT ¶
func IPLT(v string) predicate.ProxyUserDevice
IPLT applies the LT predicate on the "ip" field.
func IPLTE ¶
func IPLTE(v string) predicate.ProxyUserDevice
IPLTE applies the LTE predicate on the "ip" field.
func IPNEQ ¶
func IPNEQ(v string) predicate.ProxyUserDevice
IPNEQ applies the NEQ predicate on the "ip" field.
func IPNotIn ¶
func IPNotIn(vs ...string) predicate.ProxyUserDevice
IPNotIn applies the NotIn predicate on the "ip" field.
func IPNotNil ¶
func IPNotNil() predicate.ProxyUserDevice
IPNotNil applies the NotNil predicate on the "ip" field.
func Identifier ¶
func Identifier(v string) predicate.ProxyUserDevice
Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.
func IdentifierContains ¶
func IdentifierContains(v string) predicate.ProxyUserDevice
IdentifierContains applies the Contains predicate on the "identifier" field.
func IdentifierContainsFold ¶
func IdentifierContainsFold(v string) predicate.ProxyUserDevice
IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.
func IdentifierEQ ¶
func IdentifierEQ(v string) predicate.ProxyUserDevice
IdentifierEQ applies the EQ predicate on the "identifier" field.
func IdentifierEqualFold ¶
func IdentifierEqualFold(v string) predicate.ProxyUserDevice
IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.
func IdentifierGT ¶
func IdentifierGT(v string) predicate.ProxyUserDevice
IdentifierGT applies the GT predicate on the "identifier" field.
func IdentifierGTE ¶
func IdentifierGTE(v string) predicate.ProxyUserDevice
IdentifierGTE applies the GTE predicate on the "identifier" field.
func IdentifierHasPrefix ¶
func IdentifierHasPrefix(v string) predicate.ProxyUserDevice
IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.
func IdentifierHasSuffix ¶
func IdentifierHasSuffix(v string) predicate.ProxyUserDevice
IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.
func IdentifierIn ¶
func IdentifierIn(vs ...string) predicate.ProxyUserDevice
IdentifierIn applies the In predicate on the "identifier" field.
func IdentifierIsNil ¶
func IdentifierIsNil() predicate.ProxyUserDevice
IdentifierIsNil applies the IsNil predicate on the "identifier" field.
func IdentifierLT ¶
func IdentifierLT(v string) predicate.ProxyUserDevice
IdentifierLT applies the LT predicate on the "identifier" field.
func IdentifierLTE ¶
func IdentifierLTE(v string) predicate.ProxyUserDevice
IdentifierLTE applies the LTE predicate on the "identifier" field.
func IdentifierNEQ ¶
func IdentifierNEQ(v string) predicate.ProxyUserDevice
IdentifierNEQ applies the NEQ predicate on the "identifier" field.
func IdentifierNotIn ¶
func IdentifierNotIn(vs ...string) predicate.ProxyUserDevice
IdentifierNotIn applies the NotIn predicate on the "identifier" field.
func IdentifierNotNil ¶
func IdentifierNotNil() predicate.ProxyUserDevice
IdentifierNotNil applies the NotNil predicate on the "identifier" field.
func Not ¶
func Not(p predicate.ProxyUserDevice) predicate.ProxyUserDevice
Not applies the not operator on the given predicate.
func Online ¶
func Online(v bool) predicate.ProxyUserDevice
Online applies equality check predicate on the "online" field. It's identical to OnlineEQ.
func OnlineEQ ¶
func OnlineEQ(v bool) predicate.ProxyUserDevice
OnlineEQ applies the EQ predicate on the "online" field.
func OnlineNEQ ¶
func OnlineNEQ(v bool) predicate.ProxyUserDevice
OnlineNEQ applies the NEQ predicate on the "online" field.
func Or ¶
func Or(predicates ...predicate.ProxyUserDevice) predicate.ProxyUserDevice
Or groups predicates with the OR operator between them.
func ShortCode ¶
func ShortCode(v string) predicate.ProxyUserDevice
ShortCode applies equality check predicate on the "short_code" field. It's identical to ShortCodeEQ.
func ShortCodeContains ¶
func ShortCodeContains(v string) predicate.ProxyUserDevice
ShortCodeContains applies the Contains predicate on the "short_code" field.
func ShortCodeContainsFold ¶
func ShortCodeContainsFold(v string) predicate.ProxyUserDevice
ShortCodeContainsFold applies the ContainsFold predicate on the "short_code" field.
func ShortCodeEQ ¶
func ShortCodeEQ(v string) predicate.ProxyUserDevice
ShortCodeEQ applies the EQ predicate on the "short_code" field.
func ShortCodeEqualFold ¶
func ShortCodeEqualFold(v string) predicate.ProxyUserDevice
ShortCodeEqualFold applies the EqualFold predicate on the "short_code" field.
func ShortCodeGT ¶
func ShortCodeGT(v string) predicate.ProxyUserDevice
ShortCodeGT applies the GT predicate on the "short_code" field.
func ShortCodeGTE ¶
func ShortCodeGTE(v string) predicate.ProxyUserDevice
ShortCodeGTE applies the GTE predicate on the "short_code" field.
func ShortCodeHasPrefix ¶
func ShortCodeHasPrefix(v string) predicate.ProxyUserDevice
ShortCodeHasPrefix applies the HasPrefix predicate on the "short_code" field.
func ShortCodeHasSuffix ¶
func ShortCodeHasSuffix(v string) predicate.ProxyUserDevice
ShortCodeHasSuffix applies the HasSuffix predicate on the "short_code" field.
func ShortCodeIn ¶
func ShortCodeIn(vs ...string) predicate.ProxyUserDevice
ShortCodeIn applies the In predicate on the "short_code" field.
func ShortCodeLT ¶
func ShortCodeLT(v string) predicate.ProxyUserDevice
ShortCodeLT applies the LT predicate on the "short_code" field.
func ShortCodeLTE ¶
func ShortCodeLTE(v string) predicate.ProxyUserDevice
ShortCodeLTE applies the LTE predicate on the "short_code" field.
func ShortCodeNEQ ¶
func ShortCodeNEQ(v string) predicate.ProxyUserDevice
ShortCodeNEQ applies the NEQ predicate on the "short_code" field.
func ShortCodeNotIn ¶
func ShortCodeNotIn(vs ...string) predicate.ProxyUserDevice
ShortCodeNotIn applies the NotIn predicate on the "short_code" field.
func SubscribeID ¶
func SubscribeID(v int64) predicate.ProxyUserDevice
SubscribeID applies equality check predicate on the "subscribe_id" field. It's identical to SubscribeIDEQ.
func SubscribeIDEQ ¶
func SubscribeIDEQ(v int64) predicate.ProxyUserDevice
SubscribeIDEQ applies the EQ predicate on the "subscribe_id" field.
func SubscribeIDGT ¶
func SubscribeIDGT(v int64) predicate.ProxyUserDevice
SubscribeIDGT applies the GT predicate on the "subscribe_id" field.
func SubscribeIDGTE ¶
func SubscribeIDGTE(v int64) predicate.ProxyUserDevice
SubscribeIDGTE applies the GTE predicate on the "subscribe_id" field.
func SubscribeIDIn ¶
func SubscribeIDIn(vs ...int64) predicate.ProxyUserDevice
SubscribeIDIn applies the In predicate on the "subscribe_id" field.
func SubscribeIDIsNil ¶
func SubscribeIDIsNil() predicate.ProxyUserDevice
SubscribeIDIsNil applies the IsNil predicate on the "subscribe_id" field.
func SubscribeIDLT ¶
func SubscribeIDLT(v int64) predicate.ProxyUserDevice
SubscribeIDLT applies the LT predicate on the "subscribe_id" field.
func SubscribeIDLTE ¶
func SubscribeIDLTE(v int64) predicate.ProxyUserDevice
SubscribeIDLTE applies the LTE predicate on the "subscribe_id" field.
func SubscribeIDNEQ ¶
func SubscribeIDNEQ(v int64) predicate.ProxyUserDevice
SubscribeIDNEQ applies the NEQ predicate on the "subscribe_id" field.
func SubscribeIDNotIn ¶
func SubscribeIDNotIn(vs ...int64) predicate.ProxyUserDevice
SubscribeIDNotIn applies the NotIn predicate on the "subscribe_id" field.
func SubscribeIDNotNil ¶
func SubscribeIDNotNil() predicate.ProxyUserDevice
SubscribeIDNotNil applies the NotNil predicate on the "subscribe_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProxyUserDevice
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProxyUserDevice
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProxyUserDevice
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProxyUserDevice
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProxyUserDevice
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProxyUserDevice
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProxyUserDevice
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProxyUserDevice
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyUserDevice
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserAgent ¶
func UserAgent(v string) predicate.ProxyUserDevice
UserAgent applies equality check predicate on the "user_agent" field. It's identical to UserAgentEQ.
func UserAgentContains ¶
func UserAgentContains(v string) predicate.ProxyUserDevice
UserAgentContains applies the Contains predicate on the "user_agent" field.
func UserAgentContainsFold ¶
func UserAgentContainsFold(v string) predicate.ProxyUserDevice
UserAgentContainsFold applies the ContainsFold predicate on the "user_agent" field.
func UserAgentEQ ¶
func UserAgentEQ(v string) predicate.ProxyUserDevice
UserAgentEQ applies the EQ predicate on the "user_agent" field.
func UserAgentEqualFold ¶
func UserAgentEqualFold(v string) predicate.ProxyUserDevice
UserAgentEqualFold applies the EqualFold predicate on the "user_agent" field.
func UserAgentGT ¶
func UserAgentGT(v string) predicate.ProxyUserDevice
UserAgentGT applies the GT predicate on the "user_agent" field.
func UserAgentGTE ¶
func UserAgentGTE(v string) predicate.ProxyUserDevice
UserAgentGTE applies the GTE predicate on the "user_agent" field.
func UserAgentHasPrefix ¶
func UserAgentHasPrefix(v string) predicate.ProxyUserDevice
UserAgentHasPrefix applies the HasPrefix predicate on the "user_agent" field.
func UserAgentHasSuffix ¶
func UserAgentHasSuffix(v string) predicate.ProxyUserDevice
UserAgentHasSuffix applies the HasSuffix predicate on the "user_agent" field.
func UserAgentIn ¶
func UserAgentIn(vs ...string) predicate.ProxyUserDevice
UserAgentIn applies the In predicate on the "user_agent" field.
func UserAgentIsNil ¶
func UserAgentIsNil() predicate.ProxyUserDevice
UserAgentIsNil applies the IsNil predicate on the "user_agent" field.
func UserAgentLT ¶
func UserAgentLT(v string) predicate.ProxyUserDevice
UserAgentLT applies the LT predicate on the "user_agent" field.
func UserAgentLTE ¶
func UserAgentLTE(v string) predicate.ProxyUserDevice
UserAgentLTE applies the LTE predicate on the "user_agent" field.
func UserAgentNEQ ¶
func UserAgentNEQ(v string) predicate.ProxyUserDevice
UserAgentNEQ applies the NEQ predicate on the "user_agent" field.
func UserAgentNotIn ¶
func UserAgentNotIn(vs ...string) predicate.ProxyUserDevice
UserAgentNotIn applies the NotIn predicate on the "user_agent" field.
func UserAgentNotNil ¶
func UserAgentNotNil() predicate.ProxyUserDevice
UserAgentNotNil applies the NotNil predicate on the "user_agent" field.
func UserID ¶
func UserID(v int64) predicate.ProxyUserDevice
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int64) predicate.ProxyUserDevice
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v int64) predicate.ProxyUserDevice
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v int64) predicate.ProxyUserDevice
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int64) predicate.ProxyUserDevice
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v int64) predicate.ProxyUserDevice
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v int64) predicate.ProxyUserDevice
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int64) predicate.ProxyUserDevice
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int64) predicate.ProxyUserDevice
UserIDNotIn applies the NotIn predicate on the "user_id" 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 ProxyUserDevice queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIP ¶
func ByIP(opts ...sql.OrderTermOption) OrderOption
ByIP orders the results by the ip field.
func ByIdentifier ¶
func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
ByIdentifier orders the results by the identifier field.
func ByOnline ¶
func ByOnline(opts ...sql.OrderTermOption) OrderOption
ByOnline orders the results by the online field.
func ByShortCode ¶
func ByShortCode(opts ...sql.OrderTermOption) OrderOption
ByShortCode orders the results by the short_code field.
func BySubscribeID ¶
func BySubscribeID(opts ...sql.OrderTermOption) OrderOption
BySubscribeID orders the results by the subscribe_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserAgent ¶
func ByUserAgent(opts ...sql.OrderTermOption) OrderOption
ByUserAgent orders the results by the user_agent field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.