1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135 |
- // Code generated by ent, DO NOT EDIT.
- package compapiasynctask
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(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.CompapiAsynctask {
- return predicate.CompapiAsynctask(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.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // AuthToken applies equality check predicate on the "auth_token" field. It's identical to AuthTokenEQ.
- func AuthToken(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldAuthToken, v))
- }
- // EventType applies equality check predicate on the "event_type" field. It's identical to EventTypeEQ.
- func EventType(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldEventType, v))
- }
- // ChatID applies equality check predicate on the "chat_id" field. It's identical to ChatIDEQ.
- func ChatID(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldChatID, v))
- }
- // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
- func OrganizationID(v uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldOrganizationID, v))
- }
- // OpenaiBase applies equality check predicate on the "openai_base" field. It's identical to OpenaiBaseEQ.
- func OpenaiBase(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldOpenaiBase, v))
- }
- // OpenaiKey applies equality check predicate on the "openai_key" field. It's identical to OpenaiKeyEQ.
- func OpenaiKey(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldOpenaiKey, v))
- }
- // RequestRaw applies equality check predicate on the "request_raw" field. It's identical to RequestRawEQ.
- func RequestRaw(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldRequestRaw, v))
- }
- // ResponseRaw applies equality check predicate on the "response_raw" field. It's identical to ResponseRawEQ.
- func ResponseRaw(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldResponseRaw, v))
- }
- // CallbackURL applies equality check predicate on the "callback_url" field. It's identical to CallbackURLEQ.
- func CallbackURL(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldCallbackURL, v))
- }
- // CallbackResponseRaw applies equality check predicate on the "callback_response_raw" field. It's identical to CallbackResponseRawEQ.
- func CallbackResponseRaw(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldCallbackResponseRaw, v))
- }
- // Model applies equality check predicate on the "model" field. It's identical to ModelEQ.
- func Model(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldModel, v))
- }
- // TaskStatus applies equality check predicate on the "task_status" field. It's identical to TaskStatusEQ.
- func TaskStatus(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldTaskStatus, v))
- }
- // RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.
- func RetryCount(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldRetryCount, v))
- }
- // LastError applies equality check predicate on the "last_error" field. It's identical to LastErrorEQ.
- func LastError(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldLastError, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // AuthTokenEQ applies the EQ predicate on the "auth_token" field.
- func AuthTokenEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldAuthToken, v))
- }
- // AuthTokenNEQ applies the NEQ predicate on the "auth_token" field.
- func AuthTokenNEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldAuthToken, v))
- }
- // AuthTokenIn applies the In predicate on the "auth_token" field.
- func AuthTokenIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldAuthToken, vs...))
- }
- // AuthTokenNotIn applies the NotIn predicate on the "auth_token" field.
- func AuthTokenNotIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldAuthToken, vs...))
- }
- // AuthTokenGT applies the GT predicate on the "auth_token" field.
- func AuthTokenGT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldAuthToken, v))
- }
- // AuthTokenGTE applies the GTE predicate on the "auth_token" field.
- func AuthTokenGTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldAuthToken, v))
- }
- // AuthTokenLT applies the LT predicate on the "auth_token" field.
- func AuthTokenLT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldAuthToken, v))
- }
- // AuthTokenLTE applies the LTE predicate on the "auth_token" field.
- func AuthTokenLTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldAuthToken, v))
- }
- // AuthTokenContains applies the Contains predicate on the "auth_token" field.
- func AuthTokenContains(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContains(FieldAuthToken, v))
- }
- // AuthTokenHasPrefix applies the HasPrefix predicate on the "auth_token" field.
- func AuthTokenHasPrefix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldAuthToken, v))
- }
- // AuthTokenHasSuffix applies the HasSuffix predicate on the "auth_token" field.
- func AuthTokenHasSuffix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldAuthToken, v))
- }
- // AuthTokenEqualFold applies the EqualFold predicate on the "auth_token" field.
- func AuthTokenEqualFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldAuthToken, v))
- }
- // AuthTokenContainsFold applies the ContainsFold predicate on the "auth_token" field.
- func AuthTokenContainsFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldAuthToken, v))
- }
- // EventTypeEQ applies the EQ predicate on the "event_type" field.
- func EventTypeEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldEventType, v))
- }
- // EventTypeNEQ applies the NEQ predicate on the "event_type" field.
- func EventTypeNEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldEventType, v))
- }
- // EventTypeIn applies the In predicate on the "event_type" field.
- func EventTypeIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldEventType, vs...))
- }
- // EventTypeNotIn applies the NotIn predicate on the "event_type" field.
- func EventTypeNotIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldEventType, vs...))
- }
- // EventTypeGT applies the GT predicate on the "event_type" field.
- func EventTypeGT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldEventType, v))
- }
- // EventTypeGTE applies the GTE predicate on the "event_type" field.
- func EventTypeGTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldEventType, v))
- }
- // EventTypeLT applies the LT predicate on the "event_type" field.
- func EventTypeLT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldEventType, v))
- }
- // EventTypeLTE applies the LTE predicate on the "event_type" field.
- func EventTypeLTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldEventType, v))
- }
- // EventTypeContains applies the Contains predicate on the "event_type" field.
- func EventTypeContains(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContains(FieldEventType, v))
- }
- // EventTypeHasPrefix applies the HasPrefix predicate on the "event_type" field.
- func EventTypeHasPrefix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldEventType, v))
- }
- // EventTypeHasSuffix applies the HasSuffix predicate on the "event_type" field.
- func EventTypeHasSuffix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldEventType, v))
- }
- // EventTypeEqualFold applies the EqualFold predicate on the "event_type" field.
- func EventTypeEqualFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldEventType, v))
- }
- // EventTypeContainsFold applies the ContainsFold predicate on the "event_type" field.
- func EventTypeContainsFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldEventType, v))
- }
- // ChatIDEQ applies the EQ predicate on the "chat_id" field.
- func ChatIDEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldChatID, v))
- }
- // ChatIDNEQ applies the NEQ predicate on the "chat_id" field.
- func ChatIDNEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldChatID, v))
- }
- // ChatIDIn applies the In predicate on the "chat_id" field.
- func ChatIDIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldChatID, vs...))
- }
- // ChatIDNotIn applies the NotIn predicate on the "chat_id" field.
- func ChatIDNotIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldChatID, vs...))
- }
- // ChatIDGT applies the GT predicate on the "chat_id" field.
- func ChatIDGT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldChatID, v))
- }
- // ChatIDGTE applies the GTE predicate on the "chat_id" field.
- func ChatIDGTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldChatID, v))
- }
- // ChatIDLT applies the LT predicate on the "chat_id" field.
- func ChatIDLT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldChatID, v))
- }
- // ChatIDLTE applies the LTE predicate on the "chat_id" field.
- func ChatIDLTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldChatID, v))
- }
- // ChatIDContains applies the Contains predicate on the "chat_id" field.
- func ChatIDContains(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContains(FieldChatID, v))
- }
- // ChatIDHasPrefix applies the HasPrefix predicate on the "chat_id" field.
- func ChatIDHasPrefix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldChatID, v))
- }
- // ChatIDHasSuffix applies the HasSuffix predicate on the "chat_id" field.
- func ChatIDHasSuffix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldChatID, v))
- }
- // ChatIDIsNil applies the IsNil predicate on the "chat_id" field.
- func ChatIDIsNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIsNull(FieldChatID))
- }
- // ChatIDNotNil applies the NotNil predicate on the "chat_id" field.
- func ChatIDNotNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotNull(FieldChatID))
- }
- // ChatIDEqualFold applies the EqualFold predicate on the "chat_id" field.
- func ChatIDEqualFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldChatID, v))
- }
- // ChatIDContainsFold applies the ContainsFold predicate on the "chat_id" field.
- func ChatIDContainsFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldChatID, v))
- }
- // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
- func OrganizationIDEQ(v uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldOrganizationID, v))
- }
- // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
- func OrganizationIDNEQ(v uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldOrganizationID, v))
- }
- // OrganizationIDIn applies the In predicate on the "organization_id" field.
- func OrganizationIDIn(vs ...uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
- func OrganizationIDNotIn(vs ...uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDGT applies the GT predicate on the "organization_id" field.
- func OrganizationIDGT(v uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldOrganizationID, v))
- }
- // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
- func OrganizationIDGTE(v uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldOrganizationID, v))
- }
- // OrganizationIDLT applies the LT predicate on the "organization_id" field.
- func OrganizationIDLT(v uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldOrganizationID, v))
- }
- // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
- func OrganizationIDLTE(v uint64) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldOrganizationID, v))
- }
- // OpenaiBaseEQ applies the EQ predicate on the "openai_base" field.
- func OpenaiBaseEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldOpenaiBase, v))
- }
- // OpenaiBaseNEQ applies the NEQ predicate on the "openai_base" field.
- func OpenaiBaseNEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldOpenaiBase, v))
- }
- // OpenaiBaseIn applies the In predicate on the "openai_base" field.
- func OpenaiBaseIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldOpenaiBase, vs...))
- }
- // OpenaiBaseNotIn applies the NotIn predicate on the "openai_base" field.
- func OpenaiBaseNotIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldOpenaiBase, vs...))
- }
- // OpenaiBaseGT applies the GT predicate on the "openai_base" field.
- func OpenaiBaseGT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldOpenaiBase, v))
- }
- // OpenaiBaseGTE applies the GTE predicate on the "openai_base" field.
- func OpenaiBaseGTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldOpenaiBase, v))
- }
- // OpenaiBaseLT applies the LT predicate on the "openai_base" field.
- func OpenaiBaseLT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldOpenaiBase, v))
- }
- // OpenaiBaseLTE applies the LTE predicate on the "openai_base" field.
- func OpenaiBaseLTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldOpenaiBase, v))
- }
- // OpenaiBaseContains applies the Contains predicate on the "openai_base" field.
- func OpenaiBaseContains(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContains(FieldOpenaiBase, v))
- }
- // OpenaiBaseHasPrefix applies the HasPrefix predicate on the "openai_base" field.
- func OpenaiBaseHasPrefix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldOpenaiBase, v))
- }
- // OpenaiBaseHasSuffix applies the HasSuffix predicate on the "openai_base" field.
- func OpenaiBaseHasSuffix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldOpenaiBase, v))
- }
- // OpenaiBaseEqualFold applies the EqualFold predicate on the "openai_base" field.
- func OpenaiBaseEqualFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldOpenaiBase, v))
- }
- // OpenaiBaseContainsFold applies the ContainsFold predicate on the "openai_base" field.
- func OpenaiBaseContainsFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldOpenaiBase, v))
- }
- // OpenaiKeyEQ applies the EQ predicate on the "openai_key" field.
- func OpenaiKeyEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldOpenaiKey, v))
- }
- // OpenaiKeyNEQ applies the NEQ predicate on the "openai_key" field.
- func OpenaiKeyNEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldOpenaiKey, v))
- }
- // OpenaiKeyIn applies the In predicate on the "openai_key" field.
- func OpenaiKeyIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldOpenaiKey, vs...))
- }
- // OpenaiKeyNotIn applies the NotIn predicate on the "openai_key" field.
- func OpenaiKeyNotIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldOpenaiKey, vs...))
- }
- // OpenaiKeyGT applies the GT predicate on the "openai_key" field.
- func OpenaiKeyGT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldOpenaiKey, v))
- }
- // OpenaiKeyGTE applies the GTE predicate on the "openai_key" field.
- func OpenaiKeyGTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldOpenaiKey, v))
- }
- // OpenaiKeyLT applies the LT predicate on the "openai_key" field.
- func OpenaiKeyLT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldOpenaiKey, v))
- }
- // OpenaiKeyLTE applies the LTE predicate on the "openai_key" field.
- func OpenaiKeyLTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldOpenaiKey, v))
- }
- // OpenaiKeyContains applies the Contains predicate on the "openai_key" field.
- func OpenaiKeyContains(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContains(FieldOpenaiKey, v))
- }
- // OpenaiKeyHasPrefix applies the HasPrefix predicate on the "openai_key" field.
- func OpenaiKeyHasPrefix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldOpenaiKey, v))
- }
- // OpenaiKeyHasSuffix applies the HasSuffix predicate on the "openai_key" field.
- func OpenaiKeyHasSuffix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldOpenaiKey, v))
- }
- // OpenaiKeyEqualFold applies the EqualFold predicate on the "openai_key" field.
- func OpenaiKeyEqualFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldOpenaiKey, v))
- }
- // OpenaiKeyContainsFold applies the ContainsFold predicate on the "openai_key" field.
- func OpenaiKeyContainsFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldOpenaiKey, v))
- }
- // RequestRawEQ applies the EQ predicate on the "request_raw" field.
- func RequestRawEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldRequestRaw, v))
- }
- // RequestRawNEQ applies the NEQ predicate on the "request_raw" field.
- func RequestRawNEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldRequestRaw, v))
- }
- // RequestRawIn applies the In predicate on the "request_raw" field.
- func RequestRawIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldRequestRaw, vs...))
- }
- // RequestRawNotIn applies the NotIn predicate on the "request_raw" field.
- func RequestRawNotIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldRequestRaw, vs...))
- }
- // RequestRawGT applies the GT predicate on the "request_raw" field.
- func RequestRawGT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldRequestRaw, v))
- }
- // RequestRawGTE applies the GTE predicate on the "request_raw" field.
- func RequestRawGTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldRequestRaw, v))
- }
- // RequestRawLT applies the LT predicate on the "request_raw" field.
- func RequestRawLT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldRequestRaw, v))
- }
- // RequestRawLTE applies the LTE predicate on the "request_raw" field.
- func RequestRawLTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldRequestRaw, v))
- }
- // RequestRawContains applies the Contains predicate on the "request_raw" field.
- func RequestRawContains(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContains(FieldRequestRaw, v))
- }
- // RequestRawHasPrefix applies the HasPrefix predicate on the "request_raw" field.
- func RequestRawHasPrefix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldRequestRaw, v))
- }
- // RequestRawHasSuffix applies the HasSuffix predicate on the "request_raw" field.
- func RequestRawHasSuffix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldRequestRaw, v))
- }
- // RequestRawEqualFold applies the EqualFold predicate on the "request_raw" field.
- func RequestRawEqualFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldRequestRaw, v))
- }
- // RequestRawContainsFold applies the ContainsFold predicate on the "request_raw" field.
- func RequestRawContainsFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldRequestRaw, v))
- }
- // ResponseRawEQ applies the EQ predicate on the "response_raw" field.
- func ResponseRawEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldResponseRaw, v))
- }
- // ResponseRawNEQ applies the NEQ predicate on the "response_raw" field.
- func ResponseRawNEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldResponseRaw, v))
- }
- // ResponseRawIn applies the In predicate on the "response_raw" field.
- func ResponseRawIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldResponseRaw, vs...))
- }
- // ResponseRawNotIn applies the NotIn predicate on the "response_raw" field.
- func ResponseRawNotIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldResponseRaw, vs...))
- }
- // ResponseRawGT applies the GT predicate on the "response_raw" field.
- func ResponseRawGT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldResponseRaw, v))
- }
- // ResponseRawGTE applies the GTE predicate on the "response_raw" field.
- func ResponseRawGTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldResponseRaw, v))
- }
- // ResponseRawLT applies the LT predicate on the "response_raw" field.
- func ResponseRawLT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldResponseRaw, v))
- }
- // ResponseRawLTE applies the LTE predicate on the "response_raw" field.
- func ResponseRawLTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldResponseRaw, v))
- }
- // ResponseRawContains applies the Contains predicate on the "response_raw" field.
- func ResponseRawContains(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContains(FieldResponseRaw, v))
- }
- // ResponseRawHasPrefix applies the HasPrefix predicate on the "response_raw" field.
- func ResponseRawHasPrefix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldResponseRaw, v))
- }
- // ResponseRawHasSuffix applies the HasSuffix predicate on the "response_raw" field.
- func ResponseRawHasSuffix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldResponseRaw, v))
- }
- // ResponseRawIsNil applies the IsNil predicate on the "response_raw" field.
- func ResponseRawIsNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIsNull(FieldResponseRaw))
- }
- // ResponseRawNotNil applies the NotNil predicate on the "response_raw" field.
- func ResponseRawNotNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotNull(FieldResponseRaw))
- }
- // ResponseRawEqualFold applies the EqualFold predicate on the "response_raw" field.
- func ResponseRawEqualFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldResponseRaw, v))
- }
- // ResponseRawContainsFold applies the ContainsFold predicate on the "response_raw" field.
- func ResponseRawContainsFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldResponseRaw, v))
- }
- // CallbackURLEQ applies the EQ predicate on the "callback_url" field.
- func CallbackURLEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldCallbackURL, v))
- }
- // CallbackURLNEQ applies the NEQ predicate on the "callback_url" field.
- func CallbackURLNEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldCallbackURL, v))
- }
- // CallbackURLIn applies the In predicate on the "callback_url" field.
- func CallbackURLIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldCallbackURL, vs...))
- }
- // CallbackURLNotIn applies the NotIn predicate on the "callback_url" field.
- func CallbackURLNotIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldCallbackURL, vs...))
- }
- // CallbackURLGT applies the GT predicate on the "callback_url" field.
- func CallbackURLGT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldCallbackURL, v))
- }
- // CallbackURLGTE applies the GTE predicate on the "callback_url" field.
- func CallbackURLGTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldCallbackURL, v))
- }
- // CallbackURLLT applies the LT predicate on the "callback_url" field.
- func CallbackURLLT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldCallbackURL, v))
- }
- // CallbackURLLTE applies the LTE predicate on the "callback_url" field.
- func CallbackURLLTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldCallbackURL, v))
- }
- // CallbackURLContains applies the Contains predicate on the "callback_url" field.
- func CallbackURLContains(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContains(FieldCallbackURL, v))
- }
- // CallbackURLHasPrefix applies the HasPrefix predicate on the "callback_url" field.
- func CallbackURLHasPrefix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldCallbackURL, v))
- }
- // CallbackURLHasSuffix applies the HasSuffix predicate on the "callback_url" field.
- func CallbackURLHasSuffix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldCallbackURL, v))
- }
- // CallbackURLEqualFold applies the EqualFold predicate on the "callback_url" field.
- func CallbackURLEqualFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldCallbackURL, v))
- }
- // CallbackURLContainsFold applies the ContainsFold predicate on the "callback_url" field.
- func CallbackURLContainsFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldCallbackURL, v))
- }
- // CallbackResponseRawEQ applies the EQ predicate on the "callback_response_raw" field.
- func CallbackResponseRawEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldCallbackResponseRaw, v))
- }
- // CallbackResponseRawNEQ applies the NEQ predicate on the "callback_response_raw" field.
- func CallbackResponseRawNEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldCallbackResponseRaw, v))
- }
- // CallbackResponseRawIn applies the In predicate on the "callback_response_raw" field.
- func CallbackResponseRawIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldCallbackResponseRaw, vs...))
- }
- // CallbackResponseRawNotIn applies the NotIn predicate on the "callback_response_raw" field.
- func CallbackResponseRawNotIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldCallbackResponseRaw, vs...))
- }
- // CallbackResponseRawGT applies the GT predicate on the "callback_response_raw" field.
- func CallbackResponseRawGT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldCallbackResponseRaw, v))
- }
- // CallbackResponseRawGTE applies the GTE predicate on the "callback_response_raw" field.
- func CallbackResponseRawGTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldCallbackResponseRaw, v))
- }
- // CallbackResponseRawLT applies the LT predicate on the "callback_response_raw" field.
- func CallbackResponseRawLT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldCallbackResponseRaw, v))
- }
- // CallbackResponseRawLTE applies the LTE predicate on the "callback_response_raw" field.
- func CallbackResponseRawLTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldCallbackResponseRaw, v))
- }
- // CallbackResponseRawContains applies the Contains predicate on the "callback_response_raw" field.
- func CallbackResponseRawContains(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContains(FieldCallbackResponseRaw, v))
- }
- // CallbackResponseRawHasPrefix applies the HasPrefix predicate on the "callback_response_raw" field.
- func CallbackResponseRawHasPrefix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldCallbackResponseRaw, v))
- }
- // CallbackResponseRawHasSuffix applies the HasSuffix predicate on the "callback_response_raw" field.
- func CallbackResponseRawHasSuffix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldCallbackResponseRaw, v))
- }
- // CallbackResponseRawIsNil applies the IsNil predicate on the "callback_response_raw" field.
- func CallbackResponseRawIsNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIsNull(FieldCallbackResponseRaw))
- }
- // CallbackResponseRawNotNil applies the NotNil predicate on the "callback_response_raw" field.
- func CallbackResponseRawNotNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotNull(FieldCallbackResponseRaw))
- }
- // CallbackResponseRawEqualFold applies the EqualFold predicate on the "callback_response_raw" field.
- func CallbackResponseRawEqualFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldCallbackResponseRaw, v))
- }
- // CallbackResponseRawContainsFold applies the ContainsFold predicate on the "callback_response_raw" field.
- func CallbackResponseRawContainsFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldCallbackResponseRaw, v))
- }
- // ModelEQ applies the EQ predicate on the "model" field.
- func ModelEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldModel, v))
- }
- // ModelNEQ applies the NEQ predicate on the "model" field.
- func ModelNEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldModel, v))
- }
- // ModelIn applies the In predicate on the "model" field.
- func ModelIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldModel, vs...))
- }
- // ModelNotIn applies the NotIn predicate on the "model" field.
- func ModelNotIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldModel, vs...))
- }
- // ModelGT applies the GT predicate on the "model" field.
- func ModelGT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldModel, v))
- }
- // ModelGTE applies the GTE predicate on the "model" field.
- func ModelGTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldModel, v))
- }
- // ModelLT applies the LT predicate on the "model" field.
- func ModelLT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldModel, v))
- }
- // ModelLTE applies the LTE predicate on the "model" field.
- func ModelLTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldModel, v))
- }
- // ModelContains applies the Contains predicate on the "model" field.
- func ModelContains(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContains(FieldModel, v))
- }
- // ModelHasPrefix applies the HasPrefix predicate on the "model" field.
- func ModelHasPrefix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldModel, v))
- }
- // ModelHasSuffix applies the HasSuffix predicate on the "model" field.
- func ModelHasSuffix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldModel, v))
- }
- // ModelIsNil applies the IsNil predicate on the "model" field.
- func ModelIsNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIsNull(FieldModel))
- }
- // ModelNotNil applies the NotNil predicate on the "model" field.
- func ModelNotNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotNull(FieldModel))
- }
- // ModelEqualFold applies the EqualFold predicate on the "model" field.
- func ModelEqualFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldModel, v))
- }
- // ModelContainsFold applies the ContainsFold predicate on the "model" field.
- func ModelContainsFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldModel, v))
- }
- // TaskStatusEQ applies the EQ predicate on the "task_status" field.
- func TaskStatusEQ(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldTaskStatus, v))
- }
- // TaskStatusNEQ applies the NEQ predicate on the "task_status" field.
- func TaskStatusNEQ(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldTaskStatus, v))
- }
- // TaskStatusIn applies the In predicate on the "task_status" field.
- func TaskStatusIn(vs ...int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldTaskStatus, vs...))
- }
- // TaskStatusNotIn applies the NotIn predicate on the "task_status" field.
- func TaskStatusNotIn(vs ...int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldTaskStatus, vs...))
- }
- // TaskStatusGT applies the GT predicate on the "task_status" field.
- func TaskStatusGT(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldTaskStatus, v))
- }
- // TaskStatusGTE applies the GTE predicate on the "task_status" field.
- func TaskStatusGTE(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldTaskStatus, v))
- }
- // TaskStatusLT applies the LT predicate on the "task_status" field.
- func TaskStatusLT(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldTaskStatus, v))
- }
- // TaskStatusLTE applies the LTE predicate on the "task_status" field.
- func TaskStatusLTE(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldTaskStatus, v))
- }
- // TaskStatusIsNil applies the IsNil predicate on the "task_status" field.
- func TaskStatusIsNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIsNull(FieldTaskStatus))
- }
- // TaskStatusNotNil applies the NotNil predicate on the "task_status" field.
- func TaskStatusNotNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotNull(FieldTaskStatus))
- }
- // RetryCountEQ applies the EQ predicate on the "retry_count" field.
- func RetryCountEQ(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldRetryCount, v))
- }
- // RetryCountNEQ applies the NEQ predicate on the "retry_count" field.
- func RetryCountNEQ(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldRetryCount, v))
- }
- // RetryCountIn applies the In predicate on the "retry_count" field.
- func RetryCountIn(vs ...int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldRetryCount, vs...))
- }
- // RetryCountNotIn applies the NotIn predicate on the "retry_count" field.
- func RetryCountNotIn(vs ...int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldRetryCount, vs...))
- }
- // RetryCountGT applies the GT predicate on the "retry_count" field.
- func RetryCountGT(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldRetryCount, v))
- }
- // RetryCountGTE applies the GTE predicate on the "retry_count" field.
- func RetryCountGTE(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldRetryCount, v))
- }
- // RetryCountLT applies the LT predicate on the "retry_count" field.
- func RetryCountLT(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldRetryCount, v))
- }
- // RetryCountLTE applies the LTE predicate on the "retry_count" field.
- func RetryCountLTE(v int8) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldRetryCount, v))
- }
- // RetryCountIsNil applies the IsNil predicate on the "retry_count" field.
- func RetryCountIsNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIsNull(FieldRetryCount))
- }
- // RetryCountNotNil applies the NotNil predicate on the "retry_count" field.
- func RetryCountNotNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotNull(FieldRetryCount))
- }
- // LastErrorEQ applies the EQ predicate on the "last_error" field.
- func LastErrorEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEQ(FieldLastError, v))
- }
- // LastErrorNEQ applies the NEQ predicate on the "last_error" field.
- func LastErrorNEQ(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNEQ(FieldLastError, v))
- }
- // LastErrorIn applies the In predicate on the "last_error" field.
- func LastErrorIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIn(FieldLastError, vs...))
- }
- // LastErrorNotIn applies the NotIn predicate on the "last_error" field.
- func LastErrorNotIn(vs ...string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotIn(FieldLastError, vs...))
- }
- // LastErrorGT applies the GT predicate on the "last_error" field.
- func LastErrorGT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGT(FieldLastError, v))
- }
- // LastErrorGTE applies the GTE predicate on the "last_error" field.
- func LastErrorGTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldGTE(FieldLastError, v))
- }
- // LastErrorLT applies the LT predicate on the "last_error" field.
- func LastErrorLT(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLT(FieldLastError, v))
- }
- // LastErrorLTE applies the LTE predicate on the "last_error" field.
- func LastErrorLTE(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldLTE(FieldLastError, v))
- }
- // LastErrorContains applies the Contains predicate on the "last_error" field.
- func LastErrorContains(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContains(FieldLastError, v))
- }
- // LastErrorHasPrefix applies the HasPrefix predicate on the "last_error" field.
- func LastErrorHasPrefix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldLastError, v))
- }
- // LastErrorHasSuffix applies the HasSuffix predicate on the "last_error" field.
- func LastErrorHasSuffix(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldLastError, v))
- }
- // LastErrorIsNil applies the IsNil predicate on the "last_error" field.
- func LastErrorIsNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldIsNull(FieldLastError))
- }
- // LastErrorNotNil applies the NotNil predicate on the "last_error" field.
- func LastErrorNotNil() predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldNotNull(FieldLastError))
- }
- // LastErrorEqualFold applies the EqualFold predicate on the "last_error" field.
- func LastErrorEqualFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldLastError, v))
- }
- // LastErrorContainsFold applies the ContainsFold predicate on the "last_error" field.
- func LastErrorContainsFold(v string) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldLastError, v))
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.CompapiAsynctask) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.CompapiAsynctask) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.CompapiAsynctask) predicate.CompapiAsynctask {
- return predicate.CompapiAsynctask(sql.NotPredicates(p))
- }
|