Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxyUserDeviceOnlineRecord) predicate.ProxyUserDeviceOnlineRecord
- func CreatedAt(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func CreatedAtEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func CreatedAtGT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func CreatedAtGTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func CreatedAtIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
- func CreatedAtLT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func CreatedAtLTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func CreatedAtNEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
- func DurationDays(v int64) predicate.ProxyUserDeviceOnlineRecord
- func DurationDaysEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
- func DurationDaysGT(v int64) predicate.ProxyUserDeviceOnlineRecord
- func DurationDaysGTE(v int64) predicate.ProxyUserDeviceOnlineRecord
- func DurationDaysIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
- func DurationDaysIsNil() predicate.ProxyUserDeviceOnlineRecord
- func DurationDaysLT(v int64) predicate.ProxyUserDeviceOnlineRecord
- func DurationDaysLTE(v int64) predicate.ProxyUserDeviceOnlineRecord
- func DurationDaysNEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
- func DurationDaysNotIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
- func DurationDaysNotNil() predicate.ProxyUserDeviceOnlineRecord
- func ID(id int64) predicate.ProxyUserDeviceOnlineRecord
- func IDEQ(id int64) predicate.ProxyUserDeviceOnlineRecord
- func IDGT(id int64) predicate.ProxyUserDeviceOnlineRecord
- func IDGTE(id int64) predicate.ProxyUserDeviceOnlineRecord
- func IDIn(ids ...int64) predicate.ProxyUserDeviceOnlineRecord
- func IDLT(id int64) predicate.ProxyUserDeviceOnlineRecord
- func IDLTE(id int64) predicate.ProxyUserDeviceOnlineRecord
- func IDNEQ(id int64) predicate.ProxyUserDeviceOnlineRecord
- func IDNotIn(ids ...int64) predicate.ProxyUserDeviceOnlineRecord
- func Identifier(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierContains(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierContainsFold(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierEQ(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierEqualFold(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierGT(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierGTE(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierHasPrefix(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierHasSuffix(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierIn(vs ...string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierLT(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierLTE(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierNEQ(v string) predicate.ProxyUserDeviceOnlineRecord
- func IdentifierNotIn(vs ...string) predicate.ProxyUserDeviceOnlineRecord
- func Not(p predicate.ProxyUserDeviceOnlineRecord) predicate.ProxyUserDeviceOnlineRecord
- func OfflineTime(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OfflineTimeEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OfflineTimeGT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OfflineTimeGTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OfflineTimeIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OfflineTimeIsNil() predicate.ProxyUserDeviceOnlineRecord
- func OfflineTimeLT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OfflineTimeLTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OfflineTimeNEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OfflineTimeNotIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OfflineTimeNotNil() predicate.ProxyUserDeviceOnlineRecord
- func OnlineSeconds(v int64) predicate.ProxyUserDeviceOnlineRecord
- func OnlineSecondsEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
- func OnlineSecondsGT(v int64) predicate.ProxyUserDeviceOnlineRecord
- func OnlineSecondsGTE(v int64) predicate.ProxyUserDeviceOnlineRecord
- func OnlineSecondsIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
- func OnlineSecondsIsNil() predicate.ProxyUserDeviceOnlineRecord
- func OnlineSecondsLT(v int64) predicate.ProxyUserDeviceOnlineRecord
- func OnlineSecondsLTE(v int64) predicate.ProxyUserDeviceOnlineRecord
- func OnlineSecondsNEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
- func OnlineSecondsNotIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
- func OnlineSecondsNotNil() predicate.ProxyUserDeviceOnlineRecord
- func OnlineTime(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OnlineTimeEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OnlineTimeGT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OnlineTimeGTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OnlineTimeIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OnlineTimeIsNil() predicate.ProxyUserDeviceOnlineRecord
- func OnlineTimeLT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OnlineTimeLTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OnlineTimeNEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OnlineTimeNotIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
- func OnlineTimeNotNil() predicate.ProxyUserDeviceOnlineRecord
- func Or(predicates ...predicate.ProxyUserDeviceOnlineRecord) predicate.ProxyUserDeviceOnlineRecord
- func UserID(v int64) predicate.ProxyUserDeviceOnlineRecord
- func UserIDEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
- func UserIDGT(v int64) predicate.ProxyUserDeviceOnlineRecord
- func UserIDGTE(v int64) predicate.ProxyUserDeviceOnlineRecord
- func UserIDIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
- func UserIDLT(v int64) predicate.ProxyUserDeviceOnlineRecord
- func UserIDLTE(v int64) predicate.ProxyUserDeviceOnlineRecord
- func UserIDNEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
- func UserIDNotIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDurationDays(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
- func ByOfflineTime(opts ...sql.OrderTermOption) OrderOption
- func ByOnlineSeconds(opts ...sql.OrderTermOption) OrderOption
- func ByOnlineTime(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxyuserdeviceonlinerecord type in the database. Label = "proxy_user_device_online_record" // 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" // FieldIdentifier holds the string denoting the identifier field in the database. FieldIdentifier = "identifier" // FieldOnlineTime holds the string denoting the online_time field in the database. FieldOnlineTime = "online_time" // FieldOfflineTime holds the string denoting the offline_time field in the database. FieldOfflineTime = "offline_time" // FieldOnlineSeconds holds the string denoting the online_seconds field in the database. FieldOnlineSeconds = "online_seconds" // FieldDurationDays holds the string denoting the duration_days field in the database. FieldDurationDays = "duration_days" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // Table holds the table name of the proxyuserdeviceonlinerecord in the database. Table = "user_device_online_record" )
Variables ¶
var ( // IdentifierValidator is a validator for the "identifier" field. It is called by the builders before save. IdentifierValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt 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, FieldIdentifier, FieldOnlineTime, FieldOfflineTime, FieldOnlineSeconds, FieldDurationDays, FieldCreatedAt, }
Columns holds all SQL columns for proxyuserdeviceonlinerecord fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxyUserDeviceOnlineRecord) predicate.ProxyUserDeviceOnlineRecord
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxyUserDeviceOnlineRecord
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DurationDays ¶
func DurationDays(v int64) predicate.ProxyUserDeviceOnlineRecord
DurationDays applies equality check predicate on the "duration_days" field. It's identical to DurationDaysEQ.
func DurationDaysEQ ¶
func DurationDaysEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
DurationDaysEQ applies the EQ predicate on the "duration_days" field.
func DurationDaysGT ¶
func DurationDaysGT(v int64) predicate.ProxyUserDeviceOnlineRecord
DurationDaysGT applies the GT predicate on the "duration_days" field.
func DurationDaysGTE ¶
func DurationDaysGTE(v int64) predicate.ProxyUserDeviceOnlineRecord
DurationDaysGTE applies the GTE predicate on the "duration_days" field.
func DurationDaysIn ¶
func DurationDaysIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
DurationDaysIn applies the In predicate on the "duration_days" field.
func DurationDaysIsNil ¶
func DurationDaysIsNil() predicate.ProxyUserDeviceOnlineRecord
DurationDaysIsNil applies the IsNil predicate on the "duration_days" field.
func DurationDaysLT ¶
func DurationDaysLT(v int64) predicate.ProxyUserDeviceOnlineRecord
DurationDaysLT applies the LT predicate on the "duration_days" field.
func DurationDaysLTE ¶
func DurationDaysLTE(v int64) predicate.ProxyUserDeviceOnlineRecord
DurationDaysLTE applies the LTE predicate on the "duration_days" field.
func DurationDaysNEQ ¶
func DurationDaysNEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
DurationDaysNEQ applies the NEQ predicate on the "duration_days" field.
func DurationDaysNotIn ¶
func DurationDaysNotIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
DurationDaysNotIn applies the NotIn predicate on the "duration_days" field.
func DurationDaysNotNil ¶
func DurationDaysNotNil() predicate.ProxyUserDeviceOnlineRecord
DurationDaysNotNil applies the NotNil predicate on the "duration_days" field.
func ID ¶
func ID(id int64) predicate.ProxyUserDeviceOnlineRecord
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxyUserDeviceOnlineRecord
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxyUserDeviceOnlineRecord
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxyUserDeviceOnlineRecord
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxyUserDeviceOnlineRecord
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxyUserDeviceOnlineRecord
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxyUserDeviceOnlineRecord
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxyUserDeviceOnlineRecord
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxyUserDeviceOnlineRecord
IDNotIn applies the NotIn predicate on the ID field.
func Identifier ¶
func Identifier(v string) predicate.ProxyUserDeviceOnlineRecord
Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.
func IdentifierContains ¶
func IdentifierContains(v string) predicate.ProxyUserDeviceOnlineRecord
IdentifierContains applies the Contains predicate on the "identifier" field.
func IdentifierContainsFold ¶
func IdentifierContainsFold(v string) predicate.ProxyUserDeviceOnlineRecord
IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.
func IdentifierEQ ¶
func IdentifierEQ(v string) predicate.ProxyUserDeviceOnlineRecord
IdentifierEQ applies the EQ predicate on the "identifier" field.
func IdentifierEqualFold ¶
func IdentifierEqualFold(v string) predicate.ProxyUserDeviceOnlineRecord
IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.
func IdentifierGT ¶
func IdentifierGT(v string) predicate.ProxyUserDeviceOnlineRecord
IdentifierGT applies the GT predicate on the "identifier" field.
func IdentifierGTE ¶
func IdentifierGTE(v string) predicate.ProxyUserDeviceOnlineRecord
IdentifierGTE applies the GTE predicate on the "identifier" field.
func IdentifierHasPrefix ¶
func IdentifierHasPrefix(v string) predicate.ProxyUserDeviceOnlineRecord
IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.
func IdentifierHasSuffix ¶
func IdentifierHasSuffix(v string) predicate.ProxyUserDeviceOnlineRecord
IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.
func IdentifierIn ¶
func IdentifierIn(vs ...string) predicate.ProxyUserDeviceOnlineRecord
IdentifierIn applies the In predicate on the "identifier" field.
func IdentifierLT ¶
func IdentifierLT(v string) predicate.ProxyUserDeviceOnlineRecord
IdentifierLT applies the LT predicate on the "identifier" field.
func IdentifierLTE ¶
func IdentifierLTE(v string) predicate.ProxyUserDeviceOnlineRecord
IdentifierLTE applies the LTE predicate on the "identifier" field.
func IdentifierNEQ ¶
func IdentifierNEQ(v string) predicate.ProxyUserDeviceOnlineRecord
IdentifierNEQ applies the NEQ predicate on the "identifier" field.
func IdentifierNotIn ¶
func IdentifierNotIn(vs ...string) predicate.ProxyUserDeviceOnlineRecord
IdentifierNotIn applies the NotIn predicate on the "identifier" field.
func OfflineTime ¶
func OfflineTime(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OfflineTime applies equality check predicate on the "offline_time" field. It's identical to OfflineTimeEQ.
func OfflineTimeEQ ¶
func OfflineTimeEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OfflineTimeEQ applies the EQ predicate on the "offline_time" field.
func OfflineTimeGT ¶
func OfflineTimeGT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OfflineTimeGT applies the GT predicate on the "offline_time" field.
func OfflineTimeGTE ¶
func OfflineTimeGTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OfflineTimeGTE applies the GTE predicate on the "offline_time" field.
func OfflineTimeIn ¶
func OfflineTimeIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
OfflineTimeIn applies the In predicate on the "offline_time" field.
func OfflineTimeIsNil ¶
func OfflineTimeIsNil() predicate.ProxyUserDeviceOnlineRecord
OfflineTimeIsNil applies the IsNil predicate on the "offline_time" field.
func OfflineTimeLT ¶
func OfflineTimeLT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OfflineTimeLT applies the LT predicate on the "offline_time" field.
func OfflineTimeLTE ¶
func OfflineTimeLTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OfflineTimeLTE applies the LTE predicate on the "offline_time" field.
func OfflineTimeNEQ ¶
func OfflineTimeNEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OfflineTimeNEQ applies the NEQ predicate on the "offline_time" field.
func OfflineTimeNotIn ¶
func OfflineTimeNotIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
OfflineTimeNotIn applies the NotIn predicate on the "offline_time" field.
func OfflineTimeNotNil ¶
func OfflineTimeNotNil() predicate.ProxyUserDeviceOnlineRecord
OfflineTimeNotNil applies the NotNil predicate on the "offline_time" field.
func OnlineSeconds ¶
func OnlineSeconds(v int64) predicate.ProxyUserDeviceOnlineRecord
OnlineSeconds applies equality check predicate on the "online_seconds" field. It's identical to OnlineSecondsEQ.
func OnlineSecondsEQ ¶
func OnlineSecondsEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
OnlineSecondsEQ applies the EQ predicate on the "online_seconds" field.
func OnlineSecondsGT ¶
func OnlineSecondsGT(v int64) predicate.ProxyUserDeviceOnlineRecord
OnlineSecondsGT applies the GT predicate on the "online_seconds" field.
func OnlineSecondsGTE ¶
func OnlineSecondsGTE(v int64) predicate.ProxyUserDeviceOnlineRecord
OnlineSecondsGTE applies the GTE predicate on the "online_seconds" field.
func OnlineSecondsIn ¶
func OnlineSecondsIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
OnlineSecondsIn applies the In predicate on the "online_seconds" field.
func OnlineSecondsIsNil ¶
func OnlineSecondsIsNil() predicate.ProxyUserDeviceOnlineRecord
OnlineSecondsIsNil applies the IsNil predicate on the "online_seconds" field.
func OnlineSecondsLT ¶
func OnlineSecondsLT(v int64) predicate.ProxyUserDeviceOnlineRecord
OnlineSecondsLT applies the LT predicate on the "online_seconds" field.
func OnlineSecondsLTE ¶
func OnlineSecondsLTE(v int64) predicate.ProxyUserDeviceOnlineRecord
OnlineSecondsLTE applies the LTE predicate on the "online_seconds" field.
func OnlineSecondsNEQ ¶
func OnlineSecondsNEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
OnlineSecondsNEQ applies the NEQ predicate on the "online_seconds" field.
func OnlineSecondsNotIn ¶
func OnlineSecondsNotIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
OnlineSecondsNotIn applies the NotIn predicate on the "online_seconds" field.
func OnlineSecondsNotNil ¶
func OnlineSecondsNotNil() predicate.ProxyUserDeviceOnlineRecord
OnlineSecondsNotNil applies the NotNil predicate on the "online_seconds" field.
func OnlineTime ¶
func OnlineTime(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OnlineTime applies equality check predicate on the "online_time" field. It's identical to OnlineTimeEQ.
func OnlineTimeEQ ¶
func OnlineTimeEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OnlineTimeEQ applies the EQ predicate on the "online_time" field.
func OnlineTimeGT ¶
func OnlineTimeGT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OnlineTimeGT applies the GT predicate on the "online_time" field.
func OnlineTimeGTE ¶
func OnlineTimeGTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OnlineTimeGTE applies the GTE predicate on the "online_time" field.
func OnlineTimeIn ¶
func OnlineTimeIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
OnlineTimeIn applies the In predicate on the "online_time" field.
func OnlineTimeIsNil ¶
func OnlineTimeIsNil() predicate.ProxyUserDeviceOnlineRecord
OnlineTimeIsNil applies the IsNil predicate on the "online_time" field.
func OnlineTimeLT ¶
func OnlineTimeLT(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OnlineTimeLT applies the LT predicate on the "online_time" field.
func OnlineTimeLTE ¶
func OnlineTimeLTE(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OnlineTimeLTE applies the LTE predicate on the "online_time" field.
func OnlineTimeNEQ ¶
func OnlineTimeNEQ(v time.Time) predicate.ProxyUserDeviceOnlineRecord
OnlineTimeNEQ applies the NEQ predicate on the "online_time" field.
func OnlineTimeNotIn ¶
func OnlineTimeNotIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord
OnlineTimeNotIn applies the NotIn predicate on the "online_time" field.
func OnlineTimeNotNil ¶
func OnlineTimeNotNil() predicate.ProxyUserDeviceOnlineRecord
OnlineTimeNotNil applies the NotNil predicate on the "online_time" field.
func Or ¶
func Or(predicates ...predicate.ProxyUserDeviceOnlineRecord) predicate.ProxyUserDeviceOnlineRecord
Or groups predicates with the OR operator between them.
func UserID ¶
func UserID(v int64) predicate.ProxyUserDeviceOnlineRecord
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v int64) predicate.ProxyUserDeviceOnlineRecord
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v int64) predicate.ProxyUserDeviceOnlineRecord
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v int64) predicate.ProxyUserDeviceOnlineRecord
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v int64) predicate.ProxyUserDeviceOnlineRecord
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int64) predicate.ProxyUserDeviceOnlineRecord
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int64) predicate.ProxyUserDeviceOnlineRecord
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 ProxyUserDeviceOnlineRecord queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDurationDays ¶
func ByDurationDays(opts ...sql.OrderTermOption) OrderOption
ByDurationDays orders the results by the duration_days field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIdentifier ¶
func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
ByIdentifier orders the results by the identifier field.
func ByOfflineTime ¶
func ByOfflineTime(opts ...sql.OrderTermOption) OrderOption
ByOfflineTime orders the results by the offline_time field.
func ByOnlineSeconds ¶
func ByOnlineSeconds(opts ...sql.OrderTermOption) OrderOption
ByOnlineSeconds orders the results by the online_seconds field.
func ByOnlineTime ¶
func ByOnlineTime(opts ...sql.OrderTermOption) OrderOption
ByOnlineTime orders the results by the online_time field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.