Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) 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 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 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 Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) 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 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 UserEmail(v string) predicate.User
- func UserEmailContains(v string) predicate.User
- func UserEmailContainsFold(v string) predicate.User
- func UserEmailEQ(v string) predicate.User
- func UserEmailEqualFold(v string) predicate.User
- func UserEmailGT(v string) predicate.User
- func UserEmailGTE(v string) predicate.User
- func UserEmailHasPrefix(v string) predicate.User
- func UserEmailHasSuffix(v string) predicate.User
- func UserEmailIn(vs ...string) predicate.User
- func UserEmailLT(v string) predicate.User
- func UserEmailLTE(v string) predicate.User
- func UserEmailNEQ(v string) predicate.User
- func UserEmailNotIn(vs ...string) predicate.User
- func UserNickname(v string) predicate.User
- func UserNicknameContains(v string) predicate.User
- func UserNicknameContainsFold(v string) predicate.User
- func UserNicknameEQ(v string) predicate.User
- func UserNicknameEqualFold(v string) predicate.User
- func UserNicknameGT(v string) predicate.User
- func UserNicknameGTE(v string) predicate.User
- func UserNicknameHasPrefix(v string) predicate.User
- func UserNicknameHasSuffix(v string) predicate.User
- func UserNicknameIn(vs ...string) predicate.User
- func UserNicknameLT(v string) predicate.User
- func UserNicknameLTE(v string) predicate.User
- func UserNicknameNEQ(v string) predicate.User
- func UserNicknameNotIn(vs ...string) predicate.User
- func UserPassword(v string) predicate.User
- func UserPasswordContains(v string) predicate.User
- func UserPasswordContainsFold(v string) predicate.User
- func UserPasswordEQ(v string) predicate.User
- func UserPasswordEqualFold(v string) predicate.User
- func UserPasswordGT(v string) predicate.User
- func UserPasswordGTE(v string) predicate.User
- func UserPasswordHasPrefix(v string) predicate.User
- func UserPasswordHasSuffix(v string) predicate.User
- func UserPasswordIn(vs ...string) predicate.User
- func UserPasswordLT(v string) predicate.User
- func UserPasswordLTE(v string) predicate.User
- func UserPasswordNEQ(v string) predicate.User
- func UserPasswordNotIn(vs ...string) predicate.User
- func UserUUID(v uuid.UUID) predicate.User
- func UserUUIDEQ(v uuid.UUID) predicate.User
- func UserUUIDGT(v uuid.UUID) predicate.User
- func UserUUIDGTE(v uuid.UUID) predicate.User
- func UserUUIDIn(vs ...uuid.UUID) predicate.User
- func UserUUIDLT(v uuid.UUID) predicate.User
- func UserUUIDLTE(v uuid.UUID) predicate.User
- func UserUUIDNEQ(v uuid.UUID) predicate.User
- func UserUUIDNotIn(vs ...uuid.UUID) 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" // FieldUserUUID holds the string denoting the user_uuid field in the database. FieldUserUUID = "user_uuid" // FieldUserEmail holds the string denoting the user_email field in the database. FieldUserEmail = "user_email" // FieldUserPassword holds the string denoting the user_password field in the database. FieldUserPassword = "user_password" // FieldUserNickname holds the string denoting the user_nickname field in the database. FieldUserNickname = "user_nickname" // 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" // Table holds the table name of the user in the database. Table = "users" )
Variables ¶
var ( // DefaultUserUUID holds the default value on creation for the "user_uuid" field. DefaultUserUUID func() uuid.UUID // DefaultUserEmail holds the default value on creation for the "user_email" field. DefaultUserEmail string // DefaultUserPassword holds the default value on creation for the "user_password" field. DefaultUserPassword string // DefaultUserNickname holds the default value on creation for the "user_nickname" field. DefaultUserNickname string // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // UpdateDefaultCreatedAt holds the default value on update for the "created_at" field. UpdateDefaultCreatedAt 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, FieldUserUUID, FieldUserEmail, FieldUserPassword, FieldUserNickname, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for user fields.
Functions ¶
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 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 UserEmail ¶
UserEmail applies equality check predicate on the "user_email" field. It's identical to UserEmailEQ.
func UserEmailContains ¶
UserEmailContains applies the Contains predicate on the "user_email" field.
func UserEmailContainsFold ¶
UserEmailContainsFold applies the ContainsFold predicate on the "user_email" field.
func UserEmailEQ ¶
UserEmailEQ applies the EQ predicate on the "user_email" field.
func UserEmailEqualFold ¶
UserEmailEqualFold applies the EqualFold predicate on the "user_email" field.
func UserEmailGT ¶
UserEmailGT applies the GT predicate on the "user_email" field.
func UserEmailGTE ¶
UserEmailGTE applies the GTE predicate on the "user_email" field.
func UserEmailHasPrefix ¶
UserEmailHasPrefix applies the HasPrefix predicate on the "user_email" field.
func UserEmailHasSuffix ¶
UserEmailHasSuffix applies the HasSuffix predicate on the "user_email" field.
func UserEmailIn ¶
UserEmailIn applies the In predicate on the "user_email" field.
func UserEmailLT ¶
UserEmailLT applies the LT predicate on the "user_email" field.
func UserEmailLTE ¶
UserEmailLTE applies the LTE predicate on the "user_email" field.
func UserEmailNEQ ¶
UserEmailNEQ applies the NEQ predicate on the "user_email" field.
func UserEmailNotIn ¶
UserEmailNotIn applies the NotIn predicate on the "user_email" field.
func UserNickname ¶
UserNickname applies equality check predicate on the "user_nickname" field. It's identical to UserNicknameEQ.
func UserNicknameContains ¶
UserNicknameContains applies the Contains predicate on the "user_nickname" field.
func UserNicknameContainsFold ¶
UserNicknameContainsFold applies the ContainsFold predicate on the "user_nickname" field.
func UserNicknameEQ ¶
UserNicknameEQ applies the EQ predicate on the "user_nickname" field.
func UserNicknameEqualFold ¶
UserNicknameEqualFold applies the EqualFold predicate on the "user_nickname" field.
func UserNicknameGT ¶
UserNicknameGT applies the GT predicate on the "user_nickname" field.
func UserNicknameGTE ¶
UserNicknameGTE applies the GTE predicate on the "user_nickname" field.
func UserNicknameHasPrefix ¶
UserNicknameHasPrefix applies the HasPrefix predicate on the "user_nickname" field.
func UserNicknameHasSuffix ¶
UserNicknameHasSuffix applies the HasSuffix predicate on the "user_nickname" field.
func UserNicknameIn ¶
UserNicknameIn applies the In predicate on the "user_nickname" field.
func UserNicknameLT ¶
UserNicknameLT applies the LT predicate on the "user_nickname" field.
func UserNicknameLTE ¶
UserNicknameLTE applies the LTE predicate on the "user_nickname" field.
func UserNicknameNEQ ¶
UserNicknameNEQ applies the NEQ predicate on the "user_nickname" field.
func UserNicknameNotIn ¶
UserNicknameNotIn applies the NotIn predicate on the "user_nickname" field.
func UserPassword ¶
UserPassword applies equality check predicate on the "user_password" field. It's identical to UserPasswordEQ.
func UserPasswordContains ¶
UserPasswordContains applies the Contains predicate on the "user_password" field.
func UserPasswordContainsFold ¶
UserPasswordContainsFold applies the ContainsFold predicate on the "user_password" field.
func UserPasswordEQ ¶
UserPasswordEQ applies the EQ predicate on the "user_password" field.
func UserPasswordEqualFold ¶
UserPasswordEqualFold applies the EqualFold predicate on the "user_password" field.
func UserPasswordGT ¶
UserPasswordGT applies the GT predicate on the "user_password" field.
func UserPasswordGTE ¶
UserPasswordGTE applies the GTE predicate on the "user_password" field.
func UserPasswordHasPrefix ¶
UserPasswordHasPrefix applies the HasPrefix predicate on the "user_password" field.
func UserPasswordHasSuffix ¶
UserPasswordHasSuffix applies the HasSuffix predicate on the "user_password" field.
func UserPasswordIn ¶
UserPasswordIn applies the In predicate on the "user_password" field.
func UserPasswordLT ¶
UserPasswordLT applies the LT predicate on the "user_password" field.
func UserPasswordLTE ¶
UserPasswordLTE applies the LTE predicate on the "user_password" field.
func UserPasswordNEQ ¶
UserPasswordNEQ applies the NEQ predicate on the "user_password" field.
func UserPasswordNotIn ¶
UserPasswordNotIn applies the NotIn predicate on the "user_password" field.
func UserUUID ¶
UserUUID applies equality check predicate on the "user_uuid" field. It's identical to UserUUIDEQ.
func UserUUIDEQ ¶
UserUUIDEQ applies the EQ predicate on the "user_uuid" field.
func UserUUIDGT ¶
UserUUIDGT applies the GT predicate on the "user_uuid" field.
func UserUUIDGTE ¶
UserUUIDGTE applies the GTE predicate on the "user_uuid" field.
func UserUUIDIn ¶
UserUUIDIn applies the In predicate on the "user_uuid" field.
func UserUUIDLT ¶
UserUUIDLT applies the LT predicate on the "user_uuid" field.
func UserUUIDLTE ¶
UserUUIDLTE applies the LTE predicate on the "user_uuid" field.
func UserUUIDNEQ ¶
UserUUIDNEQ applies the NEQ predicate on the "user_uuid" field.
func UserUUIDNotIn ¶
UserUUIDNotIn applies the NotIn predicate on the "user_uuid" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.