| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759 |
- // Code generated by ent, DO NOT EDIT.
- package account
- 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.Account {
- return predicate.Account(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id int64) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id int64) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...int64) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...int64) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id int64) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id int64) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id int64) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id int64) predicate.Account {
- return predicate.Account(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.Account {
- return predicate.Account(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.Account {
- return predicate.Account(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
- func DeletedAt(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldDeletedAt, v))
- }
- // Name applies equality check predicate on the "name" field. It's identical to NameEQ.
- func Name(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldName, v))
- }
- // Notes applies equality check predicate on the "notes" field. It's identical to NotesEQ.
- func Notes(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldNotes, v))
- }
- // Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.
- func Platform(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldPlatform, v))
- }
- // Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
- func Type(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldType, v))
- }
- // ProxyID applies equality check predicate on the "proxy_id" field. It's identical to ProxyIDEQ.
- func ProxyID(v int64) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldProxyID, v))
- }
- // ProxyFallbackOriginID applies equality check predicate on the "proxy_fallback_origin_id" field. It's identical to ProxyFallbackOriginIDEQ.
- func ProxyFallbackOriginID(v int64) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldProxyFallbackOriginID, v))
- }
- // Concurrency applies equality check predicate on the "concurrency" field. It's identical to ConcurrencyEQ.
- func Concurrency(v int) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldConcurrency, v))
- }
- // LoadFactor applies equality check predicate on the "load_factor" field. It's identical to LoadFactorEQ.
- func LoadFactor(v int) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldLoadFactor, v))
- }
- // Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.
- func Priority(v int) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldPriority, v))
- }
- // RateMultiplier applies equality check predicate on the "rate_multiplier" field. It's identical to RateMultiplierEQ.
- func RateMultiplier(v float64) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldRateMultiplier, v))
- }
- // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
- func Status(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldStatus, v))
- }
- // ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.
- func ErrorMessage(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldErrorMessage, v))
- }
- // LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.
- func LastUsedAt(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldLastUsedAt, v))
- }
- // ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
- func ExpiresAt(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldExpiresAt, v))
- }
- // AutoPauseOnExpired applies equality check predicate on the "auto_pause_on_expired" field. It's identical to AutoPauseOnExpiredEQ.
- func AutoPauseOnExpired(v bool) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldAutoPauseOnExpired, v))
- }
- // Schedulable applies equality check predicate on the "schedulable" field. It's identical to SchedulableEQ.
- func Schedulable(v bool) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldSchedulable, v))
- }
- // RateLimitedAt applies equality check predicate on the "rate_limited_at" field. It's identical to RateLimitedAtEQ.
- func RateLimitedAt(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldRateLimitedAt, v))
- }
- // RateLimitResetAt applies equality check predicate on the "rate_limit_reset_at" field. It's identical to RateLimitResetAtEQ.
- func RateLimitResetAt(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldRateLimitResetAt, v))
- }
- // OverloadUntil applies equality check predicate on the "overload_until" field. It's identical to OverloadUntilEQ.
- func OverloadUntil(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldOverloadUntil, v))
- }
- // TempUnschedulableUntil applies equality check predicate on the "temp_unschedulable_until" field. It's identical to TempUnschedulableUntilEQ.
- func TempUnschedulableUntil(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldTempUnschedulableUntil, v))
- }
- // TempUnschedulableReason applies equality check predicate on the "temp_unschedulable_reason" field. It's identical to TempUnschedulableReasonEQ.
- func TempUnschedulableReason(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldTempUnschedulableReason, v))
- }
- // SessionWindowStart applies equality check predicate on the "session_window_start" field. It's identical to SessionWindowStartEQ.
- func SessionWindowStart(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldSessionWindowStart, v))
- }
- // SessionWindowEnd applies equality check predicate on the "session_window_end" field. It's identical to SessionWindowEndEQ.
- func SessionWindowEnd(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldSessionWindowEnd, v))
- }
- // SessionWindowStatus applies equality check predicate on the "session_window_status" field. It's identical to SessionWindowStatusEQ.
- func SessionWindowStatus(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldSessionWindowStatus, v))
- }
- // ParentAccountID applies equality check predicate on the "parent_account_id" field. It's identical to ParentAccountIDEQ.
- func ParentAccountID(v int64) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldParentAccountID, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
- func DeletedAtEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldDeletedAt, v))
- }
- // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
- func DeletedAtNEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldDeletedAt, v))
- }
- // DeletedAtIn applies the In predicate on the "deleted_at" field.
- func DeletedAtIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldDeletedAt, vs...))
- }
- // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
- func DeletedAtNotIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldDeletedAt, vs...))
- }
- // DeletedAtGT applies the GT predicate on the "deleted_at" field.
- func DeletedAtGT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldDeletedAt, v))
- }
- // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
- func DeletedAtGTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldDeletedAt, v))
- }
- // DeletedAtLT applies the LT predicate on the "deleted_at" field.
- func DeletedAtLT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldDeletedAt, v))
- }
- // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
- func DeletedAtLTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldDeletedAt, v))
- }
- // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
- func DeletedAtIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldDeletedAt))
- }
- // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
- func DeletedAtNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldDeletedAt))
- }
- // NameEQ applies the EQ predicate on the "name" field.
- func NameEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldName, v))
- }
- // NameNEQ applies the NEQ predicate on the "name" field.
- func NameNEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldName, v))
- }
- // NameIn applies the In predicate on the "name" field.
- func NameIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldName, vs...))
- }
- // NameNotIn applies the NotIn predicate on the "name" field.
- func NameNotIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldName, vs...))
- }
- // NameGT applies the GT predicate on the "name" field.
- func NameGT(v string) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldName, v))
- }
- // NameGTE applies the GTE predicate on the "name" field.
- func NameGTE(v string) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldName, v))
- }
- // NameLT applies the LT predicate on the "name" field.
- func NameLT(v string) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldName, v))
- }
- // NameLTE applies the LTE predicate on the "name" field.
- func NameLTE(v string) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldName, v))
- }
- // NameContains applies the Contains predicate on the "name" field.
- func NameContains(v string) predicate.Account {
- return predicate.Account(sql.FieldContains(FieldName, v))
- }
- // NameHasPrefix applies the HasPrefix predicate on the "name" field.
- func NameHasPrefix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasPrefix(FieldName, v))
- }
- // NameHasSuffix applies the HasSuffix predicate on the "name" field.
- func NameHasSuffix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasSuffix(FieldName, v))
- }
- // NameEqualFold applies the EqualFold predicate on the "name" field.
- func NameEqualFold(v string) predicate.Account {
- return predicate.Account(sql.FieldEqualFold(FieldName, v))
- }
- // NameContainsFold applies the ContainsFold predicate on the "name" field.
- func NameContainsFold(v string) predicate.Account {
- return predicate.Account(sql.FieldContainsFold(FieldName, v))
- }
- // NotesEQ applies the EQ predicate on the "notes" field.
- func NotesEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldNotes, v))
- }
- // NotesNEQ applies the NEQ predicate on the "notes" field.
- func NotesNEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldNotes, v))
- }
- // NotesIn applies the In predicate on the "notes" field.
- func NotesIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldNotes, vs...))
- }
- // NotesNotIn applies the NotIn predicate on the "notes" field.
- func NotesNotIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldNotes, vs...))
- }
- // NotesGT applies the GT predicate on the "notes" field.
- func NotesGT(v string) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldNotes, v))
- }
- // NotesGTE applies the GTE predicate on the "notes" field.
- func NotesGTE(v string) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldNotes, v))
- }
- // NotesLT applies the LT predicate on the "notes" field.
- func NotesLT(v string) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldNotes, v))
- }
- // NotesLTE applies the LTE predicate on the "notes" field.
- func NotesLTE(v string) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldNotes, v))
- }
- // NotesContains applies the Contains predicate on the "notes" field.
- func NotesContains(v string) predicate.Account {
- return predicate.Account(sql.FieldContains(FieldNotes, v))
- }
- // NotesHasPrefix applies the HasPrefix predicate on the "notes" field.
- func NotesHasPrefix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasPrefix(FieldNotes, v))
- }
- // NotesHasSuffix applies the HasSuffix predicate on the "notes" field.
- func NotesHasSuffix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasSuffix(FieldNotes, v))
- }
- // NotesIsNil applies the IsNil predicate on the "notes" field.
- func NotesIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldNotes))
- }
- // NotesNotNil applies the NotNil predicate on the "notes" field.
- func NotesNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldNotes))
- }
- // NotesEqualFold applies the EqualFold predicate on the "notes" field.
- func NotesEqualFold(v string) predicate.Account {
- return predicate.Account(sql.FieldEqualFold(FieldNotes, v))
- }
- // NotesContainsFold applies the ContainsFold predicate on the "notes" field.
- func NotesContainsFold(v string) predicate.Account {
- return predicate.Account(sql.FieldContainsFold(FieldNotes, v))
- }
- // PlatformEQ applies the EQ predicate on the "platform" field.
- func PlatformEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldPlatform, v))
- }
- // PlatformNEQ applies the NEQ predicate on the "platform" field.
- func PlatformNEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldPlatform, v))
- }
- // PlatformIn applies the In predicate on the "platform" field.
- func PlatformIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldPlatform, vs...))
- }
- // PlatformNotIn applies the NotIn predicate on the "platform" field.
- func PlatformNotIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldPlatform, vs...))
- }
- // PlatformGT applies the GT predicate on the "platform" field.
- func PlatformGT(v string) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldPlatform, v))
- }
- // PlatformGTE applies the GTE predicate on the "platform" field.
- func PlatformGTE(v string) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldPlatform, v))
- }
- // PlatformLT applies the LT predicate on the "platform" field.
- func PlatformLT(v string) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldPlatform, v))
- }
- // PlatformLTE applies the LTE predicate on the "platform" field.
- func PlatformLTE(v string) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldPlatform, v))
- }
- // PlatformContains applies the Contains predicate on the "platform" field.
- func PlatformContains(v string) predicate.Account {
- return predicate.Account(sql.FieldContains(FieldPlatform, v))
- }
- // PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.
- func PlatformHasPrefix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasPrefix(FieldPlatform, v))
- }
- // PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.
- func PlatformHasSuffix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasSuffix(FieldPlatform, v))
- }
- // PlatformEqualFold applies the EqualFold predicate on the "platform" field.
- func PlatformEqualFold(v string) predicate.Account {
- return predicate.Account(sql.FieldEqualFold(FieldPlatform, v))
- }
- // PlatformContainsFold applies the ContainsFold predicate on the "platform" field.
- func PlatformContainsFold(v string) predicate.Account {
- return predicate.Account(sql.FieldContainsFold(FieldPlatform, v))
- }
- // TypeEQ applies the EQ predicate on the "type" field.
- func TypeEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldType, v))
- }
- // TypeNEQ applies the NEQ predicate on the "type" field.
- func TypeNEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldType, v))
- }
- // TypeIn applies the In predicate on the "type" field.
- func TypeIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldType, vs...))
- }
- // TypeNotIn applies the NotIn predicate on the "type" field.
- func TypeNotIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldType, vs...))
- }
- // TypeGT applies the GT predicate on the "type" field.
- func TypeGT(v string) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldType, v))
- }
- // TypeGTE applies the GTE predicate on the "type" field.
- func TypeGTE(v string) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldType, v))
- }
- // TypeLT applies the LT predicate on the "type" field.
- func TypeLT(v string) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldType, v))
- }
- // TypeLTE applies the LTE predicate on the "type" field.
- func TypeLTE(v string) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldType, v))
- }
- // TypeContains applies the Contains predicate on the "type" field.
- func TypeContains(v string) predicate.Account {
- return predicate.Account(sql.FieldContains(FieldType, v))
- }
- // TypeHasPrefix applies the HasPrefix predicate on the "type" field.
- func TypeHasPrefix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasPrefix(FieldType, v))
- }
- // TypeHasSuffix applies the HasSuffix predicate on the "type" field.
- func TypeHasSuffix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasSuffix(FieldType, v))
- }
- // TypeEqualFold applies the EqualFold predicate on the "type" field.
- func TypeEqualFold(v string) predicate.Account {
- return predicate.Account(sql.FieldEqualFold(FieldType, v))
- }
- // TypeContainsFold applies the ContainsFold predicate on the "type" field.
- func TypeContainsFold(v string) predicate.Account {
- return predicate.Account(sql.FieldContainsFold(FieldType, v))
- }
- // ProxyIDEQ applies the EQ predicate on the "proxy_id" field.
- func ProxyIDEQ(v int64) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldProxyID, v))
- }
- // ProxyIDNEQ applies the NEQ predicate on the "proxy_id" field.
- func ProxyIDNEQ(v int64) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldProxyID, v))
- }
- // ProxyIDIn applies the In predicate on the "proxy_id" field.
- func ProxyIDIn(vs ...int64) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldProxyID, vs...))
- }
- // ProxyIDNotIn applies the NotIn predicate on the "proxy_id" field.
- func ProxyIDNotIn(vs ...int64) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldProxyID, vs...))
- }
- // ProxyIDIsNil applies the IsNil predicate on the "proxy_id" field.
- func ProxyIDIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldProxyID))
- }
- // ProxyIDNotNil applies the NotNil predicate on the "proxy_id" field.
- func ProxyIDNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldProxyID))
- }
- // ProxyFallbackOriginIDEQ applies the EQ predicate on the "proxy_fallback_origin_id" field.
- func ProxyFallbackOriginIDEQ(v int64) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldProxyFallbackOriginID, v))
- }
- // ProxyFallbackOriginIDNEQ applies the NEQ predicate on the "proxy_fallback_origin_id" field.
- func ProxyFallbackOriginIDNEQ(v int64) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldProxyFallbackOriginID, v))
- }
- // ProxyFallbackOriginIDIn applies the In predicate on the "proxy_fallback_origin_id" field.
- func ProxyFallbackOriginIDIn(vs ...int64) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldProxyFallbackOriginID, vs...))
- }
- // ProxyFallbackOriginIDNotIn applies the NotIn predicate on the "proxy_fallback_origin_id" field.
- func ProxyFallbackOriginIDNotIn(vs ...int64) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldProxyFallbackOriginID, vs...))
- }
- // ProxyFallbackOriginIDGT applies the GT predicate on the "proxy_fallback_origin_id" field.
- func ProxyFallbackOriginIDGT(v int64) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldProxyFallbackOriginID, v))
- }
- // ProxyFallbackOriginIDGTE applies the GTE predicate on the "proxy_fallback_origin_id" field.
- func ProxyFallbackOriginIDGTE(v int64) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldProxyFallbackOriginID, v))
- }
- // ProxyFallbackOriginIDLT applies the LT predicate on the "proxy_fallback_origin_id" field.
- func ProxyFallbackOriginIDLT(v int64) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldProxyFallbackOriginID, v))
- }
- // ProxyFallbackOriginIDLTE applies the LTE predicate on the "proxy_fallback_origin_id" field.
- func ProxyFallbackOriginIDLTE(v int64) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldProxyFallbackOriginID, v))
- }
- // ProxyFallbackOriginIDIsNil applies the IsNil predicate on the "proxy_fallback_origin_id" field.
- func ProxyFallbackOriginIDIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldProxyFallbackOriginID))
- }
- // ProxyFallbackOriginIDNotNil applies the NotNil predicate on the "proxy_fallback_origin_id" field.
- func ProxyFallbackOriginIDNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldProxyFallbackOriginID))
- }
- // ConcurrencyEQ applies the EQ predicate on the "concurrency" field.
- func ConcurrencyEQ(v int) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldConcurrency, v))
- }
- // ConcurrencyNEQ applies the NEQ predicate on the "concurrency" field.
- func ConcurrencyNEQ(v int) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldConcurrency, v))
- }
- // ConcurrencyIn applies the In predicate on the "concurrency" field.
- func ConcurrencyIn(vs ...int) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldConcurrency, vs...))
- }
- // ConcurrencyNotIn applies the NotIn predicate on the "concurrency" field.
- func ConcurrencyNotIn(vs ...int) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldConcurrency, vs...))
- }
- // ConcurrencyGT applies the GT predicate on the "concurrency" field.
- func ConcurrencyGT(v int) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldConcurrency, v))
- }
- // ConcurrencyGTE applies the GTE predicate on the "concurrency" field.
- func ConcurrencyGTE(v int) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldConcurrency, v))
- }
- // ConcurrencyLT applies the LT predicate on the "concurrency" field.
- func ConcurrencyLT(v int) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldConcurrency, v))
- }
- // ConcurrencyLTE applies the LTE predicate on the "concurrency" field.
- func ConcurrencyLTE(v int) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldConcurrency, v))
- }
- // LoadFactorEQ applies the EQ predicate on the "load_factor" field.
- func LoadFactorEQ(v int) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldLoadFactor, v))
- }
- // LoadFactorNEQ applies the NEQ predicate on the "load_factor" field.
- func LoadFactorNEQ(v int) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldLoadFactor, v))
- }
- // LoadFactorIn applies the In predicate on the "load_factor" field.
- func LoadFactorIn(vs ...int) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldLoadFactor, vs...))
- }
- // LoadFactorNotIn applies the NotIn predicate on the "load_factor" field.
- func LoadFactorNotIn(vs ...int) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldLoadFactor, vs...))
- }
- // LoadFactorGT applies the GT predicate on the "load_factor" field.
- func LoadFactorGT(v int) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldLoadFactor, v))
- }
- // LoadFactorGTE applies the GTE predicate on the "load_factor" field.
- func LoadFactorGTE(v int) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldLoadFactor, v))
- }
- // LoadFactorLT applies the LT predicate on the "load_factor" field.
- func LoadFactorLT(v int) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldLoadFactor, v))
- }
- // LoadFactorLTE applies the LTE predicate on the "load_factor" field.
- func LoadFactorLTE(v int) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldLoadFactor, v))
- }
- // LoadFactorIsNil applies the IsNil predicate on the "load_factor" field.
- func LoadFactorIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldLoadFactor))
- }
- // LoadFactorNotNil applies the NotNil predicate on the "load_factor" field.
- func LoadFactorNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldLoadFactor))
- }
- // PriorityEQ applies the EQ predicate on the "priority" field.
- func PriorityEQ(v int) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldPriority, v))
- }
- // PriorityNEQ applies the NEQ predicate on the "priority" field.
- func PriorityNEQ(v int) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldPriority, v))
- }
- // PriorityIn applies the In predicate on the "priority" field.
- func PriorityIn(vs ...int) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldPriority, vs...))
- }
- // PriorityNotIn applies the NotIn predicate on the "priority" field.
- func PriorityNotIn(vs ...int) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldPriority, vs...))
- }
- // PriorityGT applies the GT predicate on the "priority" field.
- func PriorityGT(v int) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldPriority, v))
- }
- // PriorityGTE applies the GTE predicate on the "priority" field.
- func PriorityGTE(v int) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldPriority, v))
- }
- // PriorityLT applies the LT predicate on the "priority" field.
- func PriorityLT(v int) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldPriority, v))
- }
- // PriorityLTE applies the LTE predicate on the "priority" field.
- func PriorityLTE(v int) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldPriority, v))
- }
- // RateMultiplierEQ applies the EQ predicate on the "rate_multiplier" field.
- func RateMultiplierEQ(v float64) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldRateMultiplier, v))
- }
- // RateMultiplierNEQ applies the NEQ predicate on the "rate_multiplier" field.
- func RateMultiplierNEQ(v float64) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldRateMultiplier, v))
- }
- // RateMultiplierIn applies the In predicate on the "rate_multiplier" field.
- func RateMultiplierIn(vs ...float64) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldRateMultiplier, vs...))
- }
- // RateMultiplierNotIn applies the NotIn predicate on the "rate_multiplier" field.
- func RateMultiplierNotIn(vs ...float64) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldRateMultiplier, vs...))
- }
- // RateMultiplierGT applies the GT predicate on the "rate_multiplier" field.
- func RateMultiplierGT(v float64) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldRateMultiplier, v))
- }
- // RateMultiplierGTE applies the GTE predicate on the "rate_multiplier" field.
- func RateMultiplierGTE(v float64) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldRateMultiplier, v))
- }
- // RateMultiplierLT applies the LT predicate on the "rate_multiplier" field.
- func RateMultiplierLT(v float64) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldRateMultiplier, v))
- }
- // RateMultiplierLTE applies the LTE predicate on the "rate_multiplier" field.
- func RateMultiplierLTE(v float64) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldRateMultiplier, v))
- }
- // StatusEQ applies the EQ predicate on the "status" field.
- func StatusEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldStatus, v))
- }
- // StatusNEQ applies the NEQ predicate on the "status" field.
- func StatusNEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldStatus, v))
- }
- // StatusIn applies the In predicate on the "status" field.
- func StatusIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldStatus, vs...))
- }
- // StatusNotIn applies the NotIn predicate on the "status" field.
- func StatusNotIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldStatus, vs...))
- }
- // StatusGT applies the GT predicate on the "status" field.
- func StatusGT(v string) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldStatus, v))
- }
- // StatusGTE applies the GTE predicate on the "status" field.
- func StatusGTE(v string) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldStatus, v))
- }
- // StatusLT applies the LT predicate on the "status" field.
- func StatusLT(v string) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldStatus, v))
- }
- // StatusLTE applies the LTE predicate on the "status" field.
- func StatusLTE(v string) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldStatus, v))
- }
- // StatusContains applies the Contains predicate on the "status" field.
- func StatusContains(v string) predicate.Account {
- return predicate.Account(sql.FieldContains(FieldStatus, v))
- }
- // StatusHasPrefix applies the HasPrefix predicate on the "status" field.
- func StatusHasPrefix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasPrefix(FieldStatus, v))
- }
- // StatusHasSuffix applies the HasSuffix predicate on the "status" field.
- func StatusHasSuffix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasSuffix(FieldStatus, v))
- }
- // StatusEqualFold applies the EqualFold predicate on the "status" field.
- func StatusEqualFold(v string) predicate.Account {
- return predicate.Account(sql.FieldEqualFold(FieldStatus, v))
- }
- // StatusContainsFold applies the ContainsFold predicate on the "status" field.
- func StatusContainsFold(v string) predicate.Account {
- return predicate.Account(sql.FieldContainsFold(FieldStatus, v))
- }
- // ErrorMessageEQ applies the EQ predicate on the "error_message" field.
- func ErrorMessageEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldErrorMessage, v))
- }
- // ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.
- func ErrorMessageNEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldErrorMessage, v))
- }
- // ErrorMessageIn applies the In predicate on the "error_message" field.
- func ErrorMessageIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldErrorMessage, vs...))
- }
- // ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.
- func ErrorMessageNotIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldErrorMessage, vs...))
- }
- // ErrorMessageGT applies the GT predicate on the "error_message" field.
- func ErrorMessageGT(v string) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldErrorMessage, v))
- }
- // ErrorMessageGTE applies the GTE predicate on the "error_message" field.
- func ErrorMessageGTE(v string) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldErrorMessage, v))
- }
- // ErrorMessageLT applies the LT predicate on the "error_message" field.
- func ErrorMessageLT(v string) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldErrorMessage, v))
- }
- // ErrorMessageLTE applies the LTE predicate on the "error_message" field.
- func ErrorMessageLTE(v string) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldErrorMessage, v))
- }
- // ErrorMessageContains applies the Contains predicate on the "error_message" field.
- func ErrorMessageContains(v string) predicate.Account {
- return predicate.Account(sql.FieldContains(FieldErrorMessage, v))
- }
- // ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.
- func ErrorMessageHasPrefix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasPrefix(FieldErrorMessage, v))
- }
- // ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.
- func ErrorMessageHasSuffix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasSuffix(FieldErrorMessage, v))
- }
- // ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.
- func ErrorMessageIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldErrorMessage))
- }
- // ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.
- func ErrorMessageNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldErrorMessage))
- }
- // ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.
- func ErrorMessageEqualFold(v string) predicate.Account {
- return predicate.Account(sql.FieldEqualFold(FieldErrorMessage, v))
- }
- // ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.
- func ErrorMessageContainsFold(v string) predicate.Account {
- return predicate.Account(sql.FieldContainsFold(FieldErrorMessage, v))
- }
- // LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.
- func LastUsedAtEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldLastUsedAt, v))
- }
- // LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.
- func LastUsedAtNEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldLastUsedAt, v))
- }
- // LastUsedAtIn applies the In predicate on the "last_used_at" field.
- func LastUsedAtIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldLastUsedAt, vs...))
- }
- // LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.
- func LastUsedAtNotIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldLastUsedAt, vs...))
- }
- // LastUsedAtGT applies the GT predicate on the "last_used_at" field.
- func LastUsedAtGT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldLastUsedAt, v))
- }
- // LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.
- func LastUsedAtGTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldLastUsedAt, v))
- }
- // LastUsedAtLT applies the LT predicate on the "last_used_at" field.
- func LastUsedAtLT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldLastUsedAt, v))
- }
- // LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.
- func LastUsedAtLTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldLastUsedAt, v))
- }
- // LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.
- func LastUsedAtIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldLastUsedAt))
- }
- // LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.
- func LastUsedAtNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldLastUsedAt))
- }
- // ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
- func ExpiresAtEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldExpiresAt, v))
- }
- // ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
- func ExpiresAtNEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldExpiresAt, v))
- }
- // ExpiresAtIn applies the In predicate on the "expires_at" field.
- func ExpiresAtIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldExpiresAt, vs...))
- }
- // ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
- func ExpiresAtNotIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldExpiresAt, vs...))
- }
- // ExpiresAtGT applies the GT predicate on the "expires_at" field.
- func ExpiresAtGT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldExpiresAt, v))
- }
- // ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
- func ExpiresAtGTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldExpiresAt, v))
- }
- // ExpiresAtLT applies the LT predicate on the "expires_at" field.
- func ExpiresAtLT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldExpiresAt, v))
- }
- // ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
- func ExpiresAtLTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldExpiresAt, v))
- }
- // ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
- func ExpiresAtIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldExpiresAt))
- }
- // ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
- func ExpiresAtNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldExpiresAt))
- }
- // AutoPauseOnExpiredEQ applies the EQ predicate on the "auto_pause_on_expired" field.
- func AutoPauseOnExpiredEQ(v bool) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldAutoPauseOnExpired, v))
- }
- // AutoPauseOnExpiredNEQ applies the NEQ predicate on the "auto_pause_on_expired" field.
- func AutoPauseOnExpiredNEQ(v bool) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldAutoPauseOnExpired, v))
- }
- // SchedulableEQ applies the EQ predicate on the "schedulable" field.
- func SchedulableEQ(v bool) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldSchedulable, v))
- }
- // SchedulableNEQ applies the NEQ predicate on the "schedulable" field.
- func SchedulableNEQ(v bool) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldSchedulable, v))
- }
- // RateLimitedAtEQ applies the EQ predicate on the "rate_limited_at" field.
- func RateLimitedAtEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldRateLimitedAt, v))
- }
- // RateLimitedAtNEQ applies the NEQ predicate on the "rate_limited_at" field.
- func RateLimitedAtNEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldRateLimitedAt, v))
- }
- // RateLimitedAtIn applies the In predicate on the "rate_limited_at" field.
- func RateLimitedAtIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldRateLimitedAt, vs...))
- }
- // RateLimitedAtNotIn applies the NotIn predicate on the "rate_limited_at" field.
- func RateLimitedAtNotIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldRateLimitedAt, vs...))
- }
- // RateLimitedAtGT applies the GT predicate on the "rate_limited_at" field.
- func RateLimitedAtGT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldRateLimitedAt, v))
- }
- // RateLimitedAtGTE applies the GTE predicate on the "rate_limited_at" field.
- func RateLimitedAtGTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldRateLimitedAt, v))
- }
- // RateLimitedAtLT applies the LT predicate on the "rate_limited_at" field.
- func RateLimitedAtLT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldRateLimitedAt, v))
- }
- // RateLimitedAtLTE applies the LTE predicate on the "rate_limited_at" field.
- func RateLimitedAtLTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldRateLimitedAt, v))
- }
- // RateLimitedAtIsNil applies the IsNil predicate on the "rate_limited_at" field.
- func RateLimitedAtIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldRateLimitedAt))
- }
- // RateLimitedAtNotNil applies the NotNil predicate on the "rate_limited_at" field.
- func RateLimitedAtNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldRateLimitedAt))
- }
- // RateLimitResetAtEQ applies the EQ predicate on the "rate_limit_reset_at" field.
- func RateLimitResetAtEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldRateLimitResetAt, v))
- }
- // RateLimitResetAtNEQ applies the NEQ predicate on the "rate_limit_reset_at" field.
- func RateLimitResetAtNEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldRateLimitResetAt, v))
- }
- // RateLimitResetAtIn applies the In predicate on the "rate_limit_reset_at" field.
- func RateLimitResetAtIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldRateLimitResetAt, vs...))
- }
- // RateLimitResetAtNotIn applies the NotIn predicate on the "rate_limit_reset_at" field.
- func RateLimitResetAtNotIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldRateLimitResetAt, vs...))
- }
- // RateLimitResetAtGT applies the GT predicate on the "rate_limit_reset_at" field.
- func RateLimitResetAtGT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldRateLimitResetAt, v))
- }
- // RateLimitResetAtGTE applies the GTE predicate on the "rate_limit_reset_at" field.
- func RateLimitResetAtGTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldRateLimitResetAt, v))
- }
- // RateLimitResetAtLT applies the LT predicate on the "rate_limit_reset_at" field.
- func RateLimitResetAtLT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldRateLimitResetAt, v))
- }
- // RateLimitResetAtLTE applies the LTE predicate on the "rate_limit_reset_at" field.
- func RateLimitResetAtLTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldRateLimitResetAt, v))
- }
- // RateLimitResetAtIsNil applies the IsNil predicate on the "rate_limit_reset_at" field.
- func RateLimitResetAtIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldRateLimitResetAt))
- }
- // RateLimitResetAtNotNil applies the NotNil predicate on the "rate_limit_reset_at" field.
- func RateLimitResetAtNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldRateLimitResetAt))
- }
- // OverloadUntilEQ applies the EQ predicate on the "overload_until" field.
- func OverloadUntilEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldOverloadUntil, v))
- }
- // OverloadUntilNEQ applies the NEQ predicate on the "overload_until" field.
- func OverloadUntilNEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldOverloadUntil, v))
- }
- // OverloadUntilIn applies the In predicate on the "overload_until" field.
- func OverloadUntilIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldOverloadUntil, vs...))
- }
- // OverloadUntilNotIn applies the NotIn predicate on the "overload_until" field.
- func OverloadUntilNotIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldOverloadUntil, vs...))
- }
- // OverloadUntilGT applies the GT predicate on the "overload_until" field.
- func OverloadUntilGT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldOverloadUntil, v))
- }
- // OverloadUntilGTE applies the GTE predicate on the "overload_until" field.
- func OverloadUntilGTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldOverloadUntil, v))
- }
- // OverloadUntilLT applies the LT predicate on the "overload_until" field.
- func OverloadUntilLT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldOverloadUntil, v))
- }
- // OverloadUntilLTE applies the LTE predicate on the "overload_until" field.
- func OverloadUntilLTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldOverloadUntil, v))
- }
- // OverloadUntilIsNil applies the IsNil predicate on the "overload_until" field.
- func OverloadUntilIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldOverloadUntil))
- }
- // OverloadUntilNotNil applies the NotNil predicate on the "overload_until" field.
- func OverloadUntilNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldOverloadUntil))
- }
- // TempUnschedulableUntilEQ applies the EQ predicate on the "temp_unschedulable_until" field.
- func TempUnschedulableUntilEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldTempUnschedulableUntil, v))
- }
- // TempUnschedulableUntilNEQ applies the NEQ predicate on the "temp_unschedulable_until" field.
- func TempUnschedulableUntilNEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldTempUnschedulableUntil, v))
- }
- // TempUnschedulableUntilIn applies the In predicate on the "temp_unschedulable_until" field.
- func TempUnschedulableUntilIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldTempUnschedulableUntil, vs...))
- }
- // TempUnschedulableUntilNotIn applies the NotIn predicate on the "temp_unschedulable_until" field.
- func TempUnschedulableUntilNotIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldTempUnschedulableUntil, vs...))
- }
- // TempUnschedulableUntilGT applies the GT predicate on the "temp_unschedulable_until" field.
- func TempUnschedulableUntilGT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldTempUnschedulableUntil, v))
- }
- // TempUnschedulableUntilGTE applies the GTE predicate on the "temp_unschedulable_until" field.
- func TempUnschedulableUntilGTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldTempUnschedulableUntil, v))
- }
- // TempUnschedulableUntilLT applies the LT predicate on the "temp_unschedulable_until" field.
- func TempUnschedulableUntilLT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldTempUnschedulableUntil, v))
- }
- // TempUnschedulableUntilLTE applies the LTE predicate on the "temp_unschedulable_until" field.
- func TempUnschedulableUntilLTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldTempUnschedulableUntil, v))
- }
- // TempUnschedulableUntilIsNil applies the IsNil predicate on the "temp_unschedulable_until" field.
- func TempUnschedulableUntilIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldTempUnschedulableUntil))
- }
- // TempUnschedulableUntilNotNil applies the NotNil predicate on the "temp_unschedulable_until" field.
- func TempUnschedulableUntilNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldTempUnschedulableUntil))
- }
- // TempUnschedulableReasonEQ applies the EQ predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldTempUnschedulableReason, v))
- }
- // TempUnschedulableReasonNEQ applies the NEQ predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonNEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldTempUnschedulableReason, v))
- }
- // TempUnschedulableReasonIn applies the In predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldTempUnschedulableReason, vs...))
- }
- // TempUnschedulableReasonNotIn applies the NotIn predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonNotIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldTempUnschedulableReason, vs...))
- }
- // TempUnschedulableReasonGT applies the GT predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonGT(v string) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldTempUnschedulableReason, v))
- }
- // TempUnschedulableReasonGTE applies the GTE predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonGTE(v string) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldTempUnschedulableReason, v))
- }
- // TempUnschedulableReasonLT applies the LT predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonLT(v string) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldTempUnschedulableReason, v))
- }
- // TempUnschedulableReasonLTE applies the LTE predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonLTE(v string) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldTempUnschedulableReason, v))
- }
- // TempUnschedulableReasonContains applies the Contains predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonContains(v string) predicate.Account {
- return predicate.Account(sql.FieldContains(FieldTempUnschedulableReason, v))
- }
- // TempUnschedulableReasonHasPrefix applies the HasPrefix predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonHasPrefix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasPrefix(FieldTempUnschedulableReason, v))
- }
- // TempUnschedulableReasonHasSuffix applies the HasSuffix predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonHasSuffix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasSuffix(FieldTempUnschedulableReason, v))
- }
- // TempUnschedulableReasonIsNil applies the IsNil predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldTempUnschedulableReason))
- }
- // TempUnschedulableReasonNotNil applies the NotNil predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldTempUnschedulableReason))
- }
- // TempUnschedulableReasonEqualFold applies the EqualFold predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonEqualFold(v string) predicate.Account {
- return predicate.Account(sql.FieldEqualFold(FieldTempUnschedulableReason, v))
- }
- // TempUnschedulableReasonContainsFold applies the ContainsFold predicate on the "temp_unschedulable_reason" field.
- func TempUnschedulableReasonContainsFold(v string) predicate.Account {
- return predicate.Account(sql.FieldContainsFold(FieldTempUnschedulableReason, v))
- }
- // SessionWindowStartEQ applies the EQ predicate on the "session_window_start" field.
- func SessionWindowStartEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldSessionWindowStart, v))
- }
- // SessionWindowStartNEQ applies the NEQ predicate on the "session_window_start" field.
- func SessionWindowStartNEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldSessionWindowStart, v))
- }
- // SessionWindowStartIn applies the In predicate on the "session_window_start" field.
- func SessionWindowStartIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldSessionWindowStart, vs...))
- }
- // SessionWindowStartNotIn applies the NotIn predicate on the "session_window_start" field.
- func SessionWindowStartNotIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldSessionWindowStart, vs...))
- }
- // SessionWindowStartGT applies the GT predicate on the "session_window_start" field.
- func SessionWindowStartGT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldSessionWindowStart, v))
- }
- // SessionWindowStartGTE applies the GTE predicate on the "session_window_start" field.
- func SessionWindowStartGTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldSessionWindowStart, v))
- }
- // SessionWindowStartLT applies the LT predicate on the "session_window_start" field.
- func SessionWindowStartLT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldSessionWindowStart, v))
- }
- // SessionWindowStartLTE applies the LTE predicate on the "session_window_start" field.
- func SessionWindowStartLTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldSessionWindowStart, v))
- }
- // SessionWindowStartIsNil applies the IsNil predicate on the "session_window_start" field.
- func SessionWindowStartIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldSessionWindowStart))
- }
- // SessionWindowStartNotNil applies the NotNil predicate on the "session_window_start" field.
- func SessionWindowStartNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldSessionWindowStart))
- }
- // SessionWindowEndEQ applies the EQ predicate on the "session_window_end" field.
- func SessionWindowEndEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldSessionWindowEnd, v))
- }
- // SessionWindowEndNEQ applies the NEQ predicate on the "session_window_end" field.
- func SessionWindowEndNEQ(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldSessionWindowEnd, v))
- }
- // SessionWindowEndIn applies the In predicate on the "session_window_end" field.
- func SessionWindowEndIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldSessionWindowEnd, vs...))
- }
- // SessionWindowEndNotIn applies the NotIn predicate on the "session_window_end" field.
- func SessionWindowEndNotIn(vs ...time.Time) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldSessionWindowEnd, vs...))
- }
- // SessionWindowEndGT applies the GT predicate on the "session_window_end" field.
- func SessionWindowEndGT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldSessionWindowEnd, v))
- }
- // SessionWindowEndGTE applies the GTE predicate on the "session_window_end" field.
- func SessionWindowEndGTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldSessionWindowEnd, v))
- }
- // SessionWindowEndLT applies the LT predicate on the "session_window_end" field.
- func SessionWindowEndLT(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldSessionWindowEnd, v))
- }
- // SessionWindowEndLTE applies the LTE predicate on the "session_window_end" field.
- func SessionWindowEndLTE(v time.Time) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldSessionWindowEnd, v))
- }
- // SessionWindowEndIsNil applies the IsNil predicate on the "session_window_end" field.
- func SessionWindowEndIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldSessionWindowEnd))
- }
- // SessionWindowEndNotNil applies the NotNil predicate on the "session_window_end" field.
- func SessionWindowEndNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldSessionWindowEnd))
- }
- // SessionWindowStatusEQ applies the EQ predicate on the "session_window_status" field.
- func SessionWindowStatusEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldSessionWindowStatus, v))
- }
- // SessionWindowStatusNEQ applies the NEQ predicate on the "session_window_status" field.
- func SessionWindowStatusNEQ(v string) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldSessionWindowStatus, v))
- }
- // SessionWindowStatusIn applies the In predicate on the "session_window_status" field.
- func SessionWindowStatusIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldSessionWindowStatus, vs...))
- }
- // SessionWindowStatusNotIn applies the NotIn predicate on the "session_window_status" field.
- func SessionWindowStatusNotIn(vs ...string) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldSessionWindowStatus, vs...))
- }
- // SessionWindowStatusGT applies the GT predicate on the "session_window_status" field.
- func SessionWindowStatusGT(v string) predicate.Account {
- return predicate.Account(sql.FieldGT(FieldSessionWindowStatus, v))
- }
- // SessionWindowStatusGTE applies the GTE predicate on the "session_window_status" field.
- func SessionWindowStatusGTE(v string) predicate.Account {
- return predicate.Account(sql.FieldGTE(FieldSessionWindowStatus, v))
- }
- // SessionWindowStatusLT applies the LT predicate on the "session_window_status" field.
- func SessionWindowStatusLT(v string) predicate.Account {
- return predicate.Account(sql.FieldLT(FieldSessionWindowStatus, v))
- }
- // SessionWindowStatusLTE applies the LTE predicate on the "session_window_status" field.
- func SessionWindowStatusLTE(v string) predicate.Account {
- return predicate.Account(sql.FieldLTE(FieldSessionWindowStatus, v))
- }
- // SessionWindowStatusContains applies the Contains predicate on the "session_window_status" field.
- func SessionWindowStatusContains(v string) predicate.Account {
- return predicate.Account(sql.FieldContains(FieldSessionWindowStatus, v))
- }
- // SessionWindowStatusHasPrefix applies the HasPrefix predicate on the "session_window_status" field.
- func SessionWindowStatusHasPrefix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasPrefix(FieldSessionWindowStatus, v))
- }
- // SessionWindowStatusHasSuffix applies the HasSuffix predicate on the "session_window_status" field.
- func SessionWindowStatusHasSuffix(v string) predicate.Account {
- return predicate.Account(sql.FieldHasSuffix(FieldSessionWindowStatus, v))
- }
- // SessionWindowStatusIsNil applies the IsNil predicate on the "session_window_status" field.
- func SessionWindowStatusIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldSessionWindowStatus))
- }
- // SessionWindowStatusNotNil applies the NotNil predicate on the "session_window_status" field.
- func SessionWindowStatusNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldSessionWindowStatus))
- }
- // SessionWindowStatusEqualFold applies the EqualFold predicate on the "session_window_status" field.
- func SessionWindowStatusEqualFold(v string) predicate.Account {
- return predicate.Account(sql.FieldEqualFold(FieldSessionWindowStatus, v))
- }
- // SessionWindowStatusContainsFold applies the ContainsFold predicate on the "session_window_status" field.
- func SessionWindowStatusContainsFold(v string) predicate.Account {
- return predicate.Account(sql.FieldContainsFold(FieldSessionWindowStatus, v))
- }
- // ParentAccountIDEQ applies the EQ predicate on the "parent_account_id" field.
- func ParentAccountIDEQ(v int64) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldParentAccountID, v))
- }
- // ParentAccountIDNEQ applies the NEQ predicate on the "parent_account_id" field.
- func ParentAccountIDNEQ(v int64) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldParentAccountID, v))
- }
- // ParentAccountIDIn applies the In predicate on the "parent_account_id" field.
- func ParentAccountIDIn(vs ...int64) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldParentAccountID, vs...))
- }
- // ParentAccountIDNotIn applies the NotIn predicate on the "parent_account_id" field.
- func ParentAccountIDNotIn(vs ...int64) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldParentAccountID, vs...))
- }
- // ParentAccountIDIsNil applies the IsNil predicate on the "parent_account_id" field.
- func ParentAccountIDIsNil() predicate.Account {
- return predicate.Account(sql.FieldIsNull(FieldParentAccountID))
- }
- // ParentAccountIDNotNil applies the NotNil predicate on the "parent_account_id" field.
- func ParentAccountIDNotNil() predicate.Account {
- return predicate.Account(sql.FieldNotNull(FieldParentAccountID))
- }
- // QuotaDimensionEQ applies the EQ predicate on the "quota_dimension" field.
- func QuotaDimensionEQ(v QuotaDimension) predicate.Account {
- return predicate.Account(sql.FieldEQ(FieldQuotaDimension, v))
- }
- // QuotaDimensionNEQ applies the NEQ predicate on the "quota_dimension" field.
- func QuotaDimensionNEQ(v QuotaDimension) predicate.Account {
- return predicate.Account(sql.FieldNEQ(FieldQuotaDimension, v))
- }
- // QuotaDimensionIn applies the In predicate on the "quota_dimension" field.
- func QuotaDimensionIn(vs ...QuotaDimension) predicate.Account {
- return predicate.Account(sql.FieldIn(FieldQuotaDimension, vs...))
- }
- // QuotaDimensionNotIn applies the NotIn predicate on the "quota_dimension" field.
- func QuotaDimensionNotIn(vs ...QuotaDimension) predicate.Account {
- return predicate.Account(sql.FieldNotIn(FieldQuotaDimension, vs...))
- }
- // HasGroups applies the HasEdge predicate on the "groups" edge.
- func HasGroups() predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.M2M, false, GroupsTable, GroupsPrimaryKey...),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).
- func HasGroupsWith(preds ...predicate.Group) predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := newGroupsStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasProxy applies the HasEdge predicate on the "proxy" edge.
- func HasProxy() predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.M2O, false, ProxyTable, ProxyColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasProxyWith applies the HasEdge predicate on the "proxy" edge with a given conditions (other predicates).
- func HasProxyWith(preds ...predicate.Proxy) predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := newProxyStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasParent applies the HasEdge predicate on the "parent" edge.
- func HasParent() predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.M2O, true, ParentTable, ParentColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasParentWith applies the HasEdge predicate on the "parent" edge with a given conditions (other predicates).
- func HasParentWith(preds ...predicate.Account) predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := newParentStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasChildren applies the HasEdge predicate on the "children" edge.
- func HasChildren() predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.O2M, false, ChildrenTable, ChildrenColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasChildrenWith applies the HasEdge predicate on the "children" edge with a given conditions (other predicates).
- func HasChildrenWith(preds ...predicate.Account) predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := newChildrenStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasUsageLogs applies the HasEdge predicate on the "usage_logs" edge.
- func HasUsageLogs() predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.O2M, false, UsageLogsTable, UsageLogsColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasUsageLogsWith applies the HasEdge predicate on the "usage_logs" edge with a given conditions (other predicates).
- func HasUsageLogsWith(preds ...predicate.UsageLog) predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := newUsageLogsStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasAccountGroups applies the HasEdge predicate on the "account_groups" edge.
- func HasAccountGroups() predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.O2M, true, AccountGroupsTable, AccountGroupsColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasAccountGroupsWith applies the HasEdge predicate on the "account_groups" edge with a given conditions (other predicates).
- func HasAccountGroupsWith(preds ...predicate.AccountGroup) predicate.Account {
- return predicate.Account(func(s *sql.Selector) {
- step := newAccountGroupsStep()
- 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.Account) predicate.Account {
- return predicate.Account(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.Account) predicate.Account {
- return predicate.Account(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.Account) predicate.Account {
- return predicate.Account(sql.NotPredicates(p))
- }
|