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 AvatarLT(v string) predicate.Member
- func AvatarLTE(v string) predicate.Member
- func AvatarNEQ(v string) predicate.Member
- func AvatarNotIn(vs ...string) 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 CreatedAtIsNil() 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 CreatedAtNotNil() predicate.Member
- func DeletedAt(v time.Time) predicate.Member
- func DeletedAtEQ(v time.Time) predicate.Member
- func DeletedAtGT(v time.Time) predicate.Member
- func DeletedAtGTE(v time.Time) predicate.Member
- func DeletedAtIn(vs ...time.Time) predicate.Member
- func DeletedAtIsNil() predicate.Member
- func DeletedAtLT(v time.Time) predicate.Member
- func DeletedAtLTE(v time.Time) predicate.Member
- func DeletedAtNEQ(v time.Time) predicate.Member
- func DeletedAtNotIn(vs ...time.Time) predicate.Member
- func DeletedAtNotNil() predicate.Member
- func Description(v string) predicate.Member
- func DescriptionContains(v string) predicate.Member
- func DescriptionContainsFold(v string) predicate.Member
- func DescriptionEQ(v string) predicate.Member
- func DescriptionEqualFold(v string) predicate.Member
- func DescriptionGT(v string) predicate.Member
- func DescriptionGTE(v string) predicate.Member
- func DescriptionHasPrefix(v string) predicate.Member
- func DescriptionHasSuffix(v string) predicate.Member
- func DescriptionIn(vs ...string) predicate.Member
- func DescriptionLT(v string) predicate.Member
- func DescriptionLTE(v string) predicate.Member
- func DescriptionNEQ(v string) predicate.Member
- func DescriptionNotIn(vs ...string) 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 EmailLT(v string) predicate.Member
- func EmailLTE(v string) predicate.Member
- func EmailNEQ(v string) predicate.Member
- func EmailNotIn(vs ...string) predicate.Member
- func ID(id uint32) predicate.Member
- func IDEQ(id uint32) predicate.Member
- func IDGT(id uint32) predicate.Member
- func IDGTE(id uint32) predicate.Member
- func IDIn(ids ...uint32) predicate.Member
- func IDLT(id uint32) predicate.Member
- func IDLTE(id uint32) predicate.Member
- func IDNEQ(id uint32) predicate.Member
- func IDNotIn(ids ...uint32) 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 Phone(v string) predicate.Member
- func PhoneContains(v string) predicate.Member
- func PhoneContainsFold(v string) predicate.Member
- func PhoneEQ(v string) predicate.Member
- func PhoneEqualFold(v string) predicate.Member
- func PhoneGT(v string) predicate.Member
- func PhoneGTE(v string) predicate.Member
- func PhoneHasPrefix(v string) predicate.Member
- func PhoneHasSuffix(v string) predicate.Member
- func PhoneIn(vs ...string) predicate.Member
- func PhoneLT(v string) predicate.Member
- func PhoneLTE(v string) predicate.Member
- func PhoneNEQ(v string) predicate.Member
- func PhoneNotIn(vs ...string) predicate.Member
- func Remark(v string) predicate.Member
- func RemarkContains(v string) predicate.Member
- func RemarkContainsFold(v string) predicate.Member
- func RemarkEQ(v string) predicate.Member
- func RemarkEqualFold(v string) predicate.Member
- func RemarkGT(v string) predicate.Member
- func RemarkGTE(v string) predicate.Member
- func RemarkHasPrefix(v string) predicate.Member
- func RemarkHasSuffix(v string) predicate.Member
- func RemarkIn(vs ...string) predicate.Member
- func RemarkIsNil() predicate.Member
- func RemarkLT(v string) predicate.Member
- func RemarkLTE(v string) predicate.Member
- func RemarkNEQ(v string) predicate.Member
- func RemarkNotIn(vs ...string) predicate.Member
- func RemarkNotNil() predicate.Member
- func Sort(v int32) predicate.Member
- func SortEQ(v int32) predicate.Member
- func SortGT(v int32) predicate.Member
- func SortGTE(v int32) predicate.Member
- func SortIn(vs ...int32) predicate.Member
- func SortLT(v int32) predicate.Member
- func SortLTE(v int32) predicate.Member
- func SortNEQ(v int32) predicate.Member
- func SortNotIn(vs ...int32) predicate.Member
- func State(v int32) predicate.Member
- func StateEQ(v int32) predicate.Member
- func StateGT(v int32) predicate.Member
- func StateGTE(v int32) predicate.Member
- func StateIn(vs ...int32) predicate.Member
- func StateLT(v int32) predicate.Member
- func StateLTE(v int32) predicate.Member
- func StateNEQ(v int32) predicate.Member
- func StateNotIn(vs ...int32) 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 UpdatedAtIsNil() 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 UpdatedAtNotNil() 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
- type OrderOption
- func ByAvatar(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNickname(opts ...sql.OrderTermOption) OrderOption
- func ByPassword(opts ...sql.OrderTermOption) OrderOption
- func ByPhone(opts ...sql.OrderTermOption) OrderOption
- func ByRemark(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUsername(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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldRemark holds the string denoting the remark field in the database. FieldRemark = "remark" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldState holds the string denoting the state field in the database. FieldState = "state" // 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" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // 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" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // Table holds the table name of the member in the database. Table = "members" )
Variables ¶
var ( // DefaultRemark holds the default value on creation for the "remark" field. DefaultRemark string // DefaultSort holds the default value on creation for the "sort" field. DefaultSort int32 // SortValidator is a validator for the "sort" field. It is called by the builders before save. SortValidator func(int32) error // DefaultState holds the default value on creation for the "state" field. DefaultState int32 // StateValidator is a validator for the "state" field. It is called by the builders before save. StateValidator func(int32) error // UsernameValidator is a validator for the "username" field. It is called by the builders before save. UsernameValidator 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 // DefaultNickname holds the default value on creation for the "nickname" field. DefaultNickname string // NicknameValidator is a validator for the "nickname" field. It is called by the builders before save. NicknameValidator func(string) error // PhoneValidator is a validator for the "phone" field. It is called by the builders before save. PhoneValidator func(string) error // DefaultEmail holds the default value on creation for the "email" field. DefaultEmail string // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator 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 // DefaultDescription holds the default value on creation for the "description" field. DefaultDescription string // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(uint32) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldRemark, FieldSort, FieldState, FieldUsername, FieldPassword, FieldNickname, FieldPhone, FieldEmail, FieldAvatar, FieldDescription, }
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 AvatarNotIn ¶
AvatarNotIn applies the NotIn 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 CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil 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 CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" 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 EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" 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 Phone ¶
Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func PhoneContains ¶
PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContainsFold ¶
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneEqualFold ¶
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneHasPrefix ¶
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasSuffix ¶
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" field.
func Remark ¶
Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func RemarkContains ¶
RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContainsFold ¶
RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkEqualFold ¶
RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkHasPrefix ¶
RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasSuffix ¶
RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkIsNil ¶
RemarkIsNil applies the IsNil predicate on the "remark" field.
func RemarkNotIn ¶
RemarkNotIn applies the NotIn predicate on the "remark" field.
func RemarkNotNil ¶
RemarkNotNil applies the NotNil predicate on the "remark" field.
func State ¶
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" 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 UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil 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 UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil 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).
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 ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id 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 ByPhone ¶
func ByPhone(opts ...sql.OrderTermOption) OrderOption
ByPhone orders the results by the phone field.
func ByRemark ¶
func ByRemark(opts ...sql.OrderTermOption) OrderOption
ByRemark orders the results by the remark field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func ByState ¶
func ByState(opts ...sql.OrderTermOption) OrderOption
ByState orders the results by the state 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.