Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserMetadata) predicate.UserMetadata
- func Color(v int32) predicate.UserMetadata
- func ColorEQ(v int32) predicate.UserMetadata
- func ColorGT(v int32) predicate.UserMetadata
- func ColorGTE(v int32) predicate.UserMetadata
- func ColorIn(vs ...int32) predicate.UserMetadata
- func ColorLT(v int32) predicate.UserMetadata
- func ColorLTE(v int32) predicate.UserMetadata
- func ColorNEQ(v int32) predicate.UserMetadata
- func ColorNotIn(vs ...int32) predicate.UserMetadata
- func HasUser() predicate.UserMetadata
- func HasUserWith(preds ...predicate.User) predicate.UserMetadata
- func ID(id int64) predicate.UserMetadata
- func IDEQ(id int64) predicate.UserMetadata
- func IDGT(id int64) predicate.UserMetadata
- func IDGTE(id int64) predicate.UserMetadata
- func IDIn(ids ...int64) predicate.UserMetadata
- func IDLT(id int64) predicate.UserMetadata
- func IDLTE(id int64) predicate.UserMetadata
- func IDNEQ(id int64) predicate.UserMetadata
- func IDNotIn(ids ...int64) predicate.UserMetadata
- func Name(v string) predicate.UserMetadata
- func NameContains(v string) predicate.UserMetadata
- func NameContainsFold(v string) predicate.UserMetadata
- func NameEQ(v string) predicate.UserMetadata
- func NameEqualFold(v string) predicate.UserMetadata
- func NameGT(v string) predicate.UserMetadata
- func NameGTE(v string) predicate.UserMetadata
- func NameHasPrefix(v string) predicate.UserMetadata
- func NameHasSuffix(v string) predicate.UserMetadata
- func NameIn(vs ...string) predicate.UserMetadata
- func NameLT(v string) predicate.UserMetadata
- func NameLTE(v string) predicate.UserMetadata
- func NameNEQ(v string) predicate.UserMetadata
- func NameNotIn(vs ...string) predicate.UserMetadata
- func Not(p predicate.UserMetadata) predicate.UserMetadata
- func Or(predicates ...predicate.UserMetadata) predicate.UserMetadata
- func UserID(v int64) predicate.UserMetadata
- func UserIDEQ(v int64) predicate.UserMetadata
- func UserIDIn(vs ...int64) predicate.UserMetadata
- func UserIDNEQ(v int64) predicate.UserMetadata
- func UserIDNotIn(vs ...int64) predicate.UserMetadata
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the usermetadata type in the database. Label = "user_metadata" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the userid field in the database. FieldUserID = "user_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldColor holds the string denoting the color field in the database. FieldColor = "color" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the usermetadata in the database. Table = "user_metadata" // UserTable is the table that holds the user relation/edge. UserTable = "user_metadata" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" )
Variables ¶
var Columns = []string{ FieldID, FieldUserID, FieldName, FieldColor, }
Columns holds all SQL columns for usermetadata fields.
Functions ¶
func And ¶
func And(predicates ...predicate.UserMetadata) predicate.UserMetadata
And groups predicates with the AND operator between them.
func Color ¶
func Color(v int32) predicate.UserMetadata
Color applies equality check predicate on the "color" field. It's identical to ColorEQ.
func ColorEQ ¶
func ColorEQ(v int32) predicate.UserMetadata
ColorEQ applies the EQ predicate on the "color" field.
func ColorGT ¶
func ColorGT(v int32) predicate.UserMetadata
ColorGT applies the GT predicate on the "color" field.
func ColorGTE ¶
func ColorGTE(v int32) predicate.UserMetadata
ColorGTE applies the GTE predicate on the "color" field.
func ColorIn ¶
func ColorIn(vs ...int32) predicate.UserMetadata
ColorIn applies the In predicate on the "color" field.
func ColorLT ¶
func ColorLT(v int32) predicate.UserMetadata
ColorLT applies the LT predicate on the "color" field.
func ColorLTE ¶
func ColorLTE(v int32) predicate.UserMetadata
ColorLTE applies the LTE predicate on the "color" field.
func ColorNEQ ¶
func ColorNEQ(v int32) predicate.UserMetadata
ColorNEQ applies the NEQ predicate on the "color" field.
func ColorNotIn ¶
func ColorNotIn(vs ...int32) predicate.UserMetadata
ColorNotIn applies the NotIn predicate on the "color" field.
func HasUser ¶
func HasUser() predicate.UserMetadata
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.UserMetadata
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int64) predicate.UserMetadata
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.UserMetadata
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.UserMetadata
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.UserMetadata
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.UserMetadata
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.UserMetadata
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.UserMetadata
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.UserMetadata
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.UserMetadata
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.UserMetadata
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.UserMetadata
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.UserMetadata
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.UserMetadata
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.UserMetadata
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.UserMetadata
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.UserMetadata
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.UserMetadata
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.UserMetadata
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.UserMetadata
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.UserMetadata
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.UserMetadata
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.UserMetadata
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.UserMetadata) predicate.UserMetadata
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserMetadata) predicate.UserMetadata
Or groups predicates with the OR operator between them.
func UserID ¶
func UserID(v int64) predicate.UserMetadata
UserID applies equality check predicate on the "userID" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int64) predicate.UserMetadata
UserIDEQ applies the EQ predicate on the "userID" field.
func UserIDIn ¶
func UserIDIn(vs ...int64) predicate.UserMetadata
UserIDIn applies the In predicate on the "userID" field.
func UserIDNEQ ¶
func UserIDNEQ(v int64) predicate.UserMetadata
UserIDNEQ applies the NEQ predicate on the "userID" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int64) predicate.UserMetadata
UserIDNotIn applies the NotIn predicate on the "userID" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.