Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func AvatarURL(v string) predicate.User
- func AvatarURLContains(v string) predicate.User
- func AvatarURLContainsFold(v string) predicate.User
- func AvatarURLEQ(v string) predicate.User
- func AvatarURLEqualFold(v string) predicate.User
- func AvatarURLGT(v string) predicate.User
- func AvatarURLGTE(v string) predicate.User
- func AvatarURLHasPrefix(v string) predicate.User
- func AvatarURLHasSuffix(v string) predicate.User
- func AvatarURLIn(vs ...string) predicate.User
- func AvatarURLIsNil() predicate.User
- func AvatarURLLT(v string) predicate.User
- func AvatarURLLTE(v string) predicate.User
- func AvatarURLNEQ(v string) predicate.User
- func AvatarURLNotIn(vs ...string) predicate.User
- func AvatarURLNotNil() predicate.User
- func HasNamespaces() predicate.User
- func HasNamespacesWith(preds ...predicate.Namespace) predicate.User
- func HasOwnedNamespaces() predicate.User
- func HasOwnedNamespacesWith(preds ...predicate.Namespace) predicate.User
- func ID(id string) predicate.User
- func IDEQ(id string) predicate.User
- func IDGT(id string) predicate.User
- func IDGTE(id string) predicate.User
- func IDIn(ids ...string) predicate.User
- func IDLT(id string) predicate.User
- func IDLTE(id string) predicate.User
- func IDNEQ(id string) predicate.User
- func IDNotIn(ids ...string) predicate.User
- func Name(v string) predicate.User
- func NameContains(v string) predicate.User
- func NameContainsFold(v string) predicate.User
- func NameEQ(v string) predicate.User
- func NameEqualFold(v string) predicate.User
- func NameGT(v string) predicate.User
- func NameGTE(v string) predicate.User
- func NameHasPrefix(v string) predicate.User
- func NameHasSuffix(v string) predicate.User
- func NameIn(vs ...string) predicate.User
- func NameLT(v string) predicate.User
- func NameLTE(v string) predicate.User
- func NameNEQ(v string) predicate.User
- func NameNotIn(vs ...string) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldAvatarURL holds the string denoting the avatar_url field in the database. FieldAvatarURL = "avatar_url" // EdgeNamespaces holds the string denoting the namespaces edge name in mutations. EdgeNamespaces = "namespaces" // EdgeOwnedNamespaces holds the string denoting the owned_namespaces edge name in mutations. EdgeOwnedNamespaces = "owned_namespaces" // Table holds the table name of the user in the database. Table = "users" // NamespacesTable is the table the holds the namespaces relation/edge. The primary key declared below. NamespacesTable = "namespace_members" // NamespacesInverseTable is the table name for the Namespace entity. // It exists in this package in order to avoid circular dependency with the "namespace" package. NamespacesInverseTable = "namespaces" // OwnedNamespacesTable is the table the holds the owned_namespaces relation/edge. The primary key declared below. OwnedNamespacesTable = "namespace_admins" // OwnedNamespacesInverseTable is the table name for the Namespace entity. // It exists in this package in order to avoid circular dependency with the "namespace" package. OwnedNamespacesInverseTable = "namespaces" )
Variables ¶
var ( // NamespacesPrimaryKey and NamespacesColumn2 are the table columns denoting the // primary key for the namespaces relation (M2M). NamespacesPrimaryKey = []string{"namespace_id", "user_id"} // OwnedNamespacesPrimaryKey and OwnedNamespacesColumn2 are the table columns denoting the // primary key for the owned_namespaces relation (M2M). OwnedNamespacesPrimaryKey = []string{"namespace_id", "user_id"} )
var Columns = []string{ FieldID, FieldName, FieldAvatarURL, }
Columns holds all SQL columns for user fields.
Functions ¶
func AvatarURL ¶
AvatarURL applies equality check predicate on the "avatar_url" field. It's identical to AvatarURLEQ.
func AvatarURLContains ¶
AvatarURLContains applies the Contains predicate on the "avatar_url" field.
func AvatarURLContainsFold ¶
AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.
func AvatarURLEQ ¶
AvatarURLEQ applies the EQ predicate on the "avatar_url" field.
func AvatarURLEqualFold ¶
AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.
func AvatarURLGT ¶
AvatarURLGT applies the GT predicate on the "avatar_url" field.
func AvatarURLGTE ¶
AvatarURLGTE applies the GTE predicate on the "avatar_url" field.
func AvatarURLHasPrefix ¶
AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.
func AvatarURLHasSuffix ¶
AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.
func AvatarURLIn ¶
AvatarURLIn applies the In predicate on the "avatar_url" field.
func AvatarURLIsNil ¶
AvatarURLIsNil applies the IsNil predicate on the "avatar_url" field.
func AvatarURLLT ¶
AvatarURLLT applies the LT predicate on the "avatar_url" field.
func AvatarURLLTE ¶
AvatarURLLTE applies the LTE predicate on the "avatar_url" field.
func AvatarURLNEQ ¶
AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.
func AvatarURLNotIn ¶
AvatarURLNotIn applies the NotIn predicate on the "avatar_url" field.
func AvatarURLNotNil ¶
AvatarURLNotNil applies the NotNil predicate on the "avatar_url" field.
func HasNamespaces ¶
HasNamespaces applies the HasEdge predicate on the "namespaces" edge.
func HasNamespacesWith ¶
HasNamespacesWith applies the HasEdge predicate on the "namespaces" edge with a given conditions (other predicates).
func HasOwnedNamespaces ¶
HasOwnedNamespaces applies the HasEdge predicate on the "owned_namespaces" edge.
func HasOwnedNamespacesWith ¶
HasOwnedNamespacesWith applies the HasEdge predicate on the "owned_namespaces" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
Types ¶
This section is empty.