Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Member) predicate.Member
- func CreateTime(v time.Time) predicate.Member
- func CreateTimeEQ(v time.Time) predicate.Member
- func CreateTimeGT(v time.Time) predicate.Member
- func CreateTimeGTE(v time.Time) predicate.Member
- func CreateTimeIn(vs ...time.Time) predicate.Member
- func CreateTimeLT(v time.Time) predicate.Member
- func CreateTimeLTE(v time.Time) predicate.Member
- func CreateTimeNEQ(v time.Time) predicate.Member
- func CreateTimeNotIn(vs ...time.Time) predicate.Member
- func DeleteTime(v time.Time) predicate.Member
- func DeleteTimeEQ(v time.Time) predicate.Member
- func DeleteTimeGT(v time.Time) predicate.Member
- func DeleteTimeGTE(v time.Time) predicate.Member
- func DeleteTimeIn(vs ...time.Time) predicate.Member
- func DeleteTimeIsNil() predicate.Member
- func DeleteTimeLT(v time.Time) predicate.Member
- func DeleteTimeLTE(v time.Time) predicate.Member
- func DeleteTimeNEQ(v time.Time) predicate.Member
- func DeleteTimeNotIn(vs ...time.Time) predicate.Member
- func DeleteTimeNotNil() 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 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 LastPwdAuth(v time.Time) predicate.Member
- func LastPwdAuthEQ(v time.Time) predicate.Member
- func LastPwdAuthGT(v time.Time) predicate.Member
- func LastPwdAuthGTE(v time.Time) predicate.Member
- func LastPwdAuthIn(vs ...time.Time) predicate.Member
- func LastPwdAuthIsNil() predicate.Member
- func LastPwdAuthLT(v time.Time) predicate.Member
- func LastPwdAuthLTE(v time.Time) predicate.Member
- func LastPwdAuthNEQ(v time.Time) predicate.Member
- func LastPwdAuthNotIn(vs ...time.Time) predicate.Member
- func LastPwdAuthNotNil() 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 PhoneIsNil() 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 PhoneNotNil() predicate.Member
- func Signature(v string) predicate.Member
- func SignatureContains(v string) predicate.Member
- func SignatureContainsFold(v string) predicate.Member
- func SignatureEQ(v string) predicate.Member
- func SignatureEqualFold(v string) predicate.Member
- func SignatureGT(v string) predicate.Member
- func SignatureGTE(v string) predicate.Member
- func SignatureHasPrefix(v string) predicate.Member
- func SignatureHasSuffix(v string) predicate.Member
- func SignatureIn(vs ...string) predicate.Member
- func SignatureLT(v string) predicate.Member
- func SignatureLTE(v string) predicate.Member
- func SignatureNEQ(v string) predicate.Member
- func SignatureNotIn(vs ...string) predicate.Member
- func StatusEQ(v Status) predicate.Member
- func StatusIn(vs ...Status) predicate.Member
- func StatusIsNil() predicate.Member
- func StatusNEQ(v Status) predicate.Member
- func StatusNotIn(vs ...Status) predicate.Member
- func StatusNotNil() predicate.Member
- func StatusValidator(s Status) error
- func UpdateTime(v time.Time) predicate.Member
- func UpdateTimeEQ(v time.Time) predicate.Member
- func UpdateTimeGT(v time.Time) predicate.Member
- func UpdateTimeGTE(v time.Time) predicate.Member
- func UpdateTimeIn(vs ...time.Time) predicate.Member
- func UpdateTimeLT(v time.Time) predicate.Member
- func UpdateTimeLTE(v time.Time) predicate.Member
- func UpdateTimeNEQ(v time.Time) predicate.Member
- func UpdateTimeNotIn(vs ...time.Time) predicate.Member
- func ValidColumn(column string) bool
- type Status
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" // FieldNickname holds the string denoting the nickname field in the database. FieldNickname = "nickname" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldSignature holds the string denoting the signature field in the database. FieldSignature = "signature" // FieldLastPwdAuth holds the string denoting the last_pwd_auth field in the database. FieldLastPwdAuth = "last_pwd_auth" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldDeleteTime holds the string denoting the delete_time field in the database. FieldDeleteTime = "delete_time" // Table holds the table name of the member in the database. Table = "member" )
Variables ¶
var ( // NicknameValidator is a validator for the "nickname" field. It is called by the builders before save. NicknameValidator func(string) error // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // PhoneValidator is a validator for the "phone" field. It is called by the builders before save. PhoneValidator func(string) error // PasswordValidator is a validator for the "password" field. It is called by the builders before save. PasswordValidator func(string) error // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldNickname, FieldEmail, FieldPhone, FieldPassword, FieldStatus, FieldSignature, FieldLastPwdAuth, FieldCreateTime, FieldUpdateTime, FieldDeleteTime, }
Columns holds all SQL columns for member fields.
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func DeleteTime ¶
DeleteTime applies equality check predicate on the "delete_time" field. It's identical to DeleteTimeEQ.
func DeleteTimeEQ ¶
DeleteTimeEQ applies the EQ predicate on the "delete_time" field.
func DeleteTimeGT ¶
DeleteTimeGT applies the GT predicate on the "delete_time" field.
func DeleteTimeGTE ¶
DeleteTimeGTE applies the GTE predicate on the "delete_time" field.
func DeleteTimeIn ¶
DeleteTimeIn applies the In predicate on the "delete_time" field.
func DeleteTimeIsNil ¶
DeleteTimeIsNil applies the IsNil predicate on the "delete_time" field.
func DeleteTimeLT ¶
DeleteTimeLT applies the LT predicate on the "delete_time" field.
func DeleteTimeLTE ¶
DeleteTimeLTE applies the LTE predicate on the "delete_time" field.
func DeleteTimeNEQ ¶
DeleteTimeNEQ applies the NEQ predicate on the "delete_time" field.
func DeleteTimeNotIn ¶
DeleteTimeNotIn applies the NotIn predicate on the "delete_time" field.
func DeleteTimeNotNil ¶
DeleteTimeNotNil applies the NotNil predicate on the "delete_time" 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 LastPwdAuth ¶
LastPwdAuth applies equality check predicate on the "last_pwd_auth" field. It's identical to LastPwdAuthEQ.
func LastPwdAuthEQ ¶
LastPwdAuthEQ applies the EQ predicate on the "last_pwd_auth" field.
func LastPwdAuthGT ¶
LastPwdAuthGT applies the GT predicate on the "last_pwd_auth" field.
func LastPwdAuthGTE ¶
LastPwdAuthGTE applies the GTE predicate on the "last_pwd_auth" field.
func LastPwdAuthIn ¶
LastPwdAuthIn applies the In predicate on the "last_pwd_auth" field.
func LastPwdAuthIsNil ¶
LastPwdAuthIsNil applies the IsNil predicate on the "last_pwd_auth" field.
func LastPwdAuthLT ¶
LastPwdAuthLT applies the LT predicate on the "last_pwd_auth" field.
func LastPwdAuthLTE ¶
LastPwdAuthLTE applies the LTE predicate on the "last_pwd_auth" field.
func LastPwdAuthNEQ ¶
LastPwdAuthNEQ applies the NEQ predicate on the "last_pwd_auth" field.
func LastPwdAuthNotIn ¶
LastPwdAuthNotIn applies the NotIn predicate on the "last_pwd_auth" field.
func LastPwdAuthNotNil ¶
LastPwdAuthNotNil applies the NotNil predicate on the "last_pwd_auth" 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 PhoneIsNil ¶
PhoneIsNil applies the IsNil predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" field.
func PhoneNotNil ¶
PhoneNotNil applies the NotNil predicate on the "phone" field.
func Signature ¶
Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.
func SignatureContains ¶
SignatureContains applies the Contains predicate on the "signature" field.
func SignatureContainsFold ¶
SignatureContainsFold applies the ContainsFold predicate on the "signature" field.
func SignatureEQ ¶
SignatureEQ applies the EQ predicate on the "signature" field.
func SignatureEqualFold ¶
SignatureEqualFold applies the EqualFold predicate on the "signature" field.
func SignatureGT ¶
SignatureGT applies the GT predicate on the "signature" field.
func SignatureGTE ¶
SignatureGTE applies the GTE predicate on the "signature" field.
func SignatureHasPrefix ¶
SignatureHasPrefix applies the HasPrefix predicate on the "signature" field.
func SignatureHasSuffix ¶
SignatureHasSuffix applies the HasSuffix predicate on the "signature" field.
func SignatureIn ¶
SignatureIn applies the In predicate on the "signature" field.
func SignatureLT ¶
SignatureLT applies the LT predicate on the "signature" field.
func SignatureLTE ¶
SignatureLTE applies the LTE predicate on the "signature" field.
func SignatureNEQ ¶
SignatureNEQ applies the NEQ predicate on the "signature" field.
func SignatureNotIn ¶
SignatureNotIn applies the NotIn predicate on the "signature" field.
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 StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).