Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WebauthnCredential) predicate.WebauthnCredential
- func CreateTime(v time.Time) predicate.WebauthnCredential
- func CreateTimeEQ(v time.Time) predicate.WebauthnCredential
- func CreateTimeGT(v time.Time) predicate.WebauthnCredential
- func CreateTimeGTE(v time.Time) predicate.WebauthnCredential
- func CreateTimeIn(vs ...time.Time) predicate.WebauthnCredential
- func CreateTimeLT(v time.Time) predicate.WebauthnCredential
- func CreateTimeLTE(v time.Time) predicate.WebauthnCredential
- func CreateTimeNEQ(v time.Time) predicate.WebauthnCredential
- func CreateTimeNotIn(vs ...time.Time) predicate.WebauthnCredential
- func HasUser() predicate.WebauthnCredential
- func HasUserWith(preds ...predicate.User) predicate.WebauthnCredential
- func ID(id string) predicate.WebauthnCredential
- func IDEQ(id string) predicate.WebauthnCredential
- func IDGT(id string) predicate.WebauthnCredential
- func IDGTE(id string) predicate.WebauthnCredential
- func IDIn(ids ...string) predicate.WebauthnCredential
- func IDLT(id string) predicate.WebauthnCredential
- func IDLTE(id string) predicate.WebauthnCredential
- func IDNEQ(id string) predicate.WebauthnCredential
- func IDNotIn(ids ...string) predicate.WebauthnCredential
- func Not(p predicate.WebauthnCredential) predicate.WebauthnCredential
- func Or(predicates ...predicate.WebauthnCredential) predicate.WebauthnCredential
- func UpdateTime(v time.Time) predicate.WebauthnCredential
- func UpdateTimeEQ(v time.Time) predicate.WebauthnCredential
- func UpdateTimeGT(v time.Time) predicate.WebauthnCredential
- func UpdateTimeGTE(v time.Time) predicate.WebauthnCredential
- func UpdateTimeIn(vs ...time.Time) predicate.WebauthnCredential
- func UpdateTimeLT(v time.Time) predicate.WebauthnCredential
- func UpdateTimeLTE(v time.Time) predicate.WebauthnCredential
- func UpdateTimeNEQ(v time.Time) predicate.WebauthnCredential
- func UpdateTimeNotIn(vs ...time.Time) predicate.WebauthnCredential
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the webauthncredential type in the database. Label = "webauthn_credential" // 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" // FieldCredential holds the string denoting the credential field in the database. FieldCredential = "credential" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the webauthncredential in the database. Table = "webauthn_credentials" // UserTable is the table that holds the user relation/edge. UserTable = "webauthn_credentials" // 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_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 // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldCredential, }
Columns holds all SQL columns for webauthncredential fields.
var ForeignKeys = []string{
"user_credentials",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "webauthn_credentials" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.WebauthnCredential) predicate.WebauthnCredential
And groups predicates with the AND operator between them.
func CreateTime ¶
func CreateTime(v time.Time) predicate.WebauthnCredential
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.WebauthnCredential
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.WebauthnCredential
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.WebauthnCredential
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.WebauthnCredential
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.WebauthnCredential
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.WebauthnCredential
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.WebauthnCredential
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.WebauthnCredential
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func HasUser ¶
func HasUser() predicate.WebauthnCredential
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.WebauthnCredential
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.WebauthnCredential
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id string) predicate.WebauthnCredential
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.WebauthnCredential
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.WebauthnCredential
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.WebauthnCredential
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.WebauthnCredential
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.WebauthnCredential
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.WebauthnCredential
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.WebauthnCredential
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.WebauthnCredential) predicate.WebauthnCredential
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WebauthnCredential) predicate.WebauthnCredential
Or groups predicates with the OR operator between them.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.WebauthnCredential
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.WebauthnCredential
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.WebauthnCredential
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.WebauthnCredential
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.WebauthnCredential
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.WebauthnCredential
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.WebauthnCredential
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.WebauthnCredential
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.WebauthnCredential
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.