member

package
v1.3.14 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the member type in the database.
	Label = "member"
	// 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"
	// FieldForeinID holds the string denoting the forein_id field in the database.
	FieldForeinID = "forein_id"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldPassword holds the string denoting the password field in the database.
	FieldPassword = "password"
	// FieldNickname holds the string denoting the nickname field in the database.
	FieldNickname = "nickname"
	// FieldRankID holds the string denoting the rank_id field in the database.
	FieldRankID = "rank_id"
	// FieldMobile holds the string denoting the mobile field in the database.
	FieldMobile = "mobile"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldAvatar holds the string denoting the avatar field in the database.
	FieldAvatar = "avatar"
	// FieldWechatOpenID holds the string denoting the wechat_open_id field in the database.
	FieldWechatOpenID = "wechat_open_id"
	// FieldExpiredAt holds the string denoting the expired_at field in the database.
	FieldExpiredAt = "expired_at"
	// EdgeRanks holds the string denoting the ranks edge name in mutations.
	EdgeRanks = "ranks"
	// Table holds the table name of the member in the database.
	Table = "mms_members"
	// RanksTable is the table that holds the ranks relation/edge.
	RanksTable = "mms_members"
	// RanksInverseTable is the table name for the MemberRank entity.
	// It exists in this package in order to avoid circular dependency with the "memberrank" package.
	RanksInverseTable = "mms_ranks"
	// RanksColumn is the table column denoting the ranks relation/edge.
	RanksColumn = "rank_id"
)

Variables

View Source
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
	// DefaultRankID holds the default value on creation for the "rank_id" field.
	DefaultRankID uint64
	// DefaultAvatar holds the default value on creation for the "avatar" field.
	DefaultAvatar string
	// DefaultExpiredAt holds the default value on creation for the "expired_at" field.
	DefaultExpiredAt time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for member fields.

Functions

func And

func And(predicates ...predicate.Member) predicate.Member

And groups predicates with the AND operator between them.

func Avatar

func Avatar(v string) predicate.Member

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

func AvatarContains

func AvatarContains(v string) predicate.Member

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

func AvatarContainsFold

func AvatarContainsFold(v string) predicate.Member

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

func AvatarEQ

func AvatarEQ(v string) predicate.Member

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

func AvatarEqualFold

func AvatarEqualFold(v string) predicate.Member

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

func AvatarGT

func AvatarGT(v string) predicate.Member

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

func AvatarGTE

func AvatarGTE(v string) predicate.Member

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

func AvatarHasPrefix

func AvatarHasPrefix(v string) predicate.Member

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

func AvatarHasSuffix

func AvatarHasSuffix(v string) predicate.Member

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

func AvatarIn

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

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

func AvatarIsNil

func AvatarIsNil() predicate.Member

AvatarIsNil applies the IsNil predicate on the "avatar" field.

func AvatarLT

func AvatarLT(v string) predicate.Member

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

func AvatarLTE

func AvatarLTE(v string) predicate.Member

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

func AvatarNEQ

func AvatarNEQ(v string) predicate.Member

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

func AvatarNotIn

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

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

func AvatarNotNil

func AvatarNotNil() predicate.Member

AvatarNotNil applies the NotNil predicate on the "avatar" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Member

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Member

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Member

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Member

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Member

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Member

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Member

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

func CreatedAtNotIn

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

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

func Email

func Email(v string) predicate.Member

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.Member

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.Member

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.Member

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.Member

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.Member

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.Member

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.Member

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.Member

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.Member

EmailIn applies the In predicate on the "email" field.

func EmailIsNil

func EmailIsNil() predicate.Member

EmailIsNil applies the IsNil predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.Member

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.Member

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.Member

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.Member

EmailNotIn applies the NotIn predicate on the "email" field.

func EmailNotNil

func EmailNotNil() predicate.Member

EmailNotNil applies the NotNil predicate on the "email" field.

func ExpiredAt

func ExpiredAt(v time.Time) predicate.Member

ExpiredAt applies equality check predicate on the "expired_at" field. It's identical to ExpiredAtEQ.

func ExpiredAtEQ

func ExpiredAtEQ(v time.Time) predicate.Member

ExpiredAtEQ applies the EQ predicate on the "expired_at" field.

func ExpiredAtGT

func ExpiredAtGT(v time.Time) predicate.Member

ExpiredAtGT applies the GT predicate on the "expired_at" field.

func ExpiredAtGTE

func ExpiredAtGTE(v time.Time) predicate.Member

ExpiredAtGTE applies the GTE predicate on the "expired_at" field.

func ExpiredAtIn

func ExpiredAtIn(vs ...time.Time) predicate.Member

ExpiredAtIn applies the In predicate on the "expired_at" field.

func ExpiredAtIsNil

func ExpiredAtIsNil() predicate.Member

ExpiredAtIsNil applies the IsNil predicate on the "expired_at" field.

func ExpiredAtLT

func ExpiredAtLT(v time.Time) predicate.Member

ExpiredAtLT applies the LT predicate on the "expired_at" field.

func ExpiredAtLTE

func ExpiredAtLTE(v time.Time) predicate.Member

ExpiredAtLTE applies the LTE predicate on the "expired_at" field.

func ExpiredAtNEQ

func ExpiredAtNEQ(v time.Time) predicate.Member

ExpiredAtNEQ applies the NEQ predicate on the "expired_at" field.

func ExpiredAtNotIn

func ExpiredAtNotIn(vs ...time.Time) predicate.Member

ExpiredAtNotIn applies the NotIn predicate on the "expired_at" field.

func ExpiredAtNotNil

func ExpiredAtNotNil() predicate.Member

ExpiredAtNotNil applies the NotNil predicate on the "expired_at" field.

func ForeinID added in v1.3.5

func ForeinID(v string) predicate.Member

ForeinID applies equality check predicate on the "forein_id" field. It's identical to ForeinIDEQ.

func ForeinIDContains added in v1.3.5

func ForeinIDContains(v string) predicate.Member

ForeinIDContains applies the Contains predicate on the "forein_id" field.

func ForeinIDContainsFold added in v1.3.5

func ForeinIDContainsFold(v string) predicate.Member

ForeinIDContainsFold applies the ContainsFold predicate on the "forein_id" field.

func ForeinIDEQ added in v1.3.5

func ForeinIDEQ(v string) predicate.Member

ForeinIDEQ applies the EQ predicate on the "forein_id" field.

func ForeinIDEqualFold added in v1.3.5

func ForeinIDEqualFold(v string) predicate.Member

ForeinIDEqualFold applies the EqualFold predicate on the "forein_id" field.

func ForeinIDGT added in v1.3.5

func ForeinIDGT(v string) predicate.Member

ForeinIDGT applies the GT predicate on the "forein_id" field.

func ForeinIDGTE added in v1.3.5

func ForeinIDGTE(v string) predicate.Member

ForeinIDGTE applies the GTE predicate on the "forein_id" field.

func ForeinIDHasPrefix added in v1.3.5

func ForeinIDHasPrefix(v string) predicate.Member

ForeinIDHasPrefix applies the HasPrefix predicate on the "forein_id" field.

func ForeinIDHasSuffix added in v1.3.5

func ForeinIDHasSuffix(v string) predicate.Member

ForeinIDHasSuffix applies the HasSuffix predicate on the "forein_id" field.

func ForeinIDIn added in v1.3.5

func ForeinIDIn(vs ...string) predicate.Member

ForeinIDIn applies the In predicate on the "forein_id" field.

func ForeinIDLT added in v1.3.5

func ForeinIDLT(v string) predicate.Member

ForeinIDLT applies the LT predicate on the "forein_id" field.

func ForeinIDLTE added in v1.3.5

func ForeinIDLTE(v string) predicate.Member

ForeinIDLTE applies the LTE predicate on the "forein_id" field.

func ForeinIDNEQ added in v1.3.5

func ForeinIDNEQ(v string) predicate.Member

ForeinIDNEQ applies the NEQ predicate on the "forein_id" field.

func ForeinIDNotIn added in v1.3.5

func ForeinIDNotIn(vs ...string) predicate.Member

ForeinIDNotIn applies the NotIn predicate on the "forein_id" field.

func HasRanks

func HasRanks() predicate.Member

HasRanks applies the HasEdge predicate on the "ranks" edge.

func HasRanksWith

func HasRanksWith(preds ...predicate.MemberRank) predicate.Member

HasRanksWith applies the HasEdge predicate on the "ranks" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Member

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Member

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Member

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Member

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Member

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Member

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Member

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Member

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Member

IDNotIn applies the NotIn predicate on the ID field.

func Mobile

func Mobile(v string) predicate.Member

Mobile applies equality check predicate on the "mobile" field. It's identical to MobileEQ.

func MobileContains

func MobileContains(v string) predicate.Member

MobileContains applies the Contains predicate on the "mobile" field.

func MobileContainsFold

func MobileContainsFold(v string) predicate.Member

MobileContainsFold applies the ContainsFold predicate on the "mobile" field.

func MobileEQ

func MobileEQ(v string) predicate.Member

MobileEQ applies the EQ predicate on the "mobile" field.

func MobileEqualFold

func MobileEqualFold(v string) predicate.Member

MobileEqualFold applies the EqualFold predicate on the "mobile" field.

func MobileGT

func MobileGT(v string) predicate.Member

MobileGT applies the GT predicate on the "mobile" field.

func MobileGTE

func MobileGTE(v string) predicate.Member

MobileGTE applies the GTE predicate on the "mobile" field.

func MobileHasPrefix

func MobileHasPrefix(v string) predicate.Member

MobileHasPrefix applies the HasPrefix predicate on the "mobile" field.

func MobileHasSuffix

func MobileHasSuffix(v string) predicate.Member

MobileHasSuffix applies the HasSuffix predicate on the "mobile" field.

func MobileIn

func MobileIn(vs ...string) predicate.Member

MobileIn applies the In predicate on the "mobile" field.

func MobileIsNil

func MobileIsNil() predicate.Member

MobileIsNil applies the IsNil predicate on the "mobile" field.

func MobileLT

func MobileLT(v string) predicate.Member

MobileLT applies the LT predicate on the "mobile" field.

func MobileLTE

func MobileLTE(v string) predicate.Member

MobileLTE applies the LTE predicate on the "mobile" field.

func MobileNEQ

func MobileNEQ(v string) predicate.Member

MobileNEQ applies the NEQ predicate on the "mobile" field.

func MobileNotIn

func MobileNotIn(vs ...string) predicate.Member

MobileNotIn applies the NotIn predicate on the "mobile" field.

func MobileNotNil

func MobileNotNil() predicate.Member

MobileNotNil applies the NotNil predicate on the "mobile" field.

func Nickname

func Nickname(v string) predicate.Member

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

func NicknameContains

func NicknameContains(v string) predicate.Member

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

func NicknameContainsFold

func NicknameContainsFold(v string) predicate.Member

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

func NicknameEQ

func NicknameEQ(v string) predicate.Member

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

func NicknameEqualFold

func NicknameEqualFold(v string) predicate.Member

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

func NicknameGT

func NicknameGT(v string) predicate.Member

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

func NicknameGTE

func NicknameGTE(v string) predicate.Member

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

func NicknameHasPrefix

func NicknameHasPrefix(v string) predicate.Member

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

func NicknameHasSuffix

func NicknameHasSuffix(v string) predicate.Member

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

func NicknameIn

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

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

func NicknameLT

func NicknameLT(v string) predicate.Member

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

func NicknameLTE

func NicknameLTE(v string) predicate.Member

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

func NicknameNEQ

func NicknameNEQ(v string) predicate.Member

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

func NicknameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Member) predicate.Member

Or groups predicates with the OR operator between them.

func Password

func Password(v string) predicate.Member

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

func PasswordContains

func PasswordContains(v string) predicate.Member

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

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.Member

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

func PasswordEQ

func PasswordEQ(v string) predicate.Member

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

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.Member

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

func PasswordGT

func PasswordGT(v string) predicate.Member

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

func PasswordGTE

func PasswordGTE(v string) predicate.Member

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

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.Member

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

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.Member

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

func PasswordIn

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

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

func PasswordLT

func PasswordLT(v string) predicate.Member

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

func PasswordLTE

func PasswordLTE(v string) predicate.Member

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

func PasswordNEQ

func PasswordNEQ(v string) predicate.Member

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

func PasswordNotIn

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

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

func RankID

func RankID(v uint64) predicate.Member

RankID applies equality check predicate on the "rank_id" field. It's identical to RankIDEQ.

func RankIDEQ

func RankIDEQ(v uint64) predicate.Member

RankIDEQ applies the EQ predicate on the "rank_id" field.

func RankIDIn

func RankIDIn(vs ...uint64) predicate.Member

RankIDIn applies the In predicate on the "rank_id" field.

func RankIDIsNil

func RankIDIsNil() predicate.Member

RankIDIsNil applies the IsNil predicate on the "rank_id" field.

func RankIDNEQ

func RankIDNEQ(v uint64) predicate.Member

RankIDNEQ applies the NEQ predicate on the "rank_id" field.

func RankIDNotIn

func RankIDNotIn(vs ...uint64) predicate.Member

RankIDNotIn applies the NotIn predicate on the "rank_id" field.

func RankIDNotNil

func RankIDNotNil() predicate.Member

RankIDNotNil applies the NotNil predicate on the "rank_id" field.

func Status

func Status(v uint8) predicate.Member

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v uint8) predicate.Member

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v uint8) predicate.Member

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v uint8) predicate.Member

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...uint8) predicate.Member

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.Member

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v uint8) predicate.Member

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v uint8) predicate.Member

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v uint8) predicate.Member

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...uint8) predicate.Member

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.Member

StatusNotNil applies the NotNil predicate on the "status" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Member

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Member

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Member

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Member

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Member

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Member

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Member

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

func UpdatedAtNotIn

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

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func Username

func Username(v string) predicate.Member

Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.

func UsernameContains

func UsernameContains(v string) predicate.Member

UsernameContains applies the Contains predicate on the "username" field.

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.Member

UsernameContainsFold applies the ContainsFold predicate on the "username" field.

func UsernameEQ

func UsernameEQ(v string) predicate.Member

UsernameEQ applies the EQ predicate on the "username" field.

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.Member

UsernameEqualFold applies the EqualFold predicate on the "username" field.

func UsernameGT

func UsernameGT(v string) predicate.Member

UsernameGT applies the GT predicate on the "username" field.

func UsernameGTE

func UsernameGTE(v string) predicate.Member

UsernameGTE applies the GTE predicate on the "username" field.

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.Member

UsernameHasPrefix applies the HasPrefix predicate on the "username" field.

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.Member

UsernameHasSuffix applies the HasSuffix predicate on the "username" field.

func UsernameIn

func UsernameIn(vs ...string) predicate.Member

UsernameIn applies the In predicate on the "username" field.

func UsernameLT

func UsernameLT(v string) predicate.Member

UsernameLT applies the LT predicate on the "username" field.

func UsernameLTE

func UsernameLTE(v string) predicate.Member

UsernameLTE applies the LTE predicate on the "username" field.

func UsernameNEQ

func UsernameNEQ(v string) predicate.Member

UsernameNEQ applies the NEQ predicate on the "username" field.

func UsernameNotIn

func UsernameNotIn(vs ...string) predicate.Member

UsernameNotIn applies the NotIn predicate on the "username" field.

func ValidColumn

func ValidColumn(column string) bool

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

func WechatOpenID

func WechatOpenID(v string) predicate.Member

WechatOpenID applies equality check predicate on the "wechat_open_id" field. It's identical to WechatOpenIDEQ.

func WechatOpenIDContains

func WechatOpenIDContains(v string) predicate.Member

WechatOpenIDContains applies the Contains predicate on the "wechat_open_id" field.

func WechatOpenIDContainsFold

func WechatOpenIDContainsFold(v string) predicate.Member

WechatOpenIDContainsFold applies the ContainsFold predicate on the "wechat_open_id" field.

func WechatOpenIDEQ

func WechatOpenIDEQ(v string) predicate.Member

WechatOpenIDEQ applies the EQ predicate on the "wechat_open_id" field.

func WechatOpenIDEqualFold

func WechatOpenIDEqualFold(v string) predicate.Member

WechatOpenIDEqualFold applies the EqualFold predicate on the "wechat_open_id" field.

func WechatOpenIDGT

func WechatOpenIDGT(v string) predicate.Member

WechatOpenIDGT applies the GT predicate on the "wechat_open_id" field.

func WechatOpenIDGTE

func WechatOpenIDGTE(v string) predicate.Member

WechatOpenIDGTE applies the GTE predicate on the "wechat_open_id" field.

func WechatOpenIDHasPrefix

func WechatOpenIDHasPrefix(v string) predicate.Member

WechatOpenIDHasPrefix applies the HasPrefix predicate on the "wechat_open_id" field.

func WechatOpenIDHasSuffix

func WechatOpenIDHasSuffix(v string) predicate.Member

WechatOpenIDHasSuffix applies the HasSuffix predicate on the "wechat_open_id" field.

func WechatOpenIDIn

func WechatOpenIDIn(vs ...string) predicate.Member

WechatOpenIDIn applies the In predicate on the "wechat_open_id" field.

func WechatOpenIDIsNil

func WechatOpenIDIsNil() predicate.Member

WechatOpenIDIsNil applies the IsNil predicate on the "wechat_open_id" field.

func WechatOpenIDLT

func WechatOpenIDLT(v string) predicate.Member

WechatOpenIDLT applies the LT predicate on the "wechat_open_id" field.

func WechatOpenIDLTE

func WechatOpenIDLTE(v string) predicate.Member

WechatOpenIDLTE applies the LTE predicate on the "wechat_open_id" field.

func WechatOpenIDNEQ

func WechatOpenIDNEQ(v string) predicate.Member

WechatOpenIDNEQ applies the NEQ predicate on the "wechat_open_id" field.

func WechatOpenIDNotIn

func WechatOpenIDNotIn(vs ...string) predicate.Member

WechatOpenIDNotIn applies the NotIn predicate on the "wechat_open_id" field.

func WechatOpenIDNotNil

func WechatOpenIDNotNil() predicate.Member

WechatOpenIDNotNil applies the NotNil predicate on the "wechat_open_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Member queries.

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 ByEmail

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

ByEmail orders the results by the email field.

func ByExpiredAt

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

ByExpiredAt orders the results by the expired_at field.

func ByForeinID added in v1.3.5

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

ByForeinID orders the results by the forein_id field.

func ByID

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

ByID orders the results by the id field.

func ByMobile

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

ByMobile orders the results by the mobile field.

func ByNickname

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

ByNickname orders the results by the nickname field.

func ByPassword

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

ByPassword orders the results by the password field.

func ByRankID

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

ByRankID orders the results by the rank_id field.

func ByRanksField

func ByRanksField(field string, opts ...sql.OrderTermOption) OrderOption

ByRanksField orders the results by ranks field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUsername

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

ByUsername orders the results by the username field.

func ByWechatOpenID

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

ByWechatOpenID orders the results by the wechat_open_id field.

Jump to

Keyboard shortcuts

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