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 DeletedAt(v time.Time) predicate.User
- func DeletedAtEQ(v time.Time) predicate.User
- func DeletedAtGT(v time.Time) predicate.User
- func DeletedAtGTE(v time.Time) predicate.User
- func DeletedAtIn(vs ...time.Time) predicate.User
- func DeletedAtIsNil() predicate.User
- func DeletedAtLT(v time.Time) predicate.User
- func DeletedAtLTE(v time.Time) predicate.User
- func DeletedAtNEQ(v time.Time) predicate.User
- func DeletedAtNotIn(vs ...time.Time) predicate.User
- func DeletedAtNotNil() 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 EmailLT(v string) predicate.User
- func EmailLTE(v string) predicate.User
- func EmailNEQ(v string) predicate.User
- func EmailNotIn(vs ...string) predicate.User
- func HasEvents() predicate.User
- func HasEventsWith(preds ...predicate.Event) predicate.User
- func HasOwns() predicate.User
- func HasOwnsWith(preds ...predicate.ClientServer) 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 UserID(v string) predicate.User
- func UserIDContains(v string) predicate.User
- func UserIDContainsFold(v string) predicate.User
- func UserIDEQ(v string) predicate.User
- func UserIDEqualFold(v string) predicate.User
- func UserIDGT(v string) predicate.User
- func UserIDGTE(v string) predicate.User
- func UserIDHasPrefix(v string) predicate.User
- func UserIDHasSuffix(v string) predicate.User
- func UserIDIn(vs ...string) predicate.User
- func UserIDLT(v string) predicate.User
- func UserIDLTE(v string) predicate.User
- func UserIDNEQ(v string) predicate.User
- func UserIDNotIn(vs ...string) predicate.User
- func UserName(v string) predicate.User
- func UserNameContains(v string) predicate.User
- func UserNameContainsFold(v string) predicate.User
- func UserNameEQ(v string) predicate.User
- func UserNameEqualFold(v string) predicate.User
- func UserNameGT(v string) predicate.User
- func UserNameGTE(v string) predicate.User
- func UserNameHasPrefix(v string) predicate.User
- func UserNameHasSuffix(v string) predicate.User
- func UserNameIn(vs ...string) predicate.User
- func UserNameLT(v string) predicate.User
- func UserNameLTE(v string) predicate.User
- func UserNameNEQ(v string) predicate.User
- func UserNameNotIn(vs ...string) predicate.User
- func UserNumber(v int) predicate.User
- func UserNumberEQ(v int) predicate.User
- func UserNumberGT(v int) predicate.User
- func UserNumberGTE(v int) predicate.User
- func UserNumberIn(vs ...int) predicate.User
- func UserNumberLT(v int) predicate.User
- func UserNumberLTE(v int) predicate.User
- func UserNumberNEQ(v int) predicate.User
- func UserNumberNotIn(vs ...int) predicate.User
- func UserPw(v string) predicate.User
- func UserPwContains(v string) predicate.User
- func UserPwContainsFold(v string) predicate.User
- func UserPwEQ(v string) predicate.User
- func UserPwEqualFold(v string) predicate.User
- func UserPwGT(v string) predicate.User
- func UserPwGTE(v string) predicate.User
- func UserPwHasPrefix(v string) predicate.User
- func UserPwHasSuffix(v string) predicate.User
- func UserPwIn(vs ...string) predicate.User
- func UserPwLT(v string) predicate.User
- func UserPwLTE(v string) predicate.User
- func UserPwNEQ(v string) predicate.User
- func UserPwNotIn(vs ...string) 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" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldUserPw holds the string denoting the user_pw field in the database. FieldUserPw = "user_pw" // FieldUserName holds the string denoting the user_name field in the database. FieldUserName = "user_name" // FieldUserNumber holds the string denoting the user_number field in the database. FieldUserNumber = "user_number" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // EdgeOwns holds the string denoting the owns edge name in mutations. EdgeOwns = "owns" // Table holds the table name of the user in the database. Table = "users" // EventsTable is the table the holds the events relation/edge. EventsTable = "events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // EventsColumn is the table column denoting the events relation/edge. EventsColumn = "event_user" // OwnsTable is the table the holds the owns relation/edge. The primary key declared below. OwnsTable = "client_server_owner" // OwnsInverseTable is the table name for the ClientServer entity. // It exists in this package in order to avoid circular dependency with the "clientserver" package. OwnsInverseTable = "client_servers" )
Variables ¶
var Columns = []string{ FieldID, FieldUserID, FieldUserPw, FieldUserName, FieldUserNumber, FieldEmail, FieldCreatedAt, FieldDeletedAt, }
Columns holds all SQL columns for user fields.
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var ( // OwnsPrimaryKey and OwnsColumn2 are the table columns denoting the // primary key for the owns relation (M2M). OwnsPrimaryKey = []string{"client_server_id", "user_id"} )
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 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 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 HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasOwnsWith ¶
func HasOwnsWith(preds ...predicate.ClientServer) predicate.User
HasOwnsWith applies the HasEdge predicate on the "owns" edge with a given conditions (other predicates).
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEqualFold ¶
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDHasPrefix ¶
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserName ¶
UserName applies equality check predicate on the "user_name" field. It's identical to UserNameEQ.
func UserNameContains ¶
UserNameContains applies the Contains predicate on the "user_name" field.
func UserNameContainsFold ¶
UserNameContainsFold applies the ContainsFold predicate on the "user_name" field.
func UserNameEQ ¶
UserNameEQ applies the EQ predicate on the "user_name" field.
func UserNameEqualFold ¶
UserNameEqualFold applies the EqualFold predicate on the "user_name" field.
func UserNameGT ¶
UserNameGT applies the GT predicate on the "user_name" field.
func UserNameGTE ¶
UserNameGTE applies the GTE predicate on the "user_name" field.
func UserNameHasPrefix ¶
UserNameHasPrefix applies the HasPrefix predicate on the "user_name" field.
func UserNameHasSuffix ¶
UserNameHasSuffix applies the HasSuffix predicate on the "user_name" field.
func UserNameIn ¶
UserNameIn applies the In predicate on the "user_name" field.
func UserNameLT ¶
UserNameLT applies the LT predicate on the "user_name" field.
func UserNameLTE ¶
UserNameLTE applies the LTE predicate on the "user_name" field.
func UserNameNEQ ¶
UserNameNEQ applies the NEQ predicate on the "user_name" field.
func UserNameNotIn ¶
UserNameNotIn applies the NotIn predicate on the "user_name" field.
func UserNumber ¶
UserNumber applies equality check predicate on the "user_number" field. It's identical to UserNumberEQ.
func UserNumberEQ ¶
UserNumberEQ applies the EQ predicate on the "user_number" field.
func UserNumberGT ¶
UserNumberGT applies the GT predicate on the "user_number" field.
func UserNumberGTE ¶
UserNumberGTE applies the GTE predicate on the "user_number" field.
func UserNumberIn ¶
UserNumberIn applies the In predicate on the "user_number" field.
func UserNumberLT ¶
UserNumberLT applies the LT predicate on the "user_number" field.
func UserNumberLTE ¶
UserNumberLTE applies the LTE predicate on the "user_number" field.
func UserNumberNEQ ¶
UserNumberNEQ applies the NEQ predicate on the "user_number" field.
func UserNumberNotIn ¶
UserNumberNotIn applies the NotIn predicate on the "user_number" field.
func UserPw ¶
UserPw applies equality check predicate on the "user_pw" field. It's identical to UserPwEQ.
func UserPwContains ¶
UserPwContains applies the Contains predicate on the "user_pw" field.
func UserPwContainsFold ¶
UserPwContainsFold applies the ContainsFold predicate on the "user_pw" field.
func UserPwEqualFold ¶
UserPwEqualFold applies the EqualFold predicate on the "user_pw" field.
func UserPwHasPrefix ¶
UserPwHasPrefix applies the HasPrefix predicate on the "user_pw" field.
func UserPwHasSuffix ¶
UserPwHasSuffix applies the HasSuffix predicate on the "user_pw" field.
func UserPwNotIn ¶
UserPwNotIn applies the NotIn predicate on the "user_pw" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.