| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262 |
- // 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))
- }
|