create account, create email
This commit is contained in:
@ -226,6 +226,16 @@ func NicknameHasSuffix(v string) predicate.Account {
|
||||
return predicate.Account(sql.FieldHasSuffix(FieldNickname, v))
|
||||
}
|
||||
|
||||
// NicknameIsNil applies the IsNil predicate on the "nickname" field.
|
||||
func NicknameIsNil() predicate.Account {
|
||||
return predicate.Account(sql.FieldIsNull(FieldNickname))
|
||||
}
|
||||
|
||||
// NicknameNotNil applies the NotNil predicate on the "nickname" field.
|
||||
func NicknameNotNil() predicate.Account {
|
||||
return predicate.Account(sql.FieldNotNull(FieldNickname))
|
||||
}
|
||||
|
||||
// NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
|
||||
func NicknameEqualFold(v string) predicate.Account {
|
||||
return predicate.Account(sql.FieldEqualFold(FieldNickname, v))
|
||||
@ -291,6 +301,16 @@ func NameHasSuffix(v string) predicate.Account {
|
||||
return predicate.Account(sql.FieldHasSuffix(FieldName, v))
|
||||
}
|
||||
|
||||
// NameIsNil applies the IsNil predicate on the "name" field.
|
||||
func NameIsNil() predicate.Account {
|
||||
return predicate.Account(sql.FieldIsNull(FieldName))
|
||||
}
|
||||
|
||||
// NameNotNil applies the NotNil predicate on the "name" field.
|
||||
func NameNotNil() predicate.Account {
|
||||
return predicate.Account(sql.FieldNotNull(FieldName))
|
||||
}
|
||||
|
||||
// NameEqualFold applies the EqualFold predicate on the "name" field.
|
||||
func NameEqualFold(v string) predicate.Account {
|
||||
return predicate.Account(sql.FieldEqualFold(FieldName, v))
|
||||
|
Reference in New Issue
Block a user