// Code generated by ent, DO NOT EDIT. package pendingauthsession import ( "time" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/Wei-Shaw/sub2api/ent/predicate" ) // ID filters vertices based on their ID field. func ID(id int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldID, id)) } // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. func CreatedAt(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldCreatedAt, v)) } // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ. func UpdatedAt(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldUpdatedAt, v)) } // SessionToken applies equality check predicate on the "session_token" field. It's identical to SessionTokenEQ. func SessionToken(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldSessionToken, v)) } // Intent applies equality check predicate on the "intent" field. It's identical to IntentEQ. func Intent(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldIntent, v)) } // ProviderType applies equality check predicate on the "provider_type" field. It's identical to ProviderTypeEQ. func ProviderType(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldProviderType, v)) } // ProviderKey applies equality check predicate on the "provider_key" field. It's identical to ProviderKeyEQ. func ProviderKey(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldProviderKey, v)) } // ProviderSubject applies equality check predicate on the "provider_subject" field. It's identical to ProviderSubjectEQ. func ProviderSubject(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldProviderSubject, v)) } // TargetUserID applies equality check predicate on the "target_user_id" field. It's identical to TargetUserIDEQ. func TargetUserID(v int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldTargetUserID, v)) } // RedirectTo applies equality check predicate on the "redirect_to" field. It's identical to RedirectToEQ. func RedirectTo(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldRedirectTo, v)) } // ResolvedEmail applies equality check predicate on the "resolved_email" field. It's identical to ResolvedEmailEQ. func ResolvedEmail(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldResolvedEmail, v)) } // RegistrationPasswordHash applies equality check predicate on the "registration_password_hash" field. It's identical to RegistrationPasswordHashEQ. func RegistrationPasswordHash(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldRegistrationPasswordHash, v)) } // BrowserSessionKey applies equality check predicate on the "browser_session_key" field. It's identical to BrowserSessionKeyEQ. func BrowserSessionKey(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldBrowserSessionKey, v)) } // CompletionCodeHash applies equality check predicate on the "completion_code_hash" field. It's identical to CompletionCodeHashEQ. func CompletionCodeHash(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldCompletionCodeHash, v)) } // CompletionCodeExpiresAt applies equality check predicate on the "completion_code_expires_at" field. It's identical to CompletionCodeExpiresAtEQ. func CompletionCodeExpiresAt(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldCompletionCodeExpiresAt, v)) } // EmailVerifiedAt applies equality check predicate on the "email_verified_at" field. It's identical to EmailVerifiedAtEQ. func EmailVerifiedAt(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldEmailVerifiedAt, v)) } // PasswordVerifiedAt applies equality check predicate on the "password_verified_at" field. It's identical to PasswordVerifiedAtEQ. func PasswordVerifiedAt(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldPasswordVerifiedAt, v)) } // TotpVerifiedAt applies equality check predicate on the "totp_verified_at" field. It's identical to TotpVerifiedAtEQ. func TotpVerifiedAt(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldTotpVerifiedAt, v)) } // ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ. func ExpiresAt(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldExpiresAt, v)) } // ConsumedAt applies equality check predicate on the "consumed_at" field. It's identical to ConsumedAtEQ. func ConsumedAt(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldConsumedAt, v)) } // CreatedAtEQ applies the EQ predicate on the "created_at" field. func CreatedAtEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldCreatedAt, v)) } // CreatedAtNEQ applies the NEQ predicate on the "created_at" field. func CreatedAtNEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldCreatedAt, v)) } // CreatedAtIn applies the In predicate on the "created_at" field. func CreatedAtIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldCreatedAt, vs...)) } // CreatedAtNotIn applies the NotIn predicate on the "created_at" field. func CreatedAtNotIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldCreatedAt, vs...)) } // CreatedAtGT applies the GT predicate on the "created_at" field. func CreatedAtGT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldCreatedAt, v)) } // CreatedAtGTE applies the GTE predicate on the "created_at" field. func CreatedAtGTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldCreatedAt, v)) } // CreatedAtLT applies the LT predicate on the "created_at" field. func CreatedAtLT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldCreatedAt, v)) } // CreatedAtLTE applies the LTE predicate on the "created_at" field. func CreatedAtLTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldCreatedAt, v)) } // UpdatedAtEQ applies the EQ predicate on the "updated_at" field. func UpdatedAtEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldUpdatedAt, v)) } // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field. func UpdatedAtNEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldUpdatedAt, v)) } // UpdatedAtIn applies the In predicate on the "updated_at" field. func UpdatedAtIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldUpdatedAt, vs...)) } // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field. func UpdatedAtNotIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldUpdatedAt, vs...)) } // UpdatedAtGT applies the GT predicate on the "updated_at" field. func UpdatedAtGT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldUpdatedAt, v)) } // UpdatedAtGTE applies the GTE predicate on the "updated_at" field. func UpdatedAtGTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldUpdatedAt, v)) } // UpdatedAtLT applies the LT predicate on the "updated_at" field. func UpdatedAtLT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldUpdatedAt, v)) } // UpdatedAtLTE applies the LTE predicate on the "updated_at" field. func UpdatedAtLTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldUpdatedAt, v)) } // SessionTokenEQ applies the EQ predicate on the "session_token" field. func SessionTokenEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldSessionToken, v)) } // SessionTokenNEQ applies the NEQ predicate on the "session_token" field. func SessionTokenNEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldSessionToken, v)) } // SessionTokenIn applies the In predicate on the "session_token" field. func SessionTokenIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldSessionToken, vs...)) } // SessionTokenNotIn applies the NotIn predicate on the "session_token" field. func SessionTokenNotIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldSessionToken, vs...)) } // SessionTokenGT applies the GT predicate on the "session_token" field. func SessionTokenGT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldSessionToken, v)) } // SessionTokenGTE applies the GTE predicate on the "session_token" field. func SessionTokenGTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldSessionToken, v)) } // SessionTokenLT applies the LT predicate on the "session_token" field. func SessionTokenLT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldSessionToken, v)) } // SessionTokenLTE applies the LTE predicate on the "session_token" field. func SessionTokenLTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldSessionToken, v)) } // SessionTokenContains applies the Contains predicate on the "session_token" field. func SessionTokenContains(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContains(FieldSessionToken, v)) } // SessionTokenHasPrefix applies the HasPrefix predicate on the "session_token" field. func SessionTokenHasPrefix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasPrefix(FieldSessionToken, v)) } // SessionTokenHasSuffix applies the HasSuffix predicate on the "session_token" field. func SessionTokenHasSuffix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasSuffix(FieldSessionToken, v)) } // SessionTokenEqualFold applies the EqualFold predicate on the "session_token" field. func SessionTokenEqualFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEqualFold(FieldSessionToken, v)) } // SessionTokenContainsFold applies the ContainsFold predicate on the "session_token" field. func SessionTokenContainsFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContainsFold(FieldSessionToken, v)) } // IntentEQ applies the EQ predicate on the "intent" field. func IntentEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldIntent, v)) } // IntentNEQ applies the NEQ predicate on the "intent" field. func IntentNEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldIntent, v)) } // IntentIn applies the In predicate on the "intent" field. func IntentIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldIntent, vs...)) } // IntentNotIn applies the NotIn predicate on the "intent" field. func IntentNotIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldIntent, vs...)) } // IntentGT applies the GT predicate on the "intent" field. func IntentGT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldIntent, v)) } // IntentGTE applies the GTE predicate on the "intent" field. func IntentGTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldIntent, v)) } // IntentLT applies the LT predicate on the "intent" field. func IntentLT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldIntent, v)) } // IntentLTE applies the LTE predicate on the "intent" field. func IntentLTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldIntent, v)) } // IntentContains applies the Contains predicate on the "intent" field. func IntentContains(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContains(FieldIntent, v)) } // IntentHasPrefix applies the HasPrefix predicate on the "intent" field. func IntentHasPrefix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasPrefix(FieldIntent, v)) } // IntentHasSuffix applies the HasSuffix predicate on the "intent" field. func IntentHasSuffix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasSuffix(FieldIntent, v)) } // IntentEqualFold applies the EqualFold predicate on the "intent" field. func IntentEqualFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEqualFold(FieldIntent, v)) } // IntentContainsFold applies the ContainsFold predicate on the "intent" field. func IntentContainsFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContainsFold(FieldIntent, v)) } // ProviderTypeEQ applies the EQ predicate on the "provider_type" field. func ProviderTypeEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldProviderType, v)) } // ProviderTypeNEQ applies the NEQ predicate on the "provider_type" field. func ProviderTypeNEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldProviderType, v)) } // ProviderTypeIn applies the In predicate on the "provider_type" field. func ProviderTypeIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldProviderType, vs...)) } // ProviderTypeNotIn applies the NotIn predicate on the "provider_type" field. func ProviderTypeNotIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldProviderType, vs...)) } // ProviderTypeGT applies the GT predicate on the "provider_type" field. func ProviderTypeGT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldProviderType, v)) } // ProviderTypeGTE applies the GTE predicate on the "provider_type" field. func ProviderTypeGTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldProviderType, v)) } // ProviderTypeLT applies the LT predicate on the "provider_type" field. func ProviderTypeLT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldProviderType, v)) } // ProviderTypeLTE applies the LTE predicate on the "provider_type" field. func ProviderTypeLTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldProviderType, v)) } // ProviderTypeContains applies the Contains predicate on the "provider_type" field. func ProviderTypeContains(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContains(FieldProviderType, v)) } // ProviderTypeHasPrefix applies the HasPrefix predicate on the "provider_type" field. func ProviderTypeHasPrefix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasPrefix(FieldProviderType, v)) } // ProviderTypeHasSuffix applies the HasSuffix predicate on the "provider_type" field. func ProviderTypeHasSuffix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasSuffix(FieldProviderType, v)) } // ProviderTypeEqualFold applies the EqualFold predicate on the "provider_type" field. func ProviderTypeEqualFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEqualFold(FieldProviderType, v)) } // ProviderTypeContainsFold applies the ContainsFold predicate on the "provider_type" field. func ProviderTypeContainsFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContainsFold(FieldProviderType, v)) } // ProviderKeyEQ applies the EQ predicate on the "provider_key" field. func ProviderKeyEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldProviderKey, v)) } // ProviderKeyNEQ applies the NEQ predicate on the "provider_key" field. func ProviderKeyNEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldProviderKey, v)) } // ProviderKeyIn applies the In predicate on the "provider_key" field. func ProviderKeyIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldProviderKey, vs...)) } // ProviderKeyNotIn applies the NotIn predicate on the "provider_key" field. func ProviderKeyNotIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldProviderKey, vs...)) } // ProviderKeyGT applies the GT predicate on the "provider_key" field. func ProviderKeyGT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldProviderKey, v)) } // ProviderKeyGTE applies the GTE predicate on the "provider_key" field. func ProviderKeyGTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldProviderKey, v)) } // ProviderKeyLT applies the LT predicate on the "provider_key" field. func ProviderKeyLT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldProviderKey, v)) } // ProviderKeyLTE applies the LTE predicate on the "provider_key" field. func ProviderKeyLTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldProviderKey, v)) } // ProviderKeyContains applies the Contains predicate on the "provider_key" field. func ProviderKeyContains(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContains(FieldProviderKey, v)) } // ProviderKeyHasPrefix applies the HasPrefix predicate on the "provider_key" field. func ProviderKeyHasPrefix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasPrefix(FieldProviderKey, v)) } // ProviderKeyHasSuffix applies the HasSuffix predicate on the "provider_key" field. func ProviderKeyHasSuffix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasSuffix(FieldProviderKey, v)) } // ProviderKeyEqualFold applies the EqualFold predicate on the "provider_key" field. func ProviderKeyEqualFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEqualFold(FieldProviderKey, v)) } // ProviderKeyContainsFold applies the ContainsFold predicate on the "provider_key" field. func ProviderKeyContainsFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContainsFold(FieldProviderKey, v)) } // ProviderSubjectEQ applies the EQ predicate on the "provider_subject" field. func ProviderSubjectEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldProviderSubject, v)) } // ProviderSubjectNEQ applies the NEQ predicate on the "provider_subject" field. func ProviderSubjectNEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldProviderSubject, v)) } // ProviderSubjectIn applies the In predicate on the "provider_subject" field. func ProviderSubjectIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldProviderSubject, vs...)) } // ProviderSubjectNotIn applies the NotIn predicate on the "provider_subject" field. func ProviderSubjectNotIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldProviderSubject, vs...)) } // ProviderSubjectGT applies the GT predicate on the "provider_subject" field. func ProviderSubjectGT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldProviderSubject, v)) } // ProviderSubjectGTE applies the GTE predicate on the "provider_subject" field. func ProviderSubjectGTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldProviderSubject, v)) } // ProviderSubjectLT applies the LT predicate on the "provider_subject" field. func ProviderSubjectLT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldProviderSubject, v)) } // ProviderSubjectLTE applies the LTE predicate on the "provider_subject" field. func ProviderSubjectLTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldProviderSubject, v)) } // ProviderSubjectContains applies the Contains predicate on the "provider_subject" field. func ProviderSubjectContains(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContains(FieldProviderSubject, v)) } // ProviderSubjectHasPrefix applies the HasPrefix predicate on the "provider_subject" field. func ProviderSubjectHasPrefix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasPrefix(FieldProviderSubject, v)) } // ProviderSubjectHasSuffix applies the HasSuffix predicate on the "provider_subject" field. func ProviderSubjectHasSuffix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasSuffix(FieldProviderSubject, v)) } // ProviderSubjectEqualFold applies the EqualFold predicate on the "provider_subject" field. func ProviderSubjectEqualFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEqualFold(FieldProviderSubject, v)) } // ProviderSubjectContainsFold applies the ContainsFold predicate on the "provider_subject" field. func ProviderSubjectContainsFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContainsFold(FieldProviderSubject, v)) } // TargetUserIDEQ applies the EQ predicate on the "target_user_id" field. func TargetUserIDEQ(v int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldTargetUserID, v)) } // TargetUserIDNEQ applies the NEQ predicate on the "target_user_id" field. func TargetUserIDNEQ(v int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldTargetUserID, v)) } // TargetUserIDIn applies the In predicate on the "target_user_id" field. func TargetUserIDIn(vs ...int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldTargetUserID, vs...)) } // TargetUserIDNotIn applies the NotIn predicate on the "target_user_id" field. func TargetUserIDNotIn(vs ...int64) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldTargetUserID, vs...)) } // TargetUserIDIsNil applies the IsNil predicate on the "target_user_id" field. func TargetUserIDIsNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIsNull(FieldTargetUserID)) } // TargetUserIDNotNil applies the NotNil predicate on the "target_user_id" field. func TargetUserIDNotNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotNull(FieldTargetUserID)) } // RedirectToEQ applies the EQ predicate on the "redirect_to" field. func RedirectToEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldRedirectTo, v)) } // RedirectToNEQ applies the NEQ predicate on the "redirect_to" field. func RedirectToNEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldRedirectTo, v)) } // RedirectToIn applies the In predicate on the "redirect_to" field. func RedirectToIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldRedirectTo, vs...)) } // RedirectToNotIn applies the NotIn predicate on the "redirect_to" field. func RedirectToNotIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldRedirectTo, vs...)) } // RedirectToGT applies the GT predicate on the "redirect_to" field. func RedirectToGT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldRedirectTo, v)) } // RedirectToGTE applies the GTE predicate on the "redirect_to" field. func RedirectToGTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldRedirectTo, v)) } // RedirectToLT applies the LT predicate on the "redirect_to" field. func RedirectToLT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldRedirectTo, v)) } // RedirectToLTE applies the LTE predicate on the "redirect_to" field. func RedirectToLTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldRedirectTo, v)) } // RedirectToContains applies the Contains predicate on the "redirect_to" field. func RedirectToContains(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContains(FieldRedirectTo, v)) } // RedirectToHasPrefix applies the HasPrefix predicate on the "redirect_to" field. func RedirectToHasPrefix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasPrefix(FieldRedirectTo, v)) } // RedirectToHasSuffix applies the HasSuffix predicate on the "redirect_to" field. func RedirectToHasSuffix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasSuffix(FieldRedirectTo, v)) } // RedirectToEqualFold applies the EqualFold predicate on the "redirect_to" field. func RedirectToEqualFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEqualFold(FieldRedirectTo, v)) } // RedirectToContainsFold applies the ContainsFold predicate on the "redirect_to" field. func RedirectToContainsFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContainsFold(FieldRedirectTo, v)) } // ResolvedEmailEQ applies the EQ predicate on the "resolved_email" field. func ResolvedEmailEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldResolvedEmail, v)) } // ResolvedEmailNEQ applies the NEQ predicate on the "resolved_email" field. func ResolvedEmailNEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldResolvedEmail, v)) } // ResolvedEmailIn applies the In predicate on the "resolved_email" field. func ResolvedEmailIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldResolvedEmail, vs...)) } // ResolvedEmailNotIn applies the NotIn predicate on the "resolved_email" field. func ResolvedEmailNotIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldResolvedEmail, vs...)) } // ResolvedEmailGT applies the GT predicate on the "resolved_email" field. func ResolvedEmailGT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldResolvedEmail, v)) } // ResolvedEmailGTE applies the GTE predicate on the "resolved_email" field. func ResolvedEmailGTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldResolvedEmail, v)) } // ResolvedEmailLT applies the LT predicate on the "resolved_email" field. func ResolvedEmailLT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldResolvedEmail, v)) } // ResolvedEmailLTE applies the LTE predicate on the "resolved_email" field. func ResolvedEmailLTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldResolvedEmail, v)) } // ResolvedEmailContains applies the Contains predicate on the "resolved_email" field. func ResolvedEmailContains(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContains(FieldResolvedEmail, v)) } // ResolvedEmailHasPrefix applies the HasPrefix predicate on the "resolved_email" field. func ResolvedEmailHasPrefix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasPrefix(FieldResolvedEmail, v)) } // ResolvedEmailHasSuffix applies the HasSuffix predicate on the "resolved_email" field. func ResolvedEmailHasSuffix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasSuffix(FieldResolvedEmail, v)) } // ResolvedEmailEqualFold applies the EqualFold predicate on the "resolved_email" field. func ResolvedEmailEqualFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEqualFold(FieldResolvedEmail, v)) } // ResolvedEmailContainsFold applies the ContainsFold predicate on the "resolved_email" field. func ResolvedEmailContainsFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContainsFold(FieldResolvedEmail, v)) } // RegistrationPasswordHashEQ applies the EQ predicate on the "registration_password_hash" field. func RegistrationPasswordHashEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldRegistrationPasswordHash, v)) } // RegistrationPasswordHashNEQ applies the NEQ predicate on the "registration_password_hash" field. func RegistrationPasswordHashNEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldRegistrationPasswordHash, v)) } // RegistrationPasswordHashIn applies the In predicate on the "registration_password_hash" field. func RegistrationPasswordHashIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldRegistrationPasswordHash, vs...)) } // RegistrationPasswordHashNotIn applies the NotIn predicate on the "registration_password_hash" field. func RegistrationPasswordHashNotIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldRegistrationPasswordHash, vs...)) } // RegistrationPasswordHashGT applies the GT predicate on the "registration_password_hash" field. func RegistrationPasswordHashGT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldRegistrationPasswordHash, v)) } // RegistrationPasswordHashGTE applies the GTE predicate on the "registration_password_hash" field. func RegistrationPasswordHashGTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldRegistrationPasswordHash, v)) } // RegistrationPasswordHashLT applies the LT predicate on the "registration_password_hash" field. func RegistrationPasswordHashLT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldRegistrationPasswordHash, v)) } // RegistrationPasswordHashLTE applies the LTE predicate on the "registration_password_hash" field. func RegistrationPasswordHashLTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldRegistrationPasswordHash, v)) } // RegistrationPasswordHashContains applies the Contains predicate on the "registration_password_hash" field. func RegistrationPasswordHashContains(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContains(FieldRegistrationPasswordHash, v)) } // RegistrationPasswordHashHasPrefix applies the HasPrefix predicate on the "registration_password_hash" field. func RegistrationPasswordHashHasPrefix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasPrefix(FieldRegistrationPasswordHash, v)) } // RegistrationPasswordHashHasSuffix applies the HasSuffix predicate on the "registration_password_hash" field. func RegistrationPasswordHashHasSuffix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasSuffix(FieldRegistrationPasswordHash, v)) } // RegistrationPasswordHashEqualFold applies the EqualFold predicate on the "registration_password_hash" field. func RegistrationPasswordHashEqualFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEqualFold(FieldRegistrationPasswordHash, v)) } // RegistrationPasswordHashContainsFold applies the ContainsFold predicate on the "registration_password_hash" field. func RegistrationPasswordHashContainsFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContainsFold(FieldRegistrationPasswordHash, v)) } // BrowserSessionKeyEQ applies the EQ predicate on the "browser_session_key" field. func BrowserSessionKeyEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldBrowserSessionKey, v)) } // BrowserSessionKeyNEQ applies the NEQ predicate on the "browser_session_key" field. func BrowserSessionKeyNEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldBrowserSessionKey, v)) } // BrowserSessionKeyIn applies the In predicate on the "browser_session_key" field. func BrowserSessionKeyIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldBrowserSessionKey, vs...)) } // BrowserSessionKeyNotIn applies the NotIn predicate on the "browser_session_key" field. func BrowserSessionKeyNotIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldBrowserSessionKey, vs...)) } // BrowserSessionKeyGT applies the GT predicate on the "browser_session_key" field. func BrowserSessionKeyGT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldBrowserSessionKey, v)) } // BrowserSessionKeyGTE applies the GTE predicate on the "browser_session_key" field. func BrowserSessionKeyGTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldBrowserSessionKey, v)) } // BrowserSessionKeyLT applies the LT predicate on the "browser_session_key" field. func BrowserSessionKeyLT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldBrowserSessionKey, v)) } // BrowserSessionKeyLTE applies the LTE predicate on the "browser_session_key" field. func BrowserSessionKeyLTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldBrowserSessionKey, v)) } // BrowserSessionKeyContains applies the Contains predicate on the "browser_session_key" field. func BrowserSessionKeyContains(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContains(FieldBrowserSessionKey, v)) } // BrowserSessionKeyHasPrefix applies the HasPrefix predicate on the "browser_session_key" field. func BrowserSessionKeyHasPrefix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasPrefix(FieldBrowserSessionKey, v)) } // BrowserSessionKeyHasSuffix applies the HasSuffix predicate on the "browser_session_key" field. func BrowserSessionKeyHasSuffix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasSuffix(FieldBrowserSessionKey, v)) } // BrowserSessionKeyEqualFold applies the EqualFold predicate on the "browser_session_key" field. func BrowserSessionKeyEqualFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEqualFold(FieldBrowserSessionKey, v)) } // BrowserSessionKeyContainsFold applies the ContainsFold predicate on the "browser_session_key" field. func BrowserSessionKeyContainsFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContainsFold(FieldBrowserSessionKey, v)) } // CompletionCodeHashEQ applies the EQ predicate on the "completion_code_hash" field. func CompletionCodeHashEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldCompletionCodeHash, v)) } // CompletionCodeHashNEQ applies the NEQ predicate on the "completion_code_hash" field. func CompletionCodeHashNEQ(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldCompletionCodeHash, v)) } // CompletionCodeHashIn applies the In predicate on the "completion_code_hash" field. func CompletionCodeHashIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldCompletionCodeHash, vs...)) } // CompletionCodeHashNotIn applies the NotIn predicate on the "completion_code_hash" field. func CompletionCodeHashNotIn(vs ...string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldCompletionCodeHash, vs...)) } // CompletionCodeHashGT applies the GT predicate on the "completion_code_hash" field. func CompletionCodeHashGT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldCompletionCodeHash, v)) } // CompletionCodeHashGTE applies the GTE predicate on the "completion_code_hash" field. func CompletionCodeHashGTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldCompletionCodeHash, v)) } // CompletionCodeHashLT applies the LT predicate on the "completion_code_hash" field. func CompletionCodeHashLT(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldCompletionCodeHash, v)) } // CompletionCodeHashLTE applies the LTE predicate on the "completion_code_hash" field. func CompletionCodeHashLTE(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldCompletionCodeHash, v)) } // CompletionCodeHashContains applies the Contains predicate on the "completion_code_hash" field. func CompletionCodeHashContains(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContains(FieldCompletionCodeHash, v)) } // CompletionCodeHashHasPrefix applies the HasPrefix predicate on the "completion_code_hash" field. func CompletionCodeHashHasPrefix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasPrefix(FieldCompletionCodeHash, v)) } // CompletionCodeHashHasSuffix applies the HasSuffix predicate on the "completion_code_hash" field. func CompletionCodeHashHasSuffix(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldHasSuffix(FieldCompletionCodeHash, v)) } // CompletionCodeHashEqualFold applies the EqualFold predicate on the "completion_code_hash" field. func CompletionCodeHashEqualFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEqualFold(FieldCompletionCodeHash, v)) } // CompletionCodeHashContainsFold applies the ContainsFold predicate on the "completion_code_hash" field. func CompletionCodeHashContainsFold(v string) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldContainsFold(FieldCompletionCodeHash, v)) } // CompletionCodeExpiresAtEQ applies the EQ predicate on the "completion_code_expires_at" field. func CompletionCodeExpiresAtEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldCompletionCodeExpiresAt, v)) } // CompletionCodeExpiresAtNEQ applies the NEQ predicate on the "completion_code_expires_at" field. func CompletionCodeExpiresAtNEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldCompletionCodeExpiresAt, v)) } // CompletionCodeExpiresAtIn applies the In predicate on the "completion_code_expires_at" field. func CompletionCodeExpiresAtIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldCompletionCodeExpiresAt, vs...)) } // CompletionCodeExpiresAtNotIn applies the NotIn predicate on the "completion_code_expires_at" field. func CompletionCodeExpiresAtNotIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldCompletionCodeExpiresAt, vs...)) } // CompletionCodeExpiresAtGT applies the GT predicate on the "completion_code_expires_at" field. func CompletionCodeExpiresAtGT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldCompletionCodeExpiresAt, v)) } // CompletionCodeExpiresAtGTE applies the GTE predicate on the "completion_code_expires_at" field. func CompletionCodeExpiresAtGTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldCompletionCodeExpiresAt, v)) } // CompletionCodeExpiresAtLT applies the LT predicate on the "completion_code_expires_at" field. func CompletionCodeExpiresAtLT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldCompletionCodeExpiresAt, v)) } // CompletionCodeExpiresAtLTE applies the LTE predicate on the "completion_code_expires_at" field. func CompletionCodeExpiresAtLTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldCompletionCodeExpiresAt, v)) } // CompletionCodeExpiresAtIsNil applies the IsNil predicate on the "completion_code_expires_at" field. func CompletionCodeExpiresAtIsNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIsNull(FieldCompletionCodeExpiresAt)) } // CompletionCodeExpiresAtNotNil applies the NotNil predicate on the "completion_code_expires_at" field. func CompletionCodeExpiresAtNotNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotNull(FieldCompletionCodeExpiresAt)) } // EmailVerifiedAtEQ applies the EQ predicate on the "email_verified_at" field. func EmailVerifiedAtEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldEmailVerifiedAt, v)) } // EmailVerifiedAtNEQ applies the NEQ predicate on the "email_verified_at" field. func EmailVerifiedAtNEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldEmailVerifiedAt, v)) } // EmailVerifiedAtIn applies the In predicate on the "email_verified_at" field. func EmailVerifiedAtIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldEmailVerifiedAt, vs...)) } // EmailVerifiedAtNotIn applies the NotIn predicate on the "email_verified_at" field. func EmailVerifiedAtNotIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldEmailVerifiedAt, vs...)) } // EmailVerifiedAtGT applies the GT predicate on the "email_verified_at" field. func EmailVerifiedAtGT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldEmailVerifiedAt, v)) } // EmailVerifiedAtGTE applies the GTE predicate on the "email_verified_at" field. func EmailVerifiedAtGTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldEmailVerifiedAt, v)) } // EmailVerifiedAtLT applies the LT predicate on the "email_verified_at" field. func EmailVerifiedAtLT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldEmailVerifiedAt, v)) } // EmailVerifiedAtLTE applies the LTE predicate on the "email_verified_at" field. func EmailVerifiedAtLTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldEmailVerifiedAt, v)) } // EmailVerifiedAtIsNil applies the IsNil predicate on the "email_verified_at" field. func EmailVerifiedAtIsNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIsNull(FieldEmailVerifiedAt)) } // EmailVerifiedAtNotNil applies the NotNil predicate on the "email_verified_at" field. func EmailVerifiedAtNotNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotNull(FieldEmailVerifiedAt)) } // PasswordVerifiedAtEQ applies the EQ predicate on the "password_verified_at" field. func PasswordVerifiedAtEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldPasswordVerifiedAt, v)) } // PasswordVerifiedAtNEQ applies the NEQ predicate on the "password_verified_at" field. func PasswordVerifiedAtNEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldPasswordVerifiedAt, v)) } // PasswordVerifiedAtIn applies the In predicate on the "password_verified_at" field. func PasswordVerifiedAtIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldPasswordVerifiedAt, vs...)) } // PasswordVerifiedAtNotIn applies the NotIn predicate on the "password_verified_at" field. func PasswordVerifiedAtNotIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldPasswordVerifiedAt, vs...)) } // PasswordVerifiedAtGT applies the GT predicate on the "password_verified_at" field. func PasswordVerifiedAtGT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldPasswordVerifiedAt, v)) } // PasswordVerifiedAtGTE applies the GTE predicate on the "password_verified_at" field. func PasswordVerifiedAtGTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldPasswordVerifiedAt, v)) } // PasswordVerifiedAtLT applies the LT predicate on the "password_verified_at" field. func PasswordVerifiedAtLT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldPasswordVerifiedAt, v)) } // PasswordVerifiedAtLTE applies the LTE predicate on the "password_verified_at" field. func PasswordVerifiedAtLTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldPasswordVerifiedAt, v)) } // PasswordVerifiedAtIsNil applies the IsNil predicate on the "password_verified_at" field. func PasswordVerifiedAtIsNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIsNull(FieldPasswordVerifiedAt)) } // PasswordVerifiedAtNotNil applies the NotNil predicate on the "password_verified_at" field. func PasswordVerifiedAtNotNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotNull(FieldPasswordVerifiedAt)) } // TotpVerifiedAtEQ applies the EQ predicate on the "totp_verified_at" field. func TotpVerifiedAtEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldTotpVerifiedAt, v)) } // TotpVerifiedAtNEQ applies the NEQ predicate on the "totp_verified_at" field. func TotpVerifiedAtNEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldTotpVerifiedAt, v)) } // TotpVerifiedAtIn applies the In predicate on the "totp_verified_at" field. func TotpVerifiedAtIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldTotpVerifiedAt, vs...)) } // TotpVerifiedAtNotIn applies the NotIn predicate on the "totp_verified_at" field. func TotpVerifiedAtNotIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldTotpVerifiedAt, vs...)) } // TotpVerifiedAtGT applies the GT predicate on the "totp_verified_at" field. func TotpVerifiedAtGT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldTotpVerifiedAt, v)) } // TotpVerifiedAtGTE applies the GTE predicate on the "totp_verified_at" field. func TotpVerifiedAtGTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldTotpVerifiedAt, v)) } // TotpVerifiedAtLT applies the LT predicate on the "totp_verified_at" field. func TotpVerifiedAtLT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldTotpVerifiedAt, v)) } // TotpVerifiedAtLTE applies the LTE predicate on the "totp_verified_at" field. func TotpVerifiedAtLTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldTotpVerifiedAt, v)) } // TotpVerifiedAtIsNil applies the IsNil predicate on the "totp_verified_at" field. func TotpVerifiedAtIsNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIsNull(FieldTotpVerifiedAt)) } // TotpVerifiedAtNotNil applies the NotNil predicate on the "totp_verified_at" field. func TotpVerifiedAtNotNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotNull(FieldTotpVerifiedAt)) } // ExpiresAtEQ applies the EQ predicate on the "expires_at" field. func ExpiresAtEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldExpiresAt, v)) } // ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field. func ExpiresAtNEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldExpiresAt, v)) } // ExpiresAtIn applies the In predicate on the "expires_at" field. func ExpiresAtIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldExpiresAt, vs...)) } // ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field. func ExpiresAtNotIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldExpiresAt, vs...)) } // ExpiresAtGT applies the GT predicate on the "expires_at" field. func ExpiresAtGT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldExpiresAt, v)) } // ExpiresAtGTE applies the GTE predicate on the "expires_at" field. func ExpiresAtGTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldExpiresAt, v)) } // ExpiresAtLT applies the LT predicate on the "expires_at" field. func ExpiresAtLT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldExpiresAt, v)) } // ExpiresAtLTE applies the LTE predicate on the "expires_at" field. func ExpiresAtLTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldExpiresAt, v)) } // ConsumedAtEQ applies the EQ predicate on the "consumed_at" field. func ConsumedAtEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldEQ(FieldConsumedAt, v)) } // ConsumedAtNEQ applies the NEQ predicate on the "consumed_at" field. func ConsumedAtNEQ(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNEQ(FieldConsumedAt, v)) } // ConsumedAtIn applies the In predicate on the "consumed_at" field. func ConsumedAtIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIn(FieldConsumedAt, vs...)) } // ConsumedAtNotIn applies the NotIn predicate on the "consumed_at" field. func ConsumedAtNotIn(vs ...time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotIn(FieldConsumedAt, vs...)) } // ConsumedAtGT applies the GT predicate on the "consumed_at" field. func ConsumedAtGT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGT(FieldConsumedAt, v)) } // ConsumedAtGTE applies the GTE predicate on the "consumed_at" field. func ConsumedAtGTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldGTE(FieldConsumedAt, v)) } // ConsumedAtLT applies the LT predicate on the "consumed_at" field. func ConsumedAtLT(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLT(FieldConsumedAt, v)) } // ConsumedAtLTE applies the LTE predicate on the "consumed_at" field. func ConsumedAtLTE(v time.Time) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldLTE(FieldConsumedAt, v)) } // ConsumedAtIsNil applies the IsNil predicate on the "consumed_at" field. func ConsumedAtIsNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldIsNull(FieldConsumedAt)) } // ConsumedAtNotNil applies the NotNil predicate on the "consumed_at" field. func ConsumedAtNotNil() predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.FieldNotNull(FieldConsumedAt)) } // HasTargetUser applies the HasEdge predicate on the "target_user" edge. func HasTargetUser() predicate.PendingAuthSession { return predicate.PendingAuthSession(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2O, true, TargetUserTable, TargetUserColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasTargetUserWith applies the HasEdge predicate on the "target_user" edge with a given conditions (other predicates). func HasTargetUserWith(preds ...predicate.User) predicate.PendingAuthSession { return predicate.PendingAuthSession(func(s *sql.Selector) { step := newTargetUserStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // HasAdoptionDecision applies the HasEdge predicate on the "adoption_decision" edge. func HasAdoptionDecision() predicate.PendingAuthSession { return predicate.PendingAuthSession(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.O2O, false, AdoptionDecisionTable, AdoptionDecisionColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasAdoptionDecisionWith applies the HasEdge predicate on the "adoption_decision" edge with a given conditions (other predicates). func HasAdoptionDecisionWith(preds ...predicate.IdentityAdoptionDecision) predicate.PendingAuthSession { return predicate.PendingAuthSession(func(s *sql.Selector) { step := newAdoptionDecisionStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // And groups predicates with the AND operator between them. func And(predicates ...predicate.PendingAuthSession) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.PendingAuthSession) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.PendingAuthSession) predicate.PendingAuthSession { return predicate.PendingAuthSession(sql.NotPredicates(p)) }