Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserTexture) predicate.UserTexture
- func HasTexture() predicate.UserTexture
- func HasTextureWith(preds ...predicate.Texture) predicate.UserTexture
- func HasUserProfile() predicate.UserTexture
- func HasUserProfileWith(preds ...predicate.UserProfile) predicate.UserTexture
- func ID(id int) predicate.UserTexture
- func IDEQ(id int) predicate.UserTexture
- func IDGT(id int) predicate.UserTexture
- func IDGTE(id int) predicate.UserTexture
- func IDIn(ids ...int) predicate.UserTexture
- func IDLT(id int) predicate.UserTexture
- func IDLTE(id int) predicate.UserTexture
- func IDNEQ(id int) predicate.UserTexture
- func IDNotIn(ids ...int) predicate.UserTexture
- func Not(p predicate.UserTexture) predicate.UserTexture
- func Or(predicates ...predicate.UserTexture) predicate.UserTexture
- func TextureID(v int) predicate.UserTexture
- func TextureIDEQ(v int) predicate.UserTexture
- func TextureIDIn(vs ...int) predicate.UserTexture
- func TextureIDNEQ(v int) predicate.UserTexture
- func TextureIDNotIn(vs ...int) predicate.UserTexture
- func Type(v string) predicate.UserTexture
- func TypeContains(v string) predicate.UserTexture
- func TypeContainsFold(v string) predicate.UserTexture
- func TypeEQ(v string) predicate.UserTexture
- func TypeEqualFold(v string) predicate.UserTexture
- func TypeGT(v string) predicate.UserTexture
- func TypeGTE(v string) predicate.UserTexture
- func TypeHasPrefix(v string) predicate.UserTexture
- func TypeHasSuffix(v string) predicate.UserTexture
- func TypeIn(vs ...string) predicate.UserTexture
- func TypeLT(v string) predicate.UserTexture
- func TypeLTE(v string) predicate.UserTexture
- func TypeNEQ(v string) predicate.UserTexture
- func TypeNotIn(vs ...string) predicate.UserTexture
- func UserProfileID(v int) predicate.UserTexture
- func UserProfileIDEQ(v int) predicate.UserTexture
- func UserProfileIDIn(vs ...int) predicate.UserTexture
- func UserProfileIDNEQ(v int) predicate.UserTexture
- func UserProfileIDNotIn(vs ...int) predicate.UserTexture
- func ValidColumn(column string) bool
- func Variant(v string) predicate.UserTexture
- func VariantContains(v string) predicate.UserTexture
- func VariantContainsFold(v string) predicate.UserTexture
- func VariantEQ(v string) predicate.UserTexture
- func VariantEqualFold(v string) predicate.UserTexture
- func VariantGT(v string) predicate.UserTexture
- func VariantGTE(v string) predicate.UserTexture
- func VariantHasPrefix(v string) predicate.UserTexture
- func VariantHasSuffix(v string) predicate.UserTexture
- func VariantIn(vs ...string) predicate.UserTexture
- func VariantLT(v string) predicate.UserTexture
- func VariantLTE(v string) predicate.UserTexture
- func VariantNEQ(v string) predicate.UserTexture
- func VariantNotIn(vs ...string) predicate.UserTexture
- type OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByTextureField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTextureID(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUserProfileField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserProfileID(opts ...sql.OrderTermOption) OrderOption
- func ByVariant(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the usertexture type in the database. Label = "user_texture" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserProfileID holds the string denoting the user_profile_id field in the database. FieldUserProfileID = "user_profile_id" // FieldTextureID holds the string denoting the texture_id field in the database. FieldTextureID = "texture_id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldVariant holds the string denoting the variant field in the database. FieldVariant = "variant" // EdgeUserProfile holds the string denoting the user_profile edge name in mutations. EdgeUserProfile = "user_profile" // EdgeTexture holds the string denoting the texture edge name in mutations. EdgeTexture = "texture" // Table holds the table name of the usertexture in the database. Table = "user_textures" // UserProfileTable is the table that holds the user_profile relation/edge. UserProfileTable = "user_textures" // UserProfileInverseTable is the table name for the UserProfile entity. // It exists in this package in order to avoid circular dependency with the "userprofile" package. UserProfileInverseTable = "user_profiles" // UserProfileColumn is the table column denoting the user_profile relation/edge. UserProfileColumn = "user_profile_id" // TextureTable is the table that holds the texture relation/edge. TextureTable = "user_textures" // TextureInverseTable is the table name for the Texture entity. // It exists in this package in order to avoid circular dependency with the "texture" package. TextureInverseTable = "textures" // TextureColumn is the table column denoting the texture relation/edge. TextureColumn = "texture_id" )
Variables ¶
var Columns = []string{ FieldID, FieldUserProfileID, FieldTextureID, FieldType, FieldVariant, }
Columns holds all SQL columns for usertexture fields.
Functions ¶
func And ¶
func And(predicates ...predicate.UserTexture) predicate.UserTexture
And groups predicates with the AND operator between them.
func HasTexture ¶
func HasTexture() predicate.UserTexture
HasTexture applies the HasEdge predicate on the "texture" edge.
func HasTextureWith ¶
func HasTextureWith(preds ...predicate.Texture) predicate.UserTexture
HasTextureWith applies the HasEdge predicate on the "texture" edge with a given conditions (other predicates).
func HasUserProfile ¶
func HasUserProfile() predicate.UserTexture
HasUserProfile applies the HasEdge predicate on the "user_profile" edge.
func HasUserProfileWith ¶
func HasUserProfileWith(preds ...predicate.UserProfile) predicate.UserTexture
HasUserProfileWith applies the HasEdge predicate on the "user_profile" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.UserTexture
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.UserTexture
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.UserTexture
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.UserTexture
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.UserTexture
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.UserTexture) predicate.UserTexture
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserTexture) predicate.UserTexture
Or groups predicates with the OR operator between them.
func TextureID ¶
func TextureID(v int) predicate.UserTexture
TextureID applies equality check predicate on the "texture_id" field. It's identical to TextureIDEQ.
func TextureIDEQ ¶
func TextureIDEQ(v int) predicate.UserTexture
TextureIDEQ applies the EQ predicate on the "texture_id" field.
func TextureIDIn ¶
func TextureIDIn(vs ...int) predicate.UserTexture
TextureIDIn applies the In predicate on the "texture_id" field.
func TextureIDNEQ ¶
func TextureIDNEQ(v int) predicate.UserTexture
TextureIDNEQ applies the NEQ predicate on the "texture_id" field.
func TextureIDNotIn ¶
func TextureIDNotIn(vs ...int) predicate.UserTexture
TextureIDNotIn applies the NotIn predicate on the "texture_id" field.
func Type ¶
func Type(v string) predicate.UserTexture
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeContains ¶
func TypeContains(v string) predicate.UserTexture
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
func TypeContainsFold(v string) predicate.UserTexture
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEQ ¶
func TypeEQ(v string) predicate.UserTexture
TypeEQ applies the EQ predicate on the "type" field.
func TypeEqualFold ¶
func TypeEqualFold(v string) predicate.UserTexture
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeGT ¶
func TypeGT(v string) predicate.UserTexture
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v string) predicate.UserTexture
TypeGTE applies the GTE predicate on the "type" field.
func TypeHasPrefix ¶
func TypeHasPrefix(v string) predicate.UserTexture
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
func TypeHasSuffix(v string) predicate.UserTexture
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...string) predicate.UserTexture
TypeIn applies the In predicate on the "type" field.
func TypeLT ¶
func TypeLT(v string) predicate.UserTexture
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v string) predicate.UserTexture
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v string) predicate.UserTexture
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...string) predicate.UserTexture
TypeNotIn applies the NotIn predicate on the "type" field.
func UserProfileID ¶
func UserProfileID(v int) predicate.UserTexture
UserProfileID applies equality check predicate on the "user_profile_id" field. It's identical to UserProfileIDEQ.
func UserProfileIDEQ ¶
func UserProfileIDEQ(v int) predicate.UserTexture
UserProfileIDEQ applies the EQ predicate on the "user_profile_id" field.
func UserProfileIDIn ¶
func UserProfileIDIn(vs ...int) predicate.UserTexture
UserProfileIDIn applies the In predicate on the "user_profile_id" field.
func UserProfileIDNEQ ¶
func UserProfileIDNEQ(v int) predicate.UserTexture
UserProfileIDNEQ applies the NEQ predicate on the "user_profile_id" field.
func UserProfileIDNotIn ¶
func UserProfileIDNotIn(vs ...int) predicate.UserTexture
UserProfileIDNotIn applies the NotIn predicate on the "user_profile_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Variant ¶
func Variant(v string) predicate.UserTexture
Variant applies equality check predicate on the "variant" field. It's identical to VariantEQ.
func VariantContains ¶
func VariantContains(v string) predicate.UserTexture
VariantContains applies the Contains predicate on the "variant" field.
func VariantContainsFold ¶
func VariantContainsFold(v string) predicate.UserTexture
VariantContainsFold applies the ContainsFold predicate on the "variant" field.
func VariantEQ ¶
func VariantEQ(v string) predicate.UserTexture
VariantEQ applies the EQ predicate on the "variant" field.
func VariantEqualFold ¶
func VariantEqualFold(v string) predicate.UserTexture
VariantEqualFold applies the EqualFold predicate on the "variant" field.
func VariantGT ¶
func VariantGT(v string) predicate.UserTexture
VariantGT applies the GT predicate on the "variant" field.
func VariantGTE ¶
func VariantGTE(v string) predicate.UserTexture
VariantGTE applies the GTE predicate on the "variant" field.
func VariantHasPrefix ¶
func VariantHasPrefix(v string) predicate.UserTexture
VariantHasPrefix applies the HasPrefix predicate on the "variant" field.
func VariantHasSuffix ¶
func VariantHasSuffix(v string) predicate.UserTexture
VariantHasSuffix applies the HasSuffix predicate on the "variant" field.
func VariantIn ¶
func VariantIn(vs ...string) predicate.UserTexture
VariantIn applies the In predicate on the "variant" field.
func VariantLT ¶
func VariantLT(v string) predicate.UserTexture
VariantLT applies the LT predicate on the "variant" field.
func VariantLTE ¶
func VariantLTE(v string) predicate.UserTexture
VariantLTE applies the LTE predicate on the "variant" field.
func VariantNEQ ¶
func VariantNEQ(v string) predicate.UserTexture
VariantNEQ applies the NEQ predicate on the "variant" field.
func VariantNotIn ¶
func VariantNotIn(vs ...string) predicate.UserTexture
VariantNotIn applies the NotIn predicate on the "variant" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the UserTexture queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByTextureField ¶
func ByTextureField(field string, opts ...sql.OrderTermOption) OrderOption
ByTextureField orders the results by texture field.
func ByTextureID ¶
func ByTextureID(opts ...sql.OrderTermOption) OrderOption
ByTextureID orders the results by the texture_id field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUserProfileField ¶
func ByUserProfileField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserProfileField orders the results by user_profile field.
func ByUserProfileID ¶
func ByUserProfileID(opts ...sql.OrderTermOption) OrderOption
ByUserProfileID orders the results by the user_profile_id field.
func ByVariant ¶
func ByVariant(opts ...sql.OrderTermOption) OrderOption
ByVariant orders the results by the variant field.