Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func AppID(v int) predicate.User
- func AppIDEQ(v int) predicate.User
- func AppIDGT(v int) predicate.User
- func AppIDGTE(v int) predicate.User
- func AppIDIn(vs ...int) predicate.User
- func AppIDIsNil() predicate.User
- func AppIDLT(v int) predicate.User
- func AppIDLTE(v int) predicate.User
- func AppIDNEQ(v int) predicate.User
- func AppIDNotIn(vs ...int) predicate.User
- func AppIDNotNil() predicate.User
- func CompanyID(v int) predicate.User
- func CompanyIDEQ(v int) predicate.User
- func CompanyIDGT(v int) predicate.User
- func CompanyIDGTE(v int) predicate.User
- func CompanyIDIn(vs ...int) predicate.User
- func CompanyIDIsNil() predicate.User
- func CompanyIDLT(v int) predicate.User
- func CompanyIDLTE(v int) predicate.User
- func CompanyIDNEQ(v int) predicate.User
- func CompanyIDNotIn(vs ...int) predicate.User
- func CompanyIDNotNil() predicate.User
- func CreatedAt(v time.Time) predicate.User
- func CreatedAtEQ(v time.Time) predicate.User
- func CreatedAtGT(v time.Time) predicate.User
- func CreatedAtGTE(v time.Time) predicate.User
- func CreatedAtIn(vs ...time.Time) predicate.User
- func CreatedAtIsNil() predicate.User
- func CreatedAtLT(v time.Time) predicate.User
- func CreatedAtLTE(v time.Time) predicate.User
- func CreatedAtNEQ(v time.Time) predicate.User
- func CreatedAtNotIn(vs ...time.Time) predicate.User
- func CreatedAtNotNil() predicate.User
- func DeleteAt(v time.Time) predicate.User
- func DeleteAtEQ(v time.Time) predicate.User
- func DeleteAtGT(v time.Time) predicate.User
- func DeleteAtGTE(v time.Time) predicate.User
- func DeleteAtIn(vs ...time.Time) predicate.User
- func DeleteAtIsNil() predicate.User
- func DeleteAtLT(v time.Time) predicate.User
- func DeleteAtLTE(v time.Time) predicate.User
- func DeleteAtNEQ(v time.Time) predicate.User
- func DeleteAtNotIn(vs ...time.Time) predicate.User
- func DeleteAtNotNil() predicate.User
- func Email(v string) predicate.User
- func EmailContains(v string) predicate.User
- func EmailContainsFold(v string) predicate.User
- func EmailEQ(v string) predicate.User
- func EmailEqualFold(v string) predicate.User
- func EmailGT(v string) predicate.User
- func EmailGTE(v string) predicate.User
- func EmailHasPrefix(v string) predicate.User
- func EmailHasSuffix(v string) predicate.User
- func EmailIn(vs ...string) predicate.User
- func EmailIsNil() predicate.User
- func EmailLT(v string) predicate.User
- func EmailLTE(v string) predicate.User
- func EmailNEQ(v string) predicate.User
- func EmailNotIn(vs ...string) predicate.User
- func EmailNotNil() predicate.User
- func ID(id int) predicate.User
- func IDEQ(id int) predicate.User
- func IDGT(id int) predicate.User
- func IDGTE(id int) predicate.User
- func IDIn(ids ...int) predicate.User
- func IDLT(id int) predicate.User
- func IDLTE(id int) predicate.User
- func IDNEQ(id int) predicate.User
- func IDNotIn(ids ...int) predicate.User
- func Name(v string) predicate.User
- func NameContains(v string) predicate.User
- func NameContainsFold(v string) predicate.User
- func NameEQ(v string) predicate.User
- func NameEqualFold(v string) predicate.User
- func NameGT(v string) predicate.User
- func NameGTE(v string) predicate.User
- func NameHasPrefix(v string) predicate.User
- func NameHasSuffix(v string) predicate.User
- func NameIn(vs ...string) predicate.User
- func NameIsNil() predicate.User
- func NameLT(v string) predicate.User
- func NameLTE(v string) predicate.User
- func NameNEQ(v string) predicate.User
- func NameNotIn(vs ...string) predicate.User
- func NameNotNil() predicate.User
- func Nickname(v string) predicate.User
- func NicknameContains(v string) predicate.User
- func NicknameContainsFold(v string) predicate.User
- func NicknameEQ(v string) predicate.User
- func NicknameEqualFold(v string) predicate.User
- func NicknameGT(v string) predicate.User
- func NicknameGTE(v string) predicate.User
- func NicknameHasPrefix(v string) predicate.User
- func NicknameHasSuffix(v string) predicate.User
- func NicknameIn(vs ...string) predicate.User
- func NicknameIsNil() predicate.User
- func NicknameLT(v string) predicate.User
- func NicknameLTE(v string) predicate.User
- func NicknameNEQ(v string) predicate.User
- func NicknameNotIn(vs ...string) predicate.User
- func NicknameNotNil() predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func OutUserID(v int) predicate.User
- func OutUserIDEQ(v int) predicate.User
- func OutUserIDGT(v int) predicate.User
- func OutUserIDGTE(v int) predicate.User
- func OutUserIDIn(vs ...int) predicate.User
- func OutUserIDIsNil() predicate.User
- func OutUserIDLT(v int) predicate.User
- func OutUserIDLTE(v int) predicate.User
- func OutUserIDNEQ(v int) predicate.User
- func OutUserIDNotIn(vs ...int) predicate.User
- func OutUserIDNotNil() predicate.User
- func Phone(v string) predicate.User
- func PhoneContains(v string) predicate.User
- func PhoneContainsFold(v string) predicate.User
- func PhoneEQ(v string) predicate.User
- func PhoneEqualFold(v string) predicate.User
- func PhoneGT(v string) predicate.User
- func PhoneGTE(v string) predicate.User
- func PhoneHasPrefix(v string) predicate.User
- func PhoneHasSuffix(v string) predicate.User
- func PhoneIn(vs ...string) predicate.User
- func PhoneLT(v string) predicate.User
- func PhoneLTE(v string) predicate.User
- func PhoneNEQ(v string) predicate.User
- func PhoneNotIn(vs ...string) predicate.User
- func UpdatedAt(v time.Time) predicate.User
- func UpdatedAtEQ(v time.Time) predicate.User
- func UpdatedAtGT(v time.Time) predicate.User
- func UpdatedAtGTE(v time.Time) predicate.User
- func UpdatedAtIn(vs ...time.Time) predicate.User
- func UpdatedAtIsNil() predicate.User
- func UpdatedAtLT(v time.Time) predicate.User
- func UpdatedAtLTE(v time.Time) predicate.User
- func UpdatedAtNEQ(v time.Time) predicate.User
- func UpdatedAtNotIn(vs ...time.Time) predicate.User
- func UpdatedAtNotNil() predicate.User
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the user type in the database. Label = "user" // 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" // FieldDeleteAt holds the string denoting the delete_at field in the database. FieldDeleteAt = "delete_at" // FieldCompanyID holds the string denoting the company_id field in the database. FieldCompanyID = "company_id" // FieldAppID holds the string denoting the app_id field in the database. FieldAppID = "app_id" // FieldOutUserID holds the string denoting the out_user_id field in the database. FieldOutUserID = "out_user_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // 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" // Table holds the table name of the user in the database. Table = "users" )
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeleteAt, FieldCompanyID, FieldAppID, FieldOutUserID, FieldName, FieldEmail, FieldNickname, FieldPhone, }
Columns holds all SQL columns for user fields.
Functions ¶
func AppID ¶
AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppIDIsNil ¶
AppIDIsNil applies the IsNil predicate on the "app_id" field.
func AppIDNotIn ¶
AppIDNotIn applies the NotIn predicate on the "app_id" field.
func AppIDNotNil ¶
AppIDNotNil applies the NotNil predicate on the "app_id" field.
func CompanyID ¶
CompanyID applies equality check predicate on the "company_id" field. It's identical to CompanyIDEQ.
func CompanyIDEQ ¶
CompanyIDEQ applies the EQ predicate on the "company_id" field.
func CompanyIDGT ¶
CompanyIDGT applies the GT predicate on the "company_id" field.
func CompanyIDGTE ¶
CompanyIDGTE applies the GTE predicate on the "company_id" field.
func CompanyIDIn ¶
CompanyIDIn applies the In predicate on the "company_id" field.
func CompanyIDIsNil ¶
CompanyIDIsNil applies the IsNil predicate on the "company_id" field.
func CompanyIDLT ¶
CompanyIDLT applies the LT predicate on the "company_id" field.
func CompanyIDLTE ¶
CompanyIDLTE applies the LTE predicate on the "company_id" field.
func CompanyIDNEQ ¶
CompanyIDNEQ applies the NEQ predicate on the "company_id" field.
func CompanyIDNotIn ¶
CompanyIDNotIn applies the NotIn predicate on the "company_id" field.
func CompanyIDNotNil ¶
CompanyIDNotNil applies the NotNil predicate on the "company_id" 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 DeleteAt ¶
DeleteAt applies equality check predicate on the "delete_at" field. It's identical to DeleteAtEQ.
func DeleteAtEQ ¶
DeleteAtEQ applies the EQ predicate on the "delete_at" field.
func DeleteAtGT ¶
DeleteAtGT applies the GT predicate on the "delete_at" field.
func DeleteAtGTE ¶
DeleteAtGTE applies the GTE predicate on the "delete_at" field.
func DeleteAtIn ¶
DeleteAtIn applies the In predicate on the "delete_at" field.
func DeleteAtIsNil ¶
DeleteAtIsNil applies the IsNil predicate on the "delete_at" field.
func DeleteAtLT ¶
DeleteAtLT applies the LT predicate on the "delete_at" field.
func DeleteAtLTE ¶
DeleteAtLTE applies the LTE predicate on the "delete_at" field.
func DeleteAtNEQ ¶
DeleteAtNEQ applies the NEQ predicate on the "delete_at" field.
func DeleteAtNotIn ¶
DeleteAtNotIn applies the NotIn predicate on the "delete_at" field.
func DeleteAtNotNil ¶
DeleteAtNotNil applies the NotNil predicate on the "delete_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 NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" 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 NicknameIsNil ¶
NicknameIsNil applies the IsNil 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 NicknameNotNil ¶
NicknameNotNil applies the NotNil predicate on the "nickname" field.
func OutUserID ¶
OutUserID applies equality check predicate on the "out_user_id" field. It's identical to OutUserIDEQ.
func OutUserIDEQ ¶
OutUserIDEQ applies the EQ predicate on the "out_user_id" field.
func OutUserIDGT ¶
OutUserIDGT applies the GT predicate on the "out_user_id" field.
func OutUserIDGTE ¶
OutUserIDGTE applies the GTE predicate on the "out_user_id" field.
func OutUserIDIn ¶
OutUserIDIn applies the In predicate on the "out_user_id" field.
func OutUserIDIsNil ¶
OutUserIDIsNil applies the IsNil predicate on the "out_user_id" field.
func OutUserIDLT ¶
OutUserIDLT applies the LT predicate on the "out_user_id" field.
func OutUserIDLTE ¶
OutUserIDLTE applies the LTE predicate on the "out_user_id" field.
func OutUserIDNEQ ¶
OutUserIDNEQ applies the NEQ predicate on the "out_user_id" field.
func OutUserIDNotIn ¶
OutUserIDNotIn applies the NotIn predicate on the "out_user_id" field.
func OutUserIDNotNil ¶
OutUserIDNotNil applies the NotNil predicate on the "out_user_id" 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 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.