proxyuserdeviceonlinerecord

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for proxyuserdeviceonlinerecord fields.

Functions

func And

And groups predicates with the AND operator between them.

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

func CreatedAtNotIn(vs ...time.Time) predicate.ProxyUserDeviceOnlineRecord

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DurationDays

DurationDays applies equality check predicate on the "duration_days" field. It's identical to DurationDaysEQ.

func DurationDaysEQ

DurationDaysEQ applies the EQ predicate on the "duration_days" field.

func DurationDaysGT

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

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

IDNotIn applies the NotIn predicate on the ID field.

func Identifier

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

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

IdentifierGT applies the GT predicate on the "identifier" field.

func IdentifierGTE

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

IdentifierLT applies the LT predicate on the "identifier" field.

func IdentifierLTE

IdentifierLTE applies the LTE predicate on the "identifier" field.

func IdentifierNEQ

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 Not

Not applies the not operator on the given predicate.

func OfflineTime

OfflineTime applies equality check predicate on the "offline_time" field. It's identical to OfflineTimeEQ.

func OfflineTimeEQ

OfflineTimeEQ applies the EQ predicate on the "offline_time" field.

func OfflineTimeGT

OfflineTimeGT applies the GT predicate on the "offline_time" field.

func OfflineTimeGTE

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

OfflineTimeLT applies the LT predicate on the "offline_time" field.

func OfflineTimeLTE

OfflineTimeLTE applies the LTE predicate on the "offline_time" field.

func OfflineTimeNEQ

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

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

OnlineTime applies equality check predicate on the "online_time" field. It's identical to OnlineTimeEQ.

func OnlineTimeEQ

OnlineTimeEQ applies the EQ predicate on the "online_time" field.

func OnlineTimeGT

OnlineTimeGT applies the GT predicate on the "online_time" field.

func OnlineTimeGTE

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

OnlineTimeLT applies the LT predicate on the "online_time" field.

func OnlineTimeLTE

OnlineTimeLTE applies the LTE predicate on the "online_time" field.

func OnlineTimeNEQ

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

Or groups predicates with the OR operator between them.

func UserID

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDGT

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDIn

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL