Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxyUserAuthMethod) predicate.ProxyUserAuthMethod
- func AuthIdentifier(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierContains(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierContainsFold(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierEQ(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierEqualFold(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierGT(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierGTE(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierHasPrefix(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierHasSuffix(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierIn(vs ...string) predicate.ProxyUserAuthMethod
- func AuthIdentifierLT(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierLTE(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierNEQ(v string) predicate.ProxyUserAuthMethod
- func AuthIdentifierNotIn(vs ...string) predicate.ProxyUserAuthMethod
- func AuthType(v string) predicate.ProxyUserAuthMethod
- func AuthTypeContains(v string) predicate.ProxyUserAuthMethod
- func AuthTypeContainsFold(v string) predicate.ProxyUserAuthMethod
- func AuthTypeEQ(v string) predicate.ProxyUserAuthMethod
- func AuthTypeEqualFold(v string) predicate.ProxyUserAuthMethod
- func AuthTypeGT(v string) predicate.ProxyUserAuthMethod
- func AuthTypeGTE(v string) predicate.ProxyUserAuthMethod
- func AuthTypeHasPrefix(v string) predicate.ProxyUserAuthMethod
- func AuthTypeHasSuffix(v string) predicate.ProxyUserAuthMethod
- func AuthTypeIn(vs ...string) predicate.ProxyUserAuthMethod
- func AuthTypeLT(v string) predicate.ProxyUserAuthMethod
- func AuthTypeLTE(v string) predicate.ProxyUserAuthMethod
- func AuthTypeNEQ(v string) predicate.ProxyUserAuthMethod
- func AuthTypeNotIn(vs ...string) predicate.ProxyUserAuthMethod
- func CreatedAt(v time.Time) predicate.ProxyUserAuthMethod
- func CreatedAtEQ(v time.Time) predicate.ProxyUserAuthMethod
- func CreatedAtGT(v time.Time) predicate.ProxyUserAuthMethod
- func CreatedAtGTE(v time.Time) predicate.ProxyUserAuthMethod
- func CreatedAtIn(vs ...time.Time) predicate.ProxyUserAuthMethod
- func CreatedAtLT(v time.Time) predicate.ProxyUserAuthMethod
- func CreatedAtLTE(v time.Time) predicate.ProxyUserAuthMethod
- func CreatedAtNEQ(v time.Time) predicate.ProxyUserAuthMethod
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyUserAuthMethod
- func ID(id int64) predicate.ProxyUserAuthMethod
- func IDEQ(id int64) predicate.ProxyUserAuthMethod
- func IDGT(id int64) predicate.ProxyUserAuthMethod
- func IDGTE(id int64) predicate.ProxyUserAuthMethod
- func IDIn(ids ...int64) predicate.ProxyUserAuthMethod
- func IDLT(id int64) predicate.ProxyUserAuthMethod
- func IDLTE(id int64) predicate.ProxyUserAuthMethod
- func IDNEQ(id int64) predicate.ProxyUserAuthMethod
- func IDNotIn(ids ...int64) predicate.ProxyUserAuthMethod
- func Not(p predicate.ProxyUserAuthMethod) predicate.ProxyUserAuthMethod
- func Or(predicates ...predicate.ProxyUserAuthMethod) predicate.ProxyUserAuthMethod
- func UpdatedAt(v time.Time) predicate.ProxyUserAuthMethod
- func UpdatedAtEQ(v time.Time) predicate.ProxyUserAuthMethod
- func UpdatedAtGT(v time.Time) predicate.ProxyUserAuthMethod
- func UpdatedAtGTE(v time.Time) predicate.ProxyUserAuthMethod
- func UpdatedAtIn(vs ...time.Time) predicate.ProxyUserAuthMethod
- func UpdatedAtLT(v time.Time) predicate.ProxyUserAuthMethod
- func UpdatedAtLTE(v time.Time) predicate.ProxyUserAuthMethod
- func UpdatedAtNEQ(v time.Time) predicate.ProxyUserAuthMethod
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyUserAuthMethod
- func UserID(v int64) predicate.ProxyUserAuthMethod
- func UserIDEQ(v int64) predicate.ProxyUserAuthMethod
- func UserIDGT(v int64) predicate.ProxyUserAuthMethod
- func UserIDGTE(v int64) predicate.ProxyUserAuthMethod
- func UserIDIn(vs ...int64) predicate.ProxyUserAuthMethod
- func UserIDLT(v int64) predicate.ProxyUserAuthMethod
- func UserIDLTE(v int64) predicate.ProxyUserAuthMethod
- func UserIDNEQ(v int64) predicate.ProxyUserAuthMethod
- func UserIDNotIn(vs ...int64) predicate.ProxyUserAuthMethod
- func ValidColumn(column string) bool
- func Verified(v bool) predicate.ProxyUserAuthMethod
- func VerifiedEQ(v bool) predicate.ProxyUserAuthMethod
- func VerifiedNEQ(v bool) predicate.ProxyUserAuthMethod
- type OrderOption
- func ByAuthIdentifier(opts ...sql.OrderTermOption) OrderOption
- func ByAuthType(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByVerified(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxyuserauthmethod type in the database. Label = "proxy_user_auth_method" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldAuthType holds the string denoting the auth_type field in the database. FieldAuthType = "auth_type" // FieldAuthIdentifier holds the string denoting the auth_identifier field in the database. FieldAuthIdentifier = "auth_identifier" // FieldVerified holds the string denoting the verified field in the database. FieldVerified = "verified" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // Table holds the table name of the proxyuserauthmethod in the database. Table = "user_auth_methods" )
Variables ¶
var ( // AuthTypeValidator is a validator for the "auth_type" field. It is called by the builders before save. AuthTypeValidator func(string) error // AuthIdentifierValidator is a validator for the "auth_identifier" field. It is called by the builders before save. AuthIdentifierValidator func(string) error // DefaultVerified holds the default value on creation for the "verified" field. DefaultVerified bool // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(int64) error )
var Columns = []string{ FieldID, FieldUserID, FieldAuthType, FieldAuthIdentifier, FieldVerified, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxyuserauthmethod fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxyUserAuthMethod) predicate.ProxyUserAuthMethod
And groups predicates with the AND operator between them.
func AuthIdentifier ¶
func AuthIdentifier(v string) predicate.ProxyUserAuthMethod
AuthIdentifier applies equality check predicate on the "auth_identifier" field. It's identical to AuthIdentifierEQ.
func AuthIdentifierContains ¶
func AuthIdentifierContains(v string) predicate.ProxyUserAuthMethod
AuthIdentifierContains applies the Contains predicate on the "auth_identifier" field.
func AuthIdentifierContainsFold ¶
func AuthIdentifierContainsFold(v string) predicate.ProxyUserAuthMethod
AuthIdentifierContainsFold applies the ContainsFold predicate on the "auth_identifier" field.
func AuthIdentifierEQ ¶
func AuthIdentifierEQ(v string) predicate.ProxyUserAuthMethod
AuthIdentifierEQ applies the EQ predicate on the "auth_identifier" field.
func AuthIdentifierEqualFold ¶
func AuthIdentifierEqualFold(v string) predicate.ProxyUserAuthMethod
AuthIdentifierEqualFold applies the EqualFold predicate on the "auth_identifier" field.
func AuthIdentifierGT ¶
func AuthIdentifierGT(v string) predicate.ProxyUserAuthMethod
AuthIdentifierGT applies the GT predicate on the "auth_identifier" field.
func AuthIdentifierGTE ¶
func AuthIdentifierGTE(v string) predicate.ProxyUserAuthMethod
AuthIdentifierGTE applies the GTE predicate on the "auth_identifier" field.
func AuthIdentifierHasPrefix ¶
func AuthIdentifierHasPrefix(v string) predicate.ProxyUserAuthMethod
AuthIdentifierHasPrefix applies the HasPrefix predicate on the "auth_identifier" field.
func AuthIdentifierHasSuffix ¶
func AuthIdentifierHasSuffix(v string) predicate.ProxyUserAuthMethod
AuthIdentifierHasSuffix applies the HasSuffix predicate on the "auth_identifier" field.
func AuthIdentifierIn ¶
func AuthIdentifierIn(vs ...string) predicate.ProxyUserAuthMethod
AuthIdentifierIn applies the In predicate on the "auth_identifier" field.
func AuthIdentifierLT ¶
func AuthIdentifierLT(v string) predicate.ProxyUserAuthMethod
AuthIdentifierLT applies the LT predicate on the "auth_identifier" field.
func AuthIdentifierLTE ¶
func AuthIdentifierLTE(v string) predicate.ProxyUserAuthMethod
AuthIdentifierLTE applies the LTE predicate on the "auth_identifier" field.
func AuthIdentifierNEQ ¶
func AuthIdentifierNEQ(v string) predicate.ProxyUserAuthMethod
AuthIdentifierNEQ applies the NEQ predicate on the "auth_identifier" field.
func AuthIdentifierNotIn ¶
func AuthIdentifierNotIn(vs ...string) predicate.ProxyUserAuthMethod
AuthIdentifierNotIn applies the NotIn predicate on the "auth_identifier" field.
func AuthType ¶
func AuthType(v string) predicate.ProxyUserAuthMethod
AuthType applies equality check predicate on the "auth_type" field. It's identical to AuthTypeEQ.
func AuthTypeContains ¶
func AuthTypeContains(v string) predicate.ProxyUserAuthMethod
AuthTypeContains applies the Contains predicate on the "auth_type" field.
func AuthTypeContainsFold ¶
func AuthTypeContainsFold(v string) predicate.ProxyUserAuthMethod
AuthTypeContainsFold applies the ContainsFold predicate on the "auth_type" field.
func AuthTypeEQ ¶
func AuthTypeEQ(v string) predicate.ProxyUserAuthMethod
AuthTypeEQ applies the EQ predicate on the "auth_type" field.
func AuthTypeEqualFold ¶
func AuthTypeEqualFold(v string) predicate.ProxyUserAuthMethod
AuthTypeEqualFold applies the EqualFold predicate on the "auth_type" field.
func AuthTypeGT ¶
func AuthTypeGT(v string) predicate.ProxyUserAuthMethod
AuthTypeGT applies the GT predicate on the "auth_type" field.
func AuthTypeGTE ¶
func AuthTypeGTE(v string) predicate.ProxyUserAuthMethod
AuthTypeGTE applies the GTE predicate on the "auth_type" field.
func AuthTypeHasPrefix ¶
func AuthTypeHasPrefix(v string) predicate.ProxyUserAuthMethod
AuthTypeHasPrefix applies the HasPrefix predicate on the "auth_type" field.
func AuthTypeHasSuffix ¶
func AuthTypeHasSuffix(v string) predicate.ProxyUserAuthMethod
AuthTypeHasSuffix applies the HasSuffix predicate on the "auth_type" field.
func AuthTypeIn ¶
func AuthTypeIn(vs ...string) predicate.ProxyUserAuthMethod
AuthTypeIn applies the In predicate on the "auth_type" field.
func AuthTypeLT ¶
func AuthTypeLT(v string) predicate.ProxyUserAuthMethod
AuthTypeLT applies the LT predicate on the "auth_type" field.
func AuthTypeLTE ¶
func AuthTypeLTE(v string) predicate.ProxyUserAuthMethod
AuthTypeLTE applies the LTE predicate on the "auth_type" field.
func AuthTypeNEQ ¶
func AuthTypeNEQ(v string) predicate.ProxyUserAuthMethod
AuthTypeNEQ applies the NEQ predicate on the "auth_type" field.
func AuthTypeNotIn ¶
func AuthTypeNotIn(vs ...string) predicate.ProxyUserAuthMethod
AuthTypeNotIn applies the NotIn predicate on the "auth_type" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxyUserAuthMethod
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxyUserAuthMethod
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxyUserAuthMethod
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxyUserAuthMethod
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxyUserAuthMethod
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxyUserAuthMethod
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxyUserAuthMethod
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxyUserAuthMethod
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxyUserAuthMethod
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ID ¶
func ID(id int64) predicate.ProxyUserAuthMethod
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxyUserAuthMethod
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxyUserAuthMethod
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxyUserAuthMethod
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxyUserAuthMethod
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxyUserAuthMethod
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxyUserAuthMethod
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxyUserAuthMethod
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxyUserAuthMethod
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ProxyUserAuthMethod) predicate.ProxyUserAuthMethod
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProxyUserAuthMethod) predicate.ProxyUserAuthMethod
Or groups predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProxyUserAuthMethod
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProxyUserAuthMethod
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProxyUserAuthMethod
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProxyUserAuthMethod
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProxyUserAuthMethod
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProxyUserAuthMethod
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProxyUserAuthMethod
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProxyUserAuthMethod
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyUserAuthMethod
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v int64) predicate.ProxyUserAuthMethod
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int64) predicate.ProxyUserAuthMethod
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v int64) predicate.ProxyUserAuthMethod
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v int64) predicate.ProxyUserAuthMethod
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int64) predicate.ProxyUserAuthMethod
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v int64) predicate.ProxyUserAuthMethod
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v int64) predicate.ProxyUserAuthMethod
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int64) predicate.ProxyUserAuthMethod
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int64) predicate.ProxyUserAuthMethod
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Verified ¶
func Verified(v bool) predicate.ProxyUserAuthMethod
Verified applies equality check predicate on the "verified" field. It's identical to VerifiedEQ.
func VerifiedEQ ¶
func VerifiedEQ(v bool) predicate.ProxyUserAuthMethod
VerifiedEQ applies the EQ predicate on the "verified" field.
func VerifiedNEQ ¶
func VerifiedNEQ(v bool) predicate.ProxyUserAuthMethod
VerifiedNEQ applies the NEQ predicate on the "verified" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ProxyUserAuthMethod queries.
func ByAuthIdentifier ¶
func ByAuthIdentifier(opts ...sql.OrderTermOption) OrderOption
ByAuthIdentifier orders the results by the auth_identifier field.
func ByAuthType ¶
func ByAuthType(opts ...sql.OrderTermOption) OrderOption
ByAuthType orders the results by the auth_type field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.
func ByVerified ¶
func ByVerified(opts ...sql.OrderTermOption) OrderOption
ByVerified orders the results by the verified field.