Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Member) predicate.Member
- func Avatar(v string) predicate.Member
- func AvatarContains(v string) predicate.Member
- func AvatarContainsFold(v string) predicate.Member
- func AvatarEQ(v string) predicate.Member
- func AvatarEqualFold(v string) predicate.Member
- func AvatarGT(v string) predicate.Member
- func AvatarGTE(v string) predicate.Member
- func AvatarHasPrefix(v string) predicate.Member
- func AvatarHasSuffix(v string) predicate.Member
- func AvatarIn(vs ...string) predicate.Member
- func AvatarIsNil() predicate.Member
- func AvatarLT(v string) predicate.Member
- func AvatarLTE(v string) predicate.Member
- func AvatarNEQ(v string) predicate.Member
- func AvatarNotIn(vs ...string) predicate.Member
- func AvatarNotNil() predicate.Member
- func CreatedAt(v time.Time) predicate.Member
- func CreatedAtEQ(v time.Time) predicate.Member
- func CreatedAtGT(v time.Time) predicate.Member
- func CreatedAtGTE(v time.Time) predicate.Member
- func CreatedAtIn(vs ...time.Time) predicate.Member
- func CreatedAtLT(v time.Time) predicate.Member
- func CreatedAtLTE(v time.Time) predicate.Member
- func CreatedAtNEQ(v time.Time) predicate.Member
- func CreatedAtNotIn(vs ...time.Time) predicate.Member
- func Email(v string) predicate.Member
- func EmailContains(v string) predicate.Member
- func EmailContainsFold(v string) predicate.Member
- func EmailEQ(v string) predicate.Member
- func EmailEqualFold(v string) predicate.Member
- func EmailGT(v string) predicate.Member
- func EmailGTE(v string) predicate.Member
- func EmailHasPrefix(v string) predicate.Member
- func EmailHasSuffix(v string) predicate.Member
- func EmailIn(vs ...string) predicate.Member
- func EmailIsNil() predicate.Member
- func EmailLT(v string) predicate.Member
- func EmailLTE(v string) predicate.Member
- func EmailNEQ(v string) predicate.Member
- func EmailNotIn(vs ...string) predicate.Member
- func EmailNotNil() predicate.Member
- func ExpiredAt(v time.Time) predicate.Member
- func ExpiredAtEQ(v time.Time) predicate.Member
- func ExpiredAtGT(v time.Time) predicate.Member
- func ExpiredAtGTE(v time.Time) predicate.Member
- func ExpiredAtIn(vs ...time.Time) predicate.Member
- func ExpiredAtIsNil() predicate.Member
- func ExpiredAtLT(v time.Time) predicate.Member
- func ExpiredAtLTE(v time.Time) predicate.Member
- func ExpiredAtNEQ(v time.Time) predicate.Member
- func ExpiredAtNotIn(vs ...time.Time) predicate.Member
- func ExpiredAtNotNil() predicate.Member
- func HasRanks() predicate.Member
- func HasRanksWith(preds ...predicate.MemberRank) predicate.Member
- func ID(id uuid.UUID) predicate.Member
- func IDEQ(id uuid.UUID) predicate.Member
- func IDGT(id uuid.UUID) predicate.Member
- func IDGTE(id uuid.UUID) predicate.Member
- func IDIn(ids ...uuid.UUID) predicate.Member
- func IDLT(id uuid.UUID) predicate.Member
- func IDLTE(id uuid.UUID) predicate.Member
- func IDNEQ(id uuid.UUID) predicate.Member
- func IDNotIn(ids ...uuid.UUID) predicate.Member
- func Mobile(v string) predicate.Member
- func MobileContains(v string) predicate.Member
- func MobileContainsFold(v string) predicate.Member
- func MobileEQ(v string) predicate.Member
- func MobileEqualFold(v string) predicate.Member
- func MobileGT(v string) predicate.Member
- func MobileGTE(v string) predicate.Member
- func MobileHasPrefix(v string) predicate.Member
- func MobileHasSuffix(v string) predicate.Member
- func MobileIn(vs ...string) predicate.Member
- func MobileIsNil() predicate.Member
- func MobileLT(v string) predicate.Member
- func MobileLTE(v string) predicate.Member
- func MobileNEQ(v string) predicate.Member
- func MobileNotIn(vs ...string) predicate.Member
- func MobileNotNil() predicate.Member
- func Nickname(v string) predicate.Member
- func NicknameContains(v string) predicate.Member
- func NicknameContainsFold(v string) predicate.Member
- func NicknameEQ(v string) predicate.Member
- func NicknameEqualFold(v string) predicate.Member
- func NicknameGT(v string) predicate.Member
- func NicknameGTE(v string) predicate.Member
- func NicknameHasPrefix(v string) predicate.Member
- func NicknameHasSuffix(v string) predicate.Member
- func NicknameIn(vs ...string) predicate.Member
- func NicknameLT(v string) predicate.Member
- func NicknameLTE(v string) predicate.Member
- func NicknameNEQ(v string) predicate.Member
- func NicknameNotIn(vs ...string) predicate.Member
- func Not(p predicate.Member) predicate.Member
- func Or(predicates ...predicate.Member) predicate.Member
- func Password(v string) predicate.Member
- func PasswordContains(v string) predicate.Member
- func PasswordContainsFold(v string) predicate.Member
- func PasswordEQ(v string) predicate.Member
- func PasswordEqualFold(v string) predicate.Member
- func PasswordGT(v string) predicate.Member
- func PasswordGTE(v string) predicate.Member
- func PasswordHasPrefix(v string) predicate.Member
- func PasswordHasSuffix(v string) predicate.Member
- func PasswordIn(vs ...string) predicate.Member
- func PasswordLT(v string) predicate.Member
- func PasswordLTE(v string) predicate.Member
- func PasswordNEQ(v string) predicate.Member
- func PasswordNotIn(vs ...string) predicate.Member
- func RankID(v uint64) predicate.Member
- func RankIDEQ(v uint64) predicate.Member
- func RankIDIn(vs ...uint64) predicate.Member
- func RankIDIsNil() predicate.Member
- func RankIDNEQ(v uint64) predicate.Member
- func RankIDNotIn(vs ...uint64) predicate.Member
- func RankIDNotNil() predicate.Member
- func Status(v uint8) predicate.Member
- func StatusEQ(v uint8) predicate.Member
- func StatusGT(v uint8) predicate.Member
- func StatusGTE(v uint8) predicate.Member
- func StatusIn(vs ...uint8) predicate.Member
- func StatusIsNil() predicate.Member
- func StatusLT(v uint8) predicate.Member
- func StatusLTE(v uint8) predicate.Member
- func StatusNEQ(v uint8) predicate.Member
- func StatusNotIn(vs ...uint8) predicate.Member
- func StatusNotNil() predicate.Member
- func UpdatedAt(v time.Time) predicate.Member
- func UpdatedAtEQ(v time.Time) predicate.Member
- func UpdatedAtGT(v time.Time) predicate.Member
- func UpdatedAtGTE(v time.Time) predicate.Member
- func UpdatedAtIn(vs ...time.Time) predicate.Member
- func UpdatedAtLT(v time.Time) predicate.Member
- func UpdatedAtLTE(v time.Time) predicate.Member
- func UpdatedAtNEQ(v time.Time) predicate.Member
- func UpdatedAtNotIn(vs ...time.Time) predicate.Member
- func Username(v string) predicate.Member
- func UsernameContains(v string) predicate.Member
- func UsernameContainsFold(v string) predicate.Member
- func UsernameEQ(v string) predicate.Member
- func UsernameEqualFold(v string) predicate.Member
- func UsernameGT(v string) predicate.Member
- func UsernameGTE(v string) predicate.Member
- func UsernameHasPrefix(v string) predicate.Member
- func UsernameHasSuffix(v string) predicate.Member
- func UsernameIn(vs ...string) predicate.Member
- func UsernameLT(v string) predicate.Member
- func UsernameLTE(v string) predicate.Member
- func UsernameNEQ(v string) predicate.Member
- func UsernameNotIn(vs ...string) predicate.Member
- func ValidColumn(column string) bool
- func WechatOpenID(v string) predicate.Member
- func WechatOpenIDContains(v string) predicate.Member
- func WechatOpenIDContainsFold(v string) predicate.Member
- func WechatOpenIDEQ(v string) predicate.Member
- func WechatOpenIDEqualFold(v string) predicate.Member
- func WechatOpenIDGT(v string) predicate.Member
- func WechatOpenIDGTE(v string) predicate.Member
- func WechatOpenIDHasPrefix(v string) predicate.Member
- func WechatOpenIDHasSuffix(v string) predicate.Member
- func WechatOpenIDIn(vs ...string) predicate.Member
- func WechatOpenIDIsNil() predicate.Member
- func WechatOpenIDLT(v string) predicate.Member
- func WechatOpenIDLTE(v string) predicate.Member
- func WechatOpenIDNEQ(v string) predicate.Member
- func WechatOpenIDNotIn(vs ...string) predicate.Member
- func WechatOpenIDNotNil() predicate.Member
- type OrderOption
- func ByAvatar(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByExpiredAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMobile(opts ...sql.OrderTermOption) OrderOption
- func ByNickname(opts ...sql.OrderTermOption) OrderOption
- func ByPassword(opts ...sql.OrderTermOption) OrderOption
- func ByRankID(opts ...sql.OrderTermOption) OrderOption
- func ByRanksField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUsername(opts ...sql.OrderTermOption) OrderOption
- func ByWechatOpenID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" // 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 ¶
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldStatus, FieldUsername, FieldPassword, FieldNickname, FieldRankID, FieldMobile, FieldEmail, FieldAvatar, FieldWechatOpenID, FieldExpiredAt, }
Columns holds all SQL columns for member fields.
Functions ¶
func Avatar ¶
Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
func AvatarContains ¶
AvatarContains applies the Contains predicate on the "avatar" field.
func AvatarContainsFold ¶
AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
func AvatarEqualFold ¶
AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
func AvatarHasPrefix ¶
AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
func AvatarHasSuffix ¶
AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
func AvatarIsNil ¶
AvatarIsNil applies the IsNil predicate on the "avatar" field.
func AvatarNotIn ¶
AvatarNotIn applies the NotIn predicate on the "avatar" field.
func AvatarNotNil ¶
AvatarNotNil applies the NotNil predicate on the "avatar" field.
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 ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func ExpiredAt ¶
ExpiredAt applies equality check predicate on the "expired_at" field. It's identical to ExpiredAtEQ.
func ExpiredAtEQ ¶
ExpiredAtEQ applies the EQ predicate on the "expired_at" field.
func ExpiredAtGT ¶
ExpiredAtGT applies the GT predicate on the "expired_at" field.
func ExpiredAtGTE ¶
ExpiredAtGTE applies the GTE predicate on the "expired_at" field.
func ExpiredAtIn ¶
ExpiredAtIn applies the In predicate on the "expired_at" field.
func ExpiredAtIsNil ¶
ExpiredAtIsNil applies the IsNil predicate on the "expired_at" field.
func ExpiredAtLT ¶
ExpiredAtLT applies the LT predicate on the "expired_at" field.
func ExpiredAtLTE ¶
ExpiredAtLTE applies the LTE predicate on the "expired_at" field.
func ExpiredAtNEQ ¶
ExpiredAtNEQ applies the NEQ predicate on the "expired_at" field.
func ExpiredAtNotIn ¶
ExpiredAtNotIn applies the NotIn predicate on the "expired_at" field.
func ExpiredAtNotNil ¶
ExpiredAtNotNil applies the NotNil predicate on the "expired_at" field.
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 Mobile ¶
Mobile applies equality check predicate on the "mobile" field. It's identical to MobileEQ.
func MobileContains ¶
MobileContains applies the Contains predicate on the "mobile" field.
func MobileContainsFold ¶
MobileContainsFold applies the ContainsFold predicate on the "mobile" field.
func MobileEqualFold ¶
MobileEqualFold applies the EqualFold predicate on the "mobile" field.
func MobileHasPrefix ¶
MobileHasPrefix applies the HasPrefix predicate on the "mobile" field.
func MobileHasSuffix ¶
MobileHasSuffix applies the HasSuffix predicate on the "mobile" field.
func MobileIsNil ¶
MobileIsNil applies the IsNil predicate on the "mobile" field.
func MobileNotIn ¶
MobileNotIn applies the NotIn predicate on the "mobile" field.
func MobileNotNil ¶
MobileNotNil applies the NotNil predicate on the "mobile" field.
func Nickname ¶
Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
func NicknameContains ¶
NicknameContains applies the Contains predicate on the "nickname" field.
func NicknameContainsFold ¶
NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
func NicknameEQ ¶
NicknameEQ applies the EQ predicate on the "nickname" field.
func NicknameEqualFold ¶
NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
func NicknameGT ¶
NicknameGT applies the GT predicate on the "nickname" field.
func NicknameGTE ¶
NicknameGTE applies the GTE predicate on the "nickname" field.
func NicknameHasPrefix ¶
NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
func NicknameHasSuffix ¶
NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
func NicknameIn ¶
NicknameIn applies the In predicate on the "nickname" field.
func NicknameLT ¶
NicknameLT applies the LT predicate on the "nickname" field.
func NicknameLTE ¶
NicknameLTE applies the LTE predicate on the "nickname" field.
func NicknameNEQ ¶
NicknameNEQ applies the NEQ predicate on the "nickname" field.
func NicknameNotIn ¶
NicknameNotIn applies the NotIn predicate on the "nickname" field.
func Password ¶
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
PasswordIn applies the In predicate on the "password" field.
func PasswordLT ¶
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
PasswordNotIn applies the NotIn predicate on the "password" field.
func RankID ¶
RankID applies equality check predicate on the "rank_id" field. It's identical to RankIDEQ.
func RankIDIsNil ¶
RankIDIsNil applies the IsNil predicate on the "rank_id" field.
func RankIDNotIn ¶
RankIDNotIn applies the NotIn predicate on the "rank_id" field.
func RankIDNotNil ¶
RankIDNotNil applies the NotNil predicate on the "rank_id" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func Username ¶
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WechatOpenID ¶
WechatOpenID applies equality check predicate on the "wechat_open_id" field. It's identical to WechatOpenIDEQ.
func WechatOpenIDContains ¶
WechatOpenIDContains applies the Contains predicate on the "wechat_open_id" field.
func WechatOpenIDContainsFold ¶
WechatOpenIDContainsFold applies the ContainsFold predicate on the "wechat_open_id" field.
func WechatOpenIDEQ ¶
WechatOpenIDEQ applies the EQ predicate on the "wechat_open_id" field.
func WechatOpenIDEqualFold ¶
WechatOpenIDEqualFold applies the EqualFold predicate on the "wechat_open_id" field.
func WechatOpenIDGT ¶
WechatOpenIDGT applies the GT predicate on the "wechat_open_id" field.
func WechatOpenIDGTE ¶
WechatOpenIDGTE applies the GTE predicate on the "wechat_open_id" field.
func WechatOpenIDHasPrefix ¶
WechatOpenIDHasPrefix applies the HasPrefix predicate on the "wechat_open_id" field.
func WechatOpenIDHasSuffix ¶
WechatOpenIDHasSuffix applies the HasSuffix predicate on the "wechat_open_id" field.
func WechatOpenIDIn ¶
WechatOpenIDIn applies the In predicate on the "wechat_open_id" field.
func WechatOpenIDIsNil ¶
WechatOpenIDIsNil applies the IsNil predicate on the "wechat_open_id" field.
func WechatOpenIDLT ¶
WechatOpenIDLT applies the LT predicate on the "wechat_open_id" field.
func WechatOpenIDLTE ¶
WechatOpenIDLTE applies the LTE predicate on the "wechat_open_id" field.
func WechatOpenIDNEQ ¶
WechatOpenIDNEQ applies the NEQ predicate on the "wechat_open_id" field.
func WechatOpenIDNotIn ¶
WechatOpenIDNotIn applies the NotIn predicate on the "wechat_open_id" field.
func WechatOpenIDNotNil ¶
WechatOpenIDNotNil applies the NotNil predicate on the "wechat_open_id" field.
Types ¶
type OrderOption ¶
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 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.