user

package
v0.1.2-bate Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the user type in the database.
	Label = "user"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNum holds the string denoting the num field in the database.
	FieldNum = "num"
	// FieldAccount holds the string denoting the account field in the database.
	FieldAccount = "account"
	// FieldPassword holds the string denoting the password field in the database.
	FieldPassword = "password"
	// FieldPhone holds the string denoting the phone field in the database.
	FieldPhone = "phone"
	// FieldNickname holds the string denoting the nickname field in the database.
	FieldNickname = "nickname"
	// FieldAvatar holds the string denoting the avatar field in the database.
	FieldAvatar = "avatar"
	// FieldStats holds the string denoting the stats field in the database.
	FieldStats = "stats"
	// FieldNote holds the string denoting the note field in the database.
	FieldNote = "note"
	// FieldRegisterSource holds the string denoting the register_source field in the database.
	FieldRegisterSource = "register_source"
	// FieldLastLoginAt holds the string denoting the last_login_at field in the database.
	FieldLastLoginAt = "last_login_at"
	// 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 user in the database.
	Table = "users"
)

Variables

View Source
var (
	// NumValidator is a validator for the "num" field. It is called by the builders before save.
	NumValidator func(string) error
	// DefaultAccount holds the default value on creation for the "account" field.
	DefaultAccount string
	// AccountValidator is a validator for the "account" field. It is called by the builders before save.
	AccountValidator func(string) error
	// DefaultPassword holds the default value on creation for the "password" field.
	DefaultPassword string
	// PasswordValidator is a validator for the "password" field. It is called by the builders before save.
	PasswordValidator func(string) error
	// DefaultPhone holds the default value on creation for the "phone" field.
	DefaultPhone string
	// PhoneValidator is a validator for the "phone" field. It is called by the builders before save.
	PhoneValidator func(string) error
	// NicknameValidator is a validator for the "nickname" field. It is called by the builders before save.
	NicknameValidator func(string) error
	// DefaultAvatar holds the default value on creation for the "avatar" field.
	DefaultAvatar string
	// AvatarValidator is a validator for the "avatar" field. It is called by the builders before save.
	AvatarValidator func(string) error
	// DefaultStats holds the default value on creation for the "stats" field.
	DefaultStats int32
	// DefaultNote holds the default value on creation for the "note" field.
	DefaultNote string
	// NoteValidator is a validator for the "note" field. It is called by the builders before save.
	NoteValidator func(string) error
	// 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
	// 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 user fields.

Functions

func Account

func Account(v string) predicate.User

Account applies equality check predicate on the "account" field. It's identical to AccountEQ.

func AccountContains

func AccountContains(v string) predicate.User

AccountContains applies the Contains predicate on the "account" field.

func AccountContainsFold

func AccountContainsFold(v string) predicate.User

AccountContainsFold applies the ContainsFold predicate on the "account" field.

func AccountEQ

func AccountEQ(v string) predicate.User

AccountEQ applies the EQ predicate on the "account" field.

func AccountEqualFold

func AccountEqualFold(v string) predicate.User

AccountEqualFold applies the EqualFold predicate on the "account" field.

func AccountGT

func AccountGT(v string) predicate.User

AccountGT applies the GT predicate on the "account" field.

func AccountGTE

func AccountGTE(v string) predicate.User

AccountGTE applies the GTE predicate on the "account" field.

func AccountHasPrefix

func AccountHasPrefix(v string) predicate.User

AccountHasPrefix applies the HasPrefix predicate on the "account" field.

func AccountHasSuffix

func AccountHasSuffix(v string) predicate.User

AccountHasSuffix applies the HasSuffix predicate on the "account" field.

func AccountIn

func AccountIn(vs ...string) predicate.User

AccountIn applies the In predicate on the "account" field.

func AccountLT

func AccountLT(v string) predicate.User

AccountLT applies the LT predicate on the "account" field.

func AccountLTE

func AccountLTE(v string) predicate.User

AccountLTE applies the LTE predicate on the "account" field.

func AccountNEQ

func AccountNEQ(v string) predicate.User

AccountNEQ applies the NEQ predicate on the "account" field.

func AccountNotIn

func AccountNotIn(vs ...string) predicate.User

AccountNotIn applies the NotIn predicate on the "account" field.

func And

func And(predicates ...predicate.User) predicate.User

And groups predicates with the AND operator between them.

func Avatar

func Avatar(v string) predicate.User

Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.

func AvatarContains

func AvatarContains(v string) predicate.User

AvatarContains applies the Contains predicate on the "avatar" field.

func AvatarContainsFold

func AvatarContainsFold(v string) predicate.User

AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.

func AvatarEQ

func AvatarEQ(v string) predicate.User

AvatarEQ applies the EQ predicate on the "avatar" field.

func AvatarEqualFold

func AvatarEqualFold(v string) predicate.User

AvatarEqualFold applies the EqualFold predicate on the "avatar" field.

func AvatarGT

func AvatarGT(v string) predicate.User

AvatarGT applies the GT predicate on the "avatar" field.

func AvatarGTE

func AvatarGTE(v string) predicate.User

AvatarGTE applies the GTE predicate on the "avatar" field.

func AvatarHasPrefix

func AvatarHasPrefix(v string) predicate.User

AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.

func AvatarHasSuffix

func AvatarHasSuffix(v string) predicate.User

AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.

func AvatarIn

func AvatarIn(vs ...string) predicate.User

AvatarIn applies the In predicate on the "avatar" field.

func AvatarLT

func AvatarLT(v string) predicate.User

AvatarLT applies the LT predicate on the "avatar" field.

func AvatarLTE

func AvatarLTE(v string) predicate.User

AvatarLTE applies the LTE predicate on the "avatar" field.

func AvatarNEQ

func AvatarNEQ(v string) predicate.User

AvatarNEQ applies the NEQ predicate on the "avatar" field.

func AvatarNotIn

func AvatarNotIn(vs ...string) predicate.User

AvatarNotIn applies the NotIn predicate on the "avatar" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.User

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.User

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.User

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.User

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.User

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.User

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.User

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.User

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

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

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

func ID

func ID(id int64) predicate.User

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.User

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.User

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.User

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.User

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.User

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.User

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.User

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.User

IDNotIn applies the NotIn predicate on the ID field.

func LastLoginAt

func LastLoginAt(v time.Time) predicate.User

LastLoginAt applies equality check predicate on the "last_login_at" field. It's identical to LastLoginAtEQ.

func LastLoginAtEQ

func LastLoginAtEQ(v time.Time) predicate.User

LastLoginAtEQ applies the EQ predicate on the "last_login_at" field.

func LastLoginAtGT

func LastLoginAtGT(v time.Time) predicate.User

LastLoginAtGT applies the GT predicate on the "last_login_at" field.

func LastLoginAtGTE

func LastLoginAtGTE(v time.Time) predicate.User

LastLoginAtGTE applies the GTE predicate on the "last_login_at" field.

func LastLoginAtIn

func LastLoginAtIn(vs ...time.Time) predicate.User

LastLoginAtIn applies the In predicate on the "last_login_at" field.

func LastLoginAtLT

func LastLoginAtLT(v time.Time) predicate.User

LastLoginAtLT applies the LT predicate on the "last_login_at" field.

func LastLoginAtLTE

func LastLoginAtLTE(v time.Time) predicate.User

LastLoginAtLTE applies the LTE predicate on the "last_login_at" field.

func LastLoginAtNEQ

func LastLoginAtNEQ(v time.Time) predicate.User

LastLoginAtNEQ applies the NEQ predicate on the "last_login_at" field.

func LastLoginAtNotIn

func LastLoginAtNotIn(vs ...time.Time) predicate.User

LastLoginAtNotIn applies the NotIn predicate on the "last_login_at" field.

func Nickname

func Nickname(v string) predicate.User

Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.

func NicknameContains

func NicknameContains(v string) predicate.User

NicknameContains applies the Contains predicate on the "nickname" field.

func NicknameContainsFold

func NicknameContainsFold(v string) predicate.User

NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.

func NicknameEQ

func NicknameEQ(v string) predicate.User

NicknameEQ applies the EQ predicate on the "nickname" field.

func NicknameEqualFold

func NicknameEqualFold(v string) predicate.User

NicknameEqualFold applies the EqualFold predicate on the "nickname" field.

func NicknameGT

func NicknameGT(v string) predicate.User

NicknameGT applies the GT predicate on the "nickname" field.

func NicknameGTE

func NicknameGTE(v string) predicate.User

NicknameGTE applies the GTE predicate on the "nickname" field.

func NicknameHasPrefix

func NicknameHasPrefix(v string) predicate.User

NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.

func NicknameHasSuffix

func NicknameHasSuffix(v string) predicate.User

NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.

func NicknameIn

func NicknameIn(vs ...string) predicate.User

NicknameIn applies the In predicate on the "nickname" field.

func NicknameLT

func NicknameLT(v string) predicate.User

NicknameLT applies the LT predicate on the "nickname" field.

func NicknameLTE

func NicknameLTE(v string) predicate.User

NicknameLTE applies the LTE predicate on the "nickname" field.

func NicknameNEQ

func NicknameNEQ(v string) predicate.User

NicknameNEQ applies the NEQ predicate on the "nickname" field.

func NicknameNotIn

func NicknameNotIn(vs ...string) predicate.User

NicknameNotIn applies the NotIn predicate on the "nickname" field.

func Not

Not applies the not operator on the given predicate.

func Note

func Note(v string) predicate.User

Note applies equality check predicate on the "note" field. It's identical to NoteEQ.

func NoteContains

func NoteContains(v string) predicate.User

NoteContains applies the Contains predicate on the "note" field.

func NoteContainsFold

func NoteContainsFold(v string) predicate.User

NoteContainsFold applies the ContainsFold predicate on the "note" field.

func NoteEQ

func NoteEQ(v string) predicate.User

NoteEQ applies the EQ predicate on the "note" field.

func NoteEqualFold

func NoteEqualFold(v string) predicate.User

NoteEqualFold applies the EqualFold predicate on the "note" field.

func NoteGT

func NoteGT(v string) predicate.User

NoteGT applies the GT predicate on the "note" field.

func NoteGTE

func NoteGTE(v string) predicate.User

NoteGTE applies the GTE predicate on the "note" field.

func NoteHasPrefix

func NoteHasPrefix(v string) predicate.User

NoteHasPrefix applies the HasPrefix predicate on the "note" field.

func NoteHasSuffix

func NoteHasSuffix(v string) predicate.User

NoteHasSuffix applies the HasSuffix predicate on the "note" field.

func NoteIn

func NoteIn(vs ...string) predicate.User

NoteIn applies the In predicate on the "note" field.

func NoteLT

func NoteLT(v string) predicate.User

NoteLT applies the LT predicate on the "note" field.

func NoteLTE

func NoteLTE(v string) predicate.User

NoteLTE applies the LTE predicate on the "note" field.

func NoteNEQ

func NoteNEQ(v string) predicate.User

NoteNEQ applies the NEQ predicate on the "note" field.

func NoteNotIn

func NoteNotIn(vs ...string) predicate.User

NoteNotIn applies the NotIn predicate on the "note" field.

func Num

func Num(v string) predicate.User

Num applies equality check predicate on the "num" field. It's identical to NumEQ.

func NumContains

func NumContains(v string) predicate.User

NumContains applies the Contains predicate on the "num" field.

func NumContainsFold

func NumContainsFold(v string) predicate.User

NumContainsFold applies the ContainsFold predicate on the "num" field.

func NumEQ

func NumEQ(v string) predicate.User

NumEQ applies the EQ predicate on the "num" field.

func NumEqualFold

func NumEqualFold(v string) predicate.User

NumEqualFold applies the EqualFold predicate on the "num" field.

func NumGT

func NumGT(v string) predicate.User

NumGT applies the GT predicate on the "num" field.

func NumGTE

func NumGTE(v string) predicate.User

NumGTE applies the GTE predicate on the "num" field.

func NumHasPrefix

func NumHasPrefix(v string) predicate.User

NumHasPrefix applies the HasPrefix predicate on the "num" field.

func NumHasSuffix

func NumHasSuffix(v string) predicate.User

NumHasSuffix applies the HasSuffix predicate on the "num" field.

func NumIn

func NumIn(vs ...string) predicate.User

NumIn applies the In predicate on the "num" field.

func NumLT

func NumLT(v string) predicate.User

NumLT applies the LT predicate on the "num" field.

func NumLTE

func NumLTE(v string) predicate.User

NumLTE applies the LTE predicate on the "num" field.

func NumNEQ

func NumNEQ(v string) predicate.User

NumNEQ applies the NEQ predicate on the "num" field.

func NumNotIn

func NumNotIn(vs ...string) predicate.User

NumNotIn applies the NotIn predicate on the "num" field.

func Or

func Or(predicates ...predicate.User) predicate.User

Or groups predicates with the OR operator between them.

func Password

func Password(v string) predicate.User

Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.

func PasswordContains

func PasswordContains(v string) predicate.User

PasswordContains applies the Contains predicate on the "password" field.

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.User

PasswordContainsFold applies the ContainsFold predicate on the "password" field.

func PasswordEQ

func PasswordEQ(v string) predicate.User

PasswordEQ applies the EQ predicate on the "password" field.

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.User

PasswordEqualFold applies the EqualFold predicate on the "password" field.

func PasswordGT

func PasswordGT(v string) predicate.User

PasswordGT applies the GT predicate on the "password" field.

func PasswordGTE

func PasswordGTE(v string) predicate.User

PasswordGTE applies the GTE predicate on the "password" field.

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.User

PasswordHasPrefix applies the HasPrefix predicate on the "password" field.

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.User

PasswordHasSuffix applies the HasSuffix predicate on the "password" field.

func PasswordIn

func PasswordIn(vs ...string) predicate.User

PasswordIn applies the In predicate on the "password" field.

func PasswordLT

func PasswordLT(v string) predicate.User

PasswordLT applies the LT predicate on the "password" field.

func PasswordLTE

func PasswordLTE(v string) predicate.User

PasswordLTE applies the LTE predicate on the "password" field.

func PasswordNEQ

func PasswordNEQ(v string) predicate.User

PasswordNEQ applies the NEQ predicate on the "password" field.

func PasswordNotIn

func PasswordNotIn(vs ...string) predicate.User

PasswordNotIn applies the NotIn predicate on the "password" field.

func Phone

func Phone(v string) predicate.User

Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.

func PhoneContains

func PhoneContains(v string) predicate.User

PhoneContains applies the Contains predicate on the "phone" field.

func PhoneContainsFold

func PhoneContainsFold(v string) predicate.User

PhoneContainsFold applies the ContainsFold predicate on the "phone" field.

func PhoneEQ

func PhoneEQ(v string) predicate.User

PhoneEQ applies the EQ predicate on the "phone" field.

func PhoneEqualFold

func PhoneEqualFold(v string) predicate.User

PhoneEqualFold applies the EqualFold predicate on the "phone" field.

func PhoneGT

func PhoneGT(v string) predicate.User

PhoneGT applies the GT predicate on the "phone" field.

func PhoneGTE

func PhoneGTE(v string) predicate.User

PhoneGTE applies the GTE predicate on the "phone" field.

func PhoneHasPrefix

func PhoneHasPrefix(v string) predicate.User

PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.

func PhoneHasSuffix

func PhoneHasSuffix(v string) predicate.User

PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.

func PhoneIn

func PhoneIn(vs ...string) predicate.User

PhoneIn applies the In predicate on the "phone" field.

func PhoneLT

func PhoneLT(v string) predicate.User

PhoneLT applies the LT predicate on the "phone" field.

func PhoneLTE

func PhoneLTE(v string) predicate.User

PhoneLTE applies the LTE predicate on the "phone" field.

func PhoneNEQ

func PhoneNEQ(v string) predicate.User

PhoneNEQ applies the NEQ predicate on the "phone" field.

func PhoneNotIn

func PhoneNotIn(vs ...string) predicate.User

PhoneNotIn applies the NotIn predicate on the "phone" field.

func RegisterSource

func RegisterSource(v int32) predicate.User

RegisterSource applies equality check predicate on the "register_source" field. It's identical to RegisterSourceEQ.

func RegisterSourceEQ

func RegisterSourceEQ(v int32) predicate.User

RegisterSourceEQ applies the EQ predicate on the "register_source" field.

func RegisterSourceGT

func RegisterSourceGT(v int32) predicate.User

RegisterSourceGT applies the GT predicate on the "register_source" field.

func RegisterSourceGTE

func RegisterSourceGTE(v int32) predicate.User

RegisterSourceGTE applies the GTE predicate on the "register_source" field.

func RegisterSourceIn

func RegisterSourceIn(vs ...int32) predicate.User

RegisterSourceIn applies the In predicate on the "register_source" field.

func RegisterSourceLT

func RegisterSourceLT(v int32) predicate.User

RegisterSourceLT applies the LT predicate on the "register_source" field.

func RegisterSourceLTE

func RegisterSourceLTE(v int32) predicate.User

RegisterSourceLTE applies the LTE predicate on the "register_source" field.

func RegisterSourceNEQ

func RegisterSourceNEQ(v int32) predicate.User

RegisterSourceNEQ applies the NEQ predicate on the "register_source" field.

func RegisterSourceNotIn

func RegisterSourceNotIn(vs ...int32) predicate.User

RegisterSourceNotIn applies the NotIn predicate on the "register_source" field.

func Stats

func Stats(v int32) predicate.User

Stats applies equality check predicate on the "stats" field. It's identical to StatsEQ.

func StatsEQ

func StatsEQ(v int32) predicate.User

StatsEQ applies the EQ predicate on the "stats" field.

func StatsGT

func StatsGT(v int32) predicate.User

StatsGT applies the GT predicate on the "stats" field.

func StatsGTE

func StatsGTE(v int32) predicate.User

StatsGTE applies the GTE predicate on the "stats" field.

func StatsIn

func StatsIn(vs ...int32) predicate.User

StatsIn applies the In predicate on the "stats" field.

func StatsLT

func StatsLT(v int32) predicate.User

StatsLT applies the LT predicate on the "stats" field.

func StatsLTE

func StatsLTE(v int32) predicate.User

StatsLTE applies the LTE predicate on the "stats" field.

func StatsNEQ

func StatsNEQ(v int32) predicate.User

StatsNEQ applies the NEQ predicate on the "stats" field.

func StatsNotIn

func StatsNotIn(vs ...int32) predicate.User

StatsNotIn applies the NotIn predicate on the "stats" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.User

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.User

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.User

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.User

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.User

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.User

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.User

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.User

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.User

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 User queries.

func ByAccount

func ByAccount(opts ...sql.OrderTermOption) OrderOption

ByAccount orders the results by the account field.

func ByAvatar

func ByAvatar(opts ...sql.OrderTermOption) OrderOption

ByAvatar orders the results by the avatar field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLastLoginAt

func ByLastLoginAt(opts ...sql.OrderTermOption) OrderOption

ByLastLoginAt orders the results by the last_login_at field.

func ByNickname

func ByNickname(opts ...sql.OrderTermOption) OrderOption

ByNickname orders the results by the nickname field.

func ByNote

func ByNote(opts ...sql.OrderTermOption) OrderOption

ByNote orders the results by the note field.

func ByNum

func ByNum(opts ...sql.OrderTermOption) OrderOption

ByNum orders the results by the num field.

func ByPassword

func ByPassword(opts ...sql.OrderTermOption) OrderOption

ByPassword orders the results by the password field.

func ByPhone

func ByPhone(opts ...sql.OrderTermOption) OrderOption

ByPhone orders the results by the phone field.

func ByRegisterSource

func ByRegisterSource(opts ...sql.OrderTermOption) OrderOption

ByRegisterSource orders the results by the register_source field.

func ByStats

func ByStats(opts ...sql.OrderTermOption) OrderOption

ByStats orders the results by the stats field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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