Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func CreateTime(v time.Time) predicate.User
- func CreateTimeEQ(v time.Time) predicate.User
- func CreateTimeGT(v time.Time) predicate.User
- func CreateTimeGTE(v time.Time) predicate.User
- func CreateTimeIn(vs ...time.Time) predicate.User
- func CreateTimeLT(v time.Time) predicate.User
- func CreateTimeLTE(v time.Time) predicate.User
- func CreateTimeNEQ(v time.Time) predicate.User
- func CreateTimeNotIn(vs ...time.Time) predicate.User
- func Displayname(v string) predicate.User
- func DisplaynameContains(v string) predicate.User
- func DisplaynameContainsFold(v string) predicate.User
- func DisplaynameEQ(v string) predicate.User
- func DisplaynameEqualFold(v string) predicate.User
- func DisplaynameGT(v string) predicate.User
- func DisplaynameGTE(v string) predicate.User
- func DisplaynameHasPrefix(v string) predicate.User
- func DisplaynameHasSuffix(v string) predicate.User
- func DisplaynameIn(vs ...string) predicate.User
- func DisplaynameLT(v string) predicate.User
- func DisplaynameLTE(v string) predicate.User
- func DisplaynameNEQ(v string) predicate.User
- func DisplaynameNotIn(vs ...string) predicate.User
- func HasCredentials() predicate.User
- func HasCredentialsWith(preds ...predicate.WebauthnCredential) 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
- func UpdateTime(v time.Time) predicate.User
- func UpdateTimeEQ(v time.Time) predicate.User
- func UpdateTimeGT(v time.Time) predicate.User
- func UpdateTimeGTE(v time.Time) predicate.User
- func UpdateTimeIn(vs ...time.Time) predicate.User
- func UpdateTimeLT(v time.Time) predicate.User
- func UpdateTimeLTE(v time.Time) predicate.User
- func UpdateTimeNEQ(v time.Time) predicate.User
- func UpdateTimeNotIn(vs ...time.Time) 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" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDisplayname holds the string denoting the displayname field in the database. FieldDisplayname = "displayname" // EdgeCredentials holds the string denoting the credentials edge name in mutations. EdgeCredentials = "credentials" // Table holds the table name of the user in the database. Table = "users" // CredentialsTable is the table that holds the credentials relation/edge. CredentialsTable = "webauthn_credentials" // CredentialsInverseTable is the table name for the WebauthnCredential entity. // It exists in this package in order to avoid circular dependency with the "webauthncredential" package. CredentialsInverseTable = "webauthn_credentials" // CredentialsColumn is the table column denoting the credentials relation/edge. CredentialsColumn = "user_credentials" )
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldName, FieldDisplayname, }
Columns holds all SQL columns for user fields.
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Displayname ¶
Displayname applies equality check predicate on the "displayname" field. It's identical to DisplaynameEQ.
func DisplaynameContains ¶
DisplaynameContains applies the Contains predicate on the "displayname" field.
func DisplaynameContainsFold ¶
DisplaynameContainsFold applies the ContainsFold predicate on the "displayname" field.
func DisplaynameEQ ¶
DisplaynameEQ applies the EQ predicate on the "displayname" field.
func DisplaynameEqualFold ¶
DisplaynameEqualFold applies the EqualFold predicate on the "displayname" field.
func DisplaynameGT ¶
DisplaynameGT applies the GT predicate on the "displayname" field.
func DisplaynameGTE ¶
DisplaynameGTE applies the GTE predicate on the "displayname" field.
func DisplaynameHasPrefix ¶
DisplaynameHasPrefix applies the HasPrefix predicate on the "displayname" field.
func DisplaynameHasSuffix ¶
DisplaynameHasSuffix applies the HasSuffix predicate on the "displayname" field.
func DisplaynameIn ¶
DisplaynameIn applies the In predicate on the "displayname" field.
func DisplaynameLT ¶
DisplaynameLT applies the LT predicate on the "displayname" field.
func DisplaynameLTE ¶
DisplaynameLTE applies the LTE predicate on the "displayname" field.
func DisplaynameNEQ ¶
DisplaynameNEQ applies the NEQ predicate on the "displayname" field.
func DisplaynameNotIn ¶
DisplaynameNotIn applies the NotIn predicate on the "displayname" field.
func HasCredentials ¶
HasCredentials applies the HasEdge predicate on the "credentials" edge.
func HasCredentialsWith ¶
func HasCredentialsWith(preds ...predicate.WebauthnCredential) predicate.User
HasCredentialsWith applies the HasEdge predicate on the "credentials" 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.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.