Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserConfig) predicate.UserConfig
- func Break(v uint) predicate.UserConfig
- func BreakEQ(v uint) predicate.UserConfig
- func BreakGT(v uint) predicate.UserConfig
- func BreakGTE(v uint) predicate.UserConfig
- func BreakIn(vs ...uint) predicate.UserConfig
- func BreakLT(v uint) predicate.UserConfig
- func BreakLTE(v uint) predicate.UserConfig
- func BreakNEQ(v uint) predicate.UserConfig
- func BreakNotIn(vs ...uint) predicate.UserConfig
- func HasUsers() predicate.UserConfig
- func HasUsersWith(preds ...predicate.User) predicate.UserConfig
- func ID(id int) predicate.UserConfig
- func IDEQ(id int) predicate.UserConfig
- func IDGT(id int) predicate.UserConfig
- func IDGTE(id int) predicate.UserConfig
- func IDIn(ids ...int) predicate.UserConfig
- func IDLT(id int) predicate.UserConfig
- func IDLTE(id int) predicate.UserConfig
- func IDNEQ(id int) predicate.UserConfig
- func IDNotIn(ids ...int) predicate.UserConfig
- func Not(p predicate.UserConfig) predicate.UserConfig
- func Or(predicates ...predicate.UserConfig) predicate.UserConfig
- func Rank(v uint8) predicate.UserConfig
- func RankEQ(v uint8) predicate.UserConfig
- func RankGT(v uint8) predicate.UserConfig
- func RankGTE(v uint8) predicate.UserConfig
- func RankIn(vs ...uint8) predicate.UserConfig
- func RankLT(v uint8) predicate.UserConfig
- func RankLTE(v uint8) predicate.UserConfig
- func RankNEQ(v uint8) predicate.UserConfig
- func RankNotIn(vs ...uint8) predicate.UserConfig
- func UserID(v int) predicate.UserConfig
- func UserIDEQ(v int) predicate.UserConfig
- func UserIDIn(vs ...int) predicate.UserConfig
- func UserIDNEQ(v int) predicate.UserConfig
- func UserIDNotIn(vs ...int) predicate.UserConfig
- func ValidColumn(column string) bool
- func Working(v uint) predicate.UserConfig
- func WorkingEQ(v uint) predicate.UserConfig
- func WorkingGT(v uint) predicate.UserConfig
- func WorkingGTE(v uint) predicate.UserConfig
- func WorkingIn(vs ...uint) predicate.UserConfig
- func WorkingLT(v uint) predicate.UserConfig
- func WorkingLTE(v uint) predicate.UserConfig
- func WorkingNEQ(v uint) predicate.UserConfig
- func WorkingNotIn(vs ...uint) predicate.UserConfig
Constants ¶
const ( // Label holds the string label denoting the userconfig type in the database. Label = "user_config" // 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" // FieldRank holds the string denoting the rank field in the database. FieldRank = "rank" // FieldWorking holds the string denoting the working field in the database. FieldWorking = "working" // FieldBreak holds the string denoting the break field in the database. FieldBreak = "break" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // Table holds the table name of the userconfig in the database. Table = "user_configs" // UsersTable is the table that holds the users relation/edge. UsersTable = "user_configs" // UsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UsersInverseTable = "users" // UsersColumn is the table column denoting the users relation/edge. UsersColumn = "user_id" )
Variables ¶
var Columns = []string{ FieldID, FieldUserID, FieldRank, FieldWorking, FieldBreak, }
Columns holds all SQL columns for userconfig fields.
Functions ¶
func And ¶
func And(predicates ...predicate.UserConfig) predicate.UserConfig
And groups predicates with the AND operator between them.
func Break ¶
func Break(v uint) predicate.UserConfig
Break applies equality check predicate on the "break" field. It's identical to BreakEQ.
func BreakEQ ¶
func BreakEQ(v uint) predicate.UserConfig
BreakEQ applies the EQ predicate on the "break" field.
func BreakGT ¶
func BreakGT(v uint) predicate.UserConfig
BreakGT applies the GT predicate on the "break" field.
func BreakGTE ¶
func BreakGTE(v uint) predicate.UserConfig
BreakGTE applies the GTE predicate on the "break" field.
func BreakIn ¶
func BreakIn(vs ...uint) predicate.UserConfig
BreakIn applies the In predicate on the "break" field.
func BreakLT ¶
func BreakLT(v uint) predicate.UserConfig
BreakLT applies the LT predicate on the "break" field.
func BreakLTE ¶
func BreakLTE(v uint) predicate.UserConfig
BreakLTE applies the LTE predicate on the "break" field.
func BreakNEQ ¶
func BreakNEQ(v uint) predicate.UserConfig
BreakNEQ applies the NEQ predicate on the "break" field.
func BreakNotIn ¶
func BreakNotIn(vs ...uint) predicate.UserConfig
BreakNotIn applies the NotIn predicate on the "break" field.
func HasUsers ¶
func HasUsers() predicate.UserConfig
HasUsers applies the HasEdge predicate on the "users" edge.
func HasUsersWith ¶
func HasUsersWith(preds ...predicate.User) predicate.UserConfig
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.UserConfig
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.UserConfig
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.UserConfig
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.UserConfig
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.UserConfig
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.UserConfig) predicate.UserConfig
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserConfig) predicate.UserConfig
Or groups predicates with the OR operator between them.
func Rank ¶
func Rank(v uint8) predicate.UserConfig
Rank applies equality check predicate on the "rank" field. It's identical to RankEQ.
func RankEQ ¶
func RankEQ(v uint8) predicate.UserConfig
RankEQ applies the EQ predicate on the "rank" field.
func RankGT ¶
func RankGT(v uint8) predicate.UserConfig
RankGT applies the GT predicate on the "rank" field.
func RankGTE ¶
func RankGTE(v uint8) predicate.UserConfig
RankGTE applies the GTE predicate on the "rank" field.
func RankIn ¶
func RankIn(vs ...uint8) predicate.UserConfig
RankIn applies the In predicate on the "rank" field.
func RankLT ¶
func RankLT(v uint8) predicate.UserConfig
RankLT applies the LT predicate on the "rank" field.
func RankLTE ¶
func RankLTE(v uint8) predicate.UserConfig
RankLTE applies the LTE predicate on the "rank" field.
func RankNEQ ¶
func RankNEQ(v uint8) predicate.UserConfig
RankNEQ applies the NEQ predicate on the "rank" field.
func RankNotIn ¶
func RankNotIn(vs ...uint8) predicate.UserConfig
RankNotIn applies the NotIn predicate on the "rank" field.
func UserID ¶
func UserID(v int) predicate.UserConfig
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int) predicate.UserConfig
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int) predicate.UserConfig
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int) predicate.UserConfig
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int) predicate.UserConfig
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Working ¶
func Working(v uint) predicate.UserConfig
Working applies equality check predicate on the "working" field. It's identical to WorkingEQ.
func WorkingEQ ¶
func WorkingEQ(v uint) predicate.UserConfig
WorkingEQ applies the EQ predicate on the "working" field.
func WorkingGT ¶
func WorkingGT(v uint) predicate.UserConfig
WorkingGT applies the GT predicate on the "working" field.
func WorkingGTE ¶
func WorkingGTE(v uint) predicate.UserConfig
WorkingGTE applies the GTE predicate on the "working" field.
func WorkingIn ¶
func WorkingIn(vs ...uint) predicate.UserConfig
WorkingIn applies the In predicate on the "working" field.
func WorkingLT ¶
func WorkingLT(v uint) predicate.UserConfig
WorkingLT applies the LT predicate on the "working" field.
func WorkingLTE ¶
func WorkingLTE(v uint) predicate.UserConfig
WorkingLTE applies the LTE predicate on the "working" field.
func WorkingNEQ ¶
func WorkingNEQ(v uint) predicate.UserConfig
WorkingNEQ applies the NEQ predicate on the "working" field.
func WorkingNotIn ¶
func WorkingNotIn(vs ...uint) predicate.UserConfig
WorkingNotIn applies the NotIn predicate on the "working" field.
Types ¶
This section is empty.