| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631 |
- // Code generated by ent, DO NOT EDIT.
- package usagelog
- 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.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldID, id))
- }
- // UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
- func UserID(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldUserID, v))
- }
- // APIKeyID applies equality check predicate on the "api_key_id" field. It's identical to APIKeyIDEQ.
- func APIKeyID(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldAPIKeyID, v))
- }
- // AccountID applies equality check predicate on the "account_id" field. It's identical to AccountIDEQ.
- func AccountID(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldAccountID, v))
- }
- // RequestID applies equality check predicate on the "request_id" field. It's identical to RequestIDEQ.
- func RequestID(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldRequestID, v))
- }
- // Model applies equality check predicate on the "model" field. It's identical to ModelEQ.
- func Model(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldModel, v))
- }
- // RequestedModel applies equality check predicate on the "requested_model" field. It's identical to RequestedModelEQ.
- func RequestedModel(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldRequestedModel, v))
- }
- // UpstreamModel applies equality check predicate on the "upstream_model" field. It's identical to UpstreamModelEQ.
- func UpstreamModel(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldUpstreamModel, v))
- }
- // UpstreamResponseModel applies equality check predicate on the "upstream_response_model" field. It's identical to UpstreamResponseModelEQ.
- func UpstreamResponseModel(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldUpstreamResponseModel, v))
- }
- // UpstreamModelMismatch applies equality check predicate on the "upstream_model_mismatch" field. It's identical to UpstreamModelMismatchEQ.
- func UpstreamModelMismatch(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldUpstreamModelMismatch, v))
- }
- // ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.
- func ChannelID(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldChannelID, v))
- }
- // ModelMappingChain applies equality check predicate on the "model_mapping_chain" field. It's identical to ModelMappingChainEQ.
- func ModelMappingChain(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldModelMappingChain, v))
- }
- // BillingTier applies equality check predicate on the "billing_tier" field. It's identical to BillingTierEQ.
- func BillingTier(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldBillingTier, v))
- }
- // BillingMode applies equality check predicate on the "billing_mode" field. It's identical to BillingModeEQ.
- func BillingMode(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldBillingMode, v))
- }
- // GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.
- func GroupID(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldGroupID, v))
- }
- // SubscriptionID applies equality check predicate on the "subscription_id" field. It's identical to SubscriptionIDEQ.
- func SubscriptionID(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldSubscriptionID, v))
- }
- // InputTokens applies equality check predicate on the "input_tokens" field. It's identical to InputTokensEQ.
- func InputTokens(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldInputTokens, v))
- }
- // OutputTokens applies equality check predicate on the "output_tokens" field. It's identical to OutputTokensEQ.
- func OutputTokens(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldOutputTokens, v))
- }
- // CacheCreationTokens applies equality check predicate on the "cache_creation_tokens" field. It's identical to CacheCreationTokensEQ.
- func CacheCreationTokens(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheCreationTokens, v))
- }
- // CacheReadTokens applies equality check predicate on the "cache_read_tokens" field. It's identical to CacheReadTokensEQ.
- func CacheReadTokens(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheReadTokens, v))
- }
- // CacheCreation5mTokens applies equality check predicate on the "cache_creation_5m_tokens" field. It's identical to CacheCreation5mTokensEQ.
- func CacheCreation5mTokens(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheCreation5mTokens, v))
- }
- // CacheCreation1hTokens applies equality check predicate on the "cache_creation_1h_tokens" field. It's identical to CacheCreation1hTokensEQ.
- func CacheCreation1hTokens(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheCreation1hTokens, v))
- }
- // InputCost applies equality check predicate on the "input_cost" field. It's identical to InputCostEQ.
- func InputCost(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldInputCost, v))
- }
- // OutputCost applies equality check predicate on the "output_cost" field. It's identical to OutputCostEQ.
- func OutputCost(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldOutputCost, v))
- }
- // CacheCreationCost applies equality check predicate on the "cache_creation_cost" field. It's identical to CacheCreationCostEQ.
- func CacheCreationCost(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheCreationCost, v))
- }
- // CacheReadCost applies equality check predicate on the "cache_read_cost" field. It's identical to CacheReadCostEQ.
- func CacheReadCost(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheReadCost, v))
- }
- // TotalCost applies equality check predicate on the "total_cost" field. It's identical to TotalCostEQ.
- func TotalCost(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldTotalCost, v))
- }
- // ActualCost applies equality check predicate on the "actual_cost" field. It's identical to ActualCostEQ.
- func ActualCost(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldActualCost, v))
- }
- // RateMultiplier applies equality check predicate on the "rate_multiplier" field. It's identical to RateMultiplierEQ.
- func RateMultiplier(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldRateMultiplier, v))
- }
- // LongContextBillingApplied applies equality check predicate on the "long_context_billing_applied" field. It's identical to LongContextBillingAppliedEQ.
- func LongContextBillingApplied(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldLongContextBillingApplied, v))
- }
- // AccountRateMultiplier applies equality check predicate on the "account_rate_multiplier" field. It's identical to AccountRateMultiplierEQ.
- func AccountRateMultiplier(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldAccountRateMultiplier, v))
- }
- // BillingType applies equality check predicate on the "billing_type" field. It's identical to BillingTypeEQ.
- func BillingType(v int8) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldBillingType, v))
- }
- // Stream applies equality check predicate on the "stream" field. It's identical to StreamEQ.
- func Stream(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldStream, v))
- }
- // DurationMs applies equality check predicate on the "duration_ms" field. It's identical to DurationMsEQ.
- func DurationMs(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldDurationMs, v))
- }
- // FirstTokenMs applies equality check predicate on the "first_token_ms" field. It's identical to FirstTokenMsEQ.
- func FirstTokenMs(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldFirstTokenMs, v))
- }
- // UserAgent applies equality check predicate on the "user_agent" field. It's identical to UserAgentEQ.
- func UserAgent(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldUserAgent, v))
- }
- // IPAddress applies equality check predicate on the "ip_address" field. It's identical to IPAddressEQ.
- func IPAddress(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldIPAddress, v))
- }
- // ImageCount applies equality check predicate on the "image_count" field. It's identical to ImageCountEQ.
- func ImageCount(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldImageCount, v))
- }
- // ImageSize applies equality check predicate on the "image_size" field. It's identical to ImageSizeEQ.
- func ImageSize(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldImageSize, v))
- }
- // ImageInputSize applies equality check predicate on the "image_input_size" field. It's identical to ImageInputSizeEQ.
- func ImageInputSize(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldImageInputSize, v))
- }
- // ImageOutputSize applies equality check predicate on the "image_output_size" field. It's identical to ImageOutputSizeEQ.
- func ImageOutputSize(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldImageOutputSize, v))
- }
- // ImageSizeSource applies equality check predicate on the "image_size_source" field. It's identical to ImageSizeSourceEQ.
- func ImageSizeSource(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldImageSizeSource, v))
- }
- // VideoCount applies equality check predicate on the "video_count" field. It's identical to VideoCountEQ.
- func VideoCount(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldVideoCount, v))
- }
- // VideoResolution applies equality check predicate on the "video_resolution" field. It's identical to VideoResolutionEQ.
- func VideoResolution(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldVideoResolution, v))
- }
- // VideoDurationSeconds applies equality check predicate on the "video_duration_seconds" field. It's identical to VideoDurationSecondsEQ.
- func VideoDurationSeconds(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldVideoDurationSeconds, v))
- }
- // CacheTTLOverridden applies equality check predicate on the "cache_ttl_overridden" field. It's identical to CacheTTLOverriddenEQ.
- func CacheTTLOverridden(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheTTLOverridden, v))
- }
- // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
- func CreatedAt(v time.Time) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCreatedAt, v))
- }
- // UserIDEQ applies the EQ predicate on the "user_id" field.
- func UserIDEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldUserID, v))
- }
- // UserIDNEQ applies the NEQ predicate on the "user_id" field.
- func UserIDNEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldUserID, v))
- }
- // UserIDIn applies the In predicate on the "user_id" field.
- func UserIDIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldUserID, vs...))
- }
- // UserIDNotIn applies the NotIn predicate on the "user_id" field.
- func UserIDNotIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldUserID, vs...))
- }
- // APIKeyIDEQ applies the EQ predicate on the "api_key_id" field.
- func APIKeyIDEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldAPIKeyID, v))
- }
- // APIKeyIDNEQ applies the NEQ predicate on the "api_key_id" field.
- func APIKeyIDNEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldAPIKeyID, v))
- }
- // APIKeyIDIn applies the In predicate on the "api_key_id" field.
- func APIKeyIDIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldAPIKeyID, vs...))
- }
- // APIKeyIDNotIn applies the NotIn predicate on the "api_key_id" field.
- func APIKeyIDNotIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldAPIKeyID, vs...))
- }
- // AccountIDEQ applies the EQ predicate on the "account_id" field.
- func AccountIDEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldAccountID, v))
- }
- // AccountIDNEQ applies the NEQ predicate on the "account_id" field.
- func AccountIDNEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldAccountID, v))
- }
- // AccountIDIn applies the In predicate on the "account_id" field.
- func AccountIDIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldAccountID, vs...))
- }
- // AccountIDNotIn applies the NotIn predicate on the "account_id" field.
- func AccountIDNotIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldAccountID, vs...))
- }
- // RequestIDEQ applies the EQ predicate on the "request_id" field.
- func RequestIDEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldRequestID, v))
- }
- // RequestIDNEQ applies the NEQ predicate on the "request_id" field.
- func RequestIDNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldRequestID, v))
- }
- // RequestIDIn applies the In predicate on the "request_id" field.
- func RequestIDIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldRequestID, vs...))
- }
- // RequestIDNotIn applies the NotIn predicate on the "request_id" field.
- func RequestIDNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldRequestID, vs...))
- }
- // RequestIDGT applies the GT predicate on the "request_id" field.
- func RequestIDGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldRequestID, v))
- }
- // RequestIDGTE applies the GTE predicate on the "request_id" field.
- func RequestIDGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldRequestID, v))
- }
- // RequestIDLT applies the LT predicate on the "request_id" field.
- func RequestIDLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldRequestID, v))
- }
- // RequestIDLTE applies the LTE predicate on the "request_id" field.
- func RequestIDLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldRequestID, v))
- }
- // RequestIDContains applies the Contains predicate on the "request_id" field.
- func RequestIDContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldRequestID, v))
- }
- // RequestIDHasPrefix applies the HasPrefix predicate on the "request_id" field.
- func RequestIDHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldRequestID, v))
- }
- // RequestIDHasSuffix applies the HasSuffix predicate on the "request_id" field.
- func RequestIDHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldRequestID, v))
- }
- // RequestIDEqualFold applies the EqualFold predicate on the "request_id" field.
- func RequestIDEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldRequestID, v))
- }
- // RequestIDContainsFold applies the ContainsFold predicate on the "request_id" field.
- func RequestIDContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldRequestID, v))
- }
- // ModelEQ applies the EQ predicate on the "model" field.
- func ModelEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldModel, v))
- }
- // ModelNEQ applies the NEQ predicate on the "model" field.
- func ModelNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldModel, v))
- }
- // ModelIn applies the In predicate on the "model" field.
- func ModelIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldModel, vs...))
- }
- // ModelNotIn applies the NotIn predicate on the "model" field.
- func ModelNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldModel, vs...))
- }
- // ModelGT applies the GT predicate on the "model" field.
- func ModelGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldModel, v))
- }
- // ModelGTE applies the GTE predicate on the "model" field.
- func ModelGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldModel, v))
- }
- // ModelLT applies the LT predicate on the "model" field.
- func ModelLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldModel, v))
- }
- // ModelLTE applies the LTE predicate on the "model" field.
- func ModelLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldModel, v))
- }
- // ModelContains applies the Contains predicate on the "model" field.
- func ModelContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldModel, v))
- }
- // ModelHasPrefix applies the HasPrefix predicate on the "model" field.
- func ModelHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldModel, v))
- }
- // ModelHasSuffix applies the HasSuffix predicate on the "model" field.
- func ModelHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldModel, v))
- }
- // ModelEqualFold applies the EqualFold predicate on the "model" field.
- func ModelEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldModel, v))
- }
- // ModelContainsFold applies the ContainsFold predicate on the "model" field.
- func ModelContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldModel, v))
- }
- // RequestedModelEQ applies the EQ predicate on the "requested_model" field.
- func RequestedModelEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldRequestedModel, v))
- }
- // RequestedModelNEQ applies the NEQ predicate on the "requested_model" field.
- func RequestedModelNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldRequestedModel, v))
- }
- // RequestedModelIn applies the In predicate on the "requested_model" field.
- func RequestedModelIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldRequestedModel, vs...))
- }
- // RequestedModelNotIn applies the NotIn predicate on the "requested_model" field.
- func RequestedModelNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldRequestedModel, vs...))
- }
- // RequestedModelGT applies the GT predicate on the "requested_model" field.
- func RequestedModelGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldRequestedModel, v))
- }
- // RequestedModelGTE applies the GTE predicate on the "requested_model" field.
- func RequestedModelGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldRequestedModel, v))
- }
- // RequestedModelLT applies the LT predicate on the "requested_model" field.
- func RequestedModelLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldRequestedModel, v))
- }
- // RequestedModelLTE applies the LTE predicate on the "requested_model" field.
- func RequestedModelLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldRequestedModel, v))
- }
- // RequestedModelContains applies the Contains predicate on the "requested_model" field.
- func RequestedModelContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldRequestedModel, v))
- }
- // RequestedModelHasPrefix applies the HasPrefix predicate on the "requested_model" field.
- func RequestedModelHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldRequestedModel, v))
- }
- // RequestedModelHasSuffix applies the HasSuffix predicate on the "requested_model" field.
- func RequestedModelHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldRequestedModel, v))
- }
- // RequestedModelIsNil applies the IsNil predicate on the "requested_model" field.
- func RequestedModelIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldRequestedModel))
- }
- // RequestedModelNotNil applies the NotNil predicate on the "requested_model" field.
- func RequestedModelNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldRequestedModel))
- }
- // RequestedModelEqualFold applies the EqualFold predicate on the "requested_model" field.
- func RequestedModelEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldRequestedModel, v))
- }
- // RequestedModelContainsFold applies the ContainsFold predicate on the "requested_model" field.
- func RequestedModelContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldRequestedModel, v))
- }
- // UpstreamModelEQ applies the EQ predicate on the "upstream_model" field.
- func UpstreamModelEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldUpstreamModel, v))
- }
- // UpstreamModelNEQ applies the NEQ predicate on the "upstream_model" field.
- func UpstreamModelNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldUpstreamModel, v))
- }
- // UpstreamModelIn applies the In predicate on the "upstream_model" field.
- func UpstreamModelIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldUpstreamModel, vs...))
- }
- // UpstreamModelNotIn applies the NotIn predicate on the "upstream_model" field.
- func UpstreamModelNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldUpstreamModel, vs...))
- }
- // UpstreamModelGT applies the GT predicate on the "upstream_model" field.
- func UpstreamModelGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldUpstreamModel, v))
- }
- // UpstreamModelGTE applies the GTE predicate on the "upstream_model" field.
- func UpstreamModelGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldUpstreamModel, v))
- }
- // UpstreamModelLT applies the LT predicate on the "upstream_model" field.
- func UpstreamModelLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldUpstreamModel, v))
- }
- // UpstreamModelLTE applies the LTE predicate on the "upstream_model" field.
- func UpstreamModelLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldUpstreamModel, v))
- }
- // UpstreamModelContains applies the Contains predicate on the "upstream_model" field.
- func UpstreamModelContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldUpstreamModel, v))
- }
- // UpstreamModelHasPrefix applies the HasPrefix predicate on the "upstream_model" field.
- func UpstreamModelHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldUpstreamModel, v))
- }
- // UpstreamModelHasSuffix applies the HasSuffix predicate on the "upstream_model" field.
- func UpstreamModelHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldUpstreamModel, v))
- }
- // UpstreamModelIsNil applies the IsNil predicate on the "upstream_model" field.
- func UpstreamModelIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldUpstreamModel))
- }
- // UpstreamModelNotNil applies the NotNil predicate on the "upstream_model" field.
- func UpstreamModelNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldUpstreamModel))
- }
- // UpstreamModelEqualFold applies the EqualFold predicate on the "upstream_model" field.
- func UpstreamModelEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldUpstreamModel, v))
- }
- // UpstreamModelContainsFold applies the ContainsFold predicate on the "upstream_model" field.
- func UpstreamModelContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldUpstreamModel, v))
- }
- // UpstreamResponseModelEQ applies the EQ predicate on the "upstream_response_model" field.
- func UpstreamResponseModelEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldUpstreamResponseModel, v))
- }
- // UpstreamResponseModelNEQ applies the NEQ predicate on the "upstream_response_model" field.
- func UpstreamResponseModelNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldUpstreamResponseModel, v))
- }
- // UpstreamResponseModelIn applies the In predicate on the "upstream_response_model" field.
- func UpstreamResponseModelIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldUpstreamResponseModel, vs...))
- }
- // UpstreamResponseModelNotIn applies the NotIn predicate on the "upstream_response_model" field.
- func UpstreamResponseModelNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldUpstreamResponseModel, vs...))
- }
- // UpstreamResponseModelGT applies the GT predicate on the "upstream_response_model" field.
- func UpstreamResponseModelGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldUpstreamResponseModel, v))
- }
- // UpstreamResponseModelGTE applies the GTE predicate on the "upstream_response_model" field.
- func UpstreamResponseModelGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldUpstreamResponseModel, v))
- }
- // UpstreamResponseModelLT applies the LT predicate on the "upstream_response_model" field.
- func UpstreamResponseModelLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldUpstreamResponseModel, v))
- }
- // UpstreamResponseModelLTE applies the LTE predicate on the "upstream_response_model" field.
- func UpstreamResponseModelLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldUpstreamResponseModel, v))
- }
- // UpstreamResponseModelContains applies the Contains predicate on the "upstream_response_model" field.
- func UpstreamResponseModelContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldUpstreamResponseModel, v))
- }
- // UpstreamResponseModelHasPrefix applies the HasPrefix predicate on the "upstream_response_model" field.
- func UpstreamResponseModelHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldUpstreamResponseModel, v))
- }
- // UpstreamResponseModelHasSuffix applies the HasSuffix predicate on the "upstream_response_model" field.
- func UpstreamResponseModelHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldUpstreamResponseModel, v))
- }
- // UpstreamResponseModelIsNil applies the IsNil predicate on the "upstream_response_model" field.
- func UpstreamResponseModelIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldUpstreamResponseModel))
- }
- // UpstreamResponseModelNotNil applies the NotNil predicate on the "upstream_response_model" field.
- func UpstreamResponseModelNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldUpstreamResponseModel))
- }
- // UpstreamResponseModelEqualFold applies the EqualFold predicate on the "upstream_response_model" field.
- func UpstreamResponseModelEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldUpstreamResponseModel, v))
- }
- // UpstreamResponseModelContainsFold applies the ContainsFold predicate on the "upstream_response_model" field.
- func UpstreamResponseModelContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldUpstreamResponseModel, v))
- }
- // UpstreamModelMismatchEQ applies the EQ predicate on the "upstream_model_mismatch" field.
- func UpstreamModelMismatchEQ(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldUpstreamModelMismatch, v))
- }
- // UpstreamModelMismatchNEQ applies the NEQ predicate on the "upstream_model_mismatch" field.
- func UpstreamModelMismatchNEQ(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldUpstreamModelMismatch, v))
- }
- // UpstreamModelMismatchIsNil applies the IsNil predicate on the "upstream_model_mismatch" field.
- func UpstreamModelMismatchIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldUpstreamModelMismatch))
- }
- // UpstreamModelMismatchNotNil applies the NotNil predicate on the "upstream_model_mismatch" field.
- func UpstreamModelMismatchNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldUpstreamModelMismatch))
- }
- // ChannelIDEQ applies the EQ predicate on the "channel_id" field.
- func ChannelIDEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldChannelID, v))
- }
- // ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.
- func ChannelIDNEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldChannelID, v))
- }
- // ChannelIDIn applies the In predicate on the "channel_id" field.
- func ChannelIDIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldChannelID, vs...))
- }
- // ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.
- func ChannelIDNotIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldChannelID, vs...))
- }
- // ChannelIDGT applies the GT predicate on the "channel_id" field.
- func ChannelIDGT(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldChannelID, v))
- }
- // ChannelIDGTE applies the GTE predicate on the "channel_id" field.
- func ChannelIDGTE(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldChannelID, v))
- }
- // ChannelIDLT applies the LT predicate on the "channel_id" field.
- func ChannelIDLT(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldChannelID, v))
- }
- // ChannelIDLTE applies the LTE predicate on the "channel_id" field.
- func ChannelIDLTE(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldChannelID, v))
- }
- // ChannelIDIsNil applies the IsNil predicate on the "channel_id" field.
- func ChannelIDIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldChannelID))
- }
- // ChannelIDNotNil applies the NotNil predicate on the "channel_id" field.
- func ChannelIDNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldChannelID))
- }
- // ModelMappingChainEQ applies the EQ predicate on the "model_mapping_chain" field.
- func ModelMappingChainEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldModelMappingChain, v))
- }
- // ModelMappingChainNEQ applies the NEQ predicate on the "model_mapping_chain" field.
- func ModelMappingChainNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldModelMappingChain, v))
- }
- // ModelMappingChainIn applies the In predicate on the "model_mapping_chain" field.
- func ModelMappingChainIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldModelMappingChain, vs...))
- }
- // ModelMappingChainNotIn applies the NotIn predicate on the "model_mapping_chain" field.
- func ModelMappingChainNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldModelMappingChain, vs...))
- }
- // ModelMappingChainGT applies the GT predicate on the "model_mapping_chain" field.
- func ModelMappingChainGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldModelMappingChain, v))
- }
- // ModelMappingChainGTE applies the GTE predicate on the "model_mapping_chain" field.
- func ModelMappingChainGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldModelMappingChain, v))
- }
- // ModelMappingChainLT applies the LT predicate on the "model_mapping_chain" field.
- func ModelMappingChainLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldModelMappingChain, v))
- }
- // ModelMappingChainLTE applies the LTE predicate on the "model_mapping_chain" field.
- func ModelMappingChainLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldModelMappingChain, v))
- }
- // ModelMappingChainContains applies the Contains predicate on the "model_mapping_chain" field.
- func ModelMappingChainContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldModelMappingChain, v))
- }
- // ModelMappingChainHasPrefix applies the HasPrefix predicate on the "model_mapping_chain" field.
- func ModelMappingChainHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldModelMappingChain, v))
- }
- // ModelMappingChainHasSuffix applies the HasSuffix predicate on the "model_mapping_chain" field.
- func ModelMappingChainHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldModelMappingChain, v))
- }
- // ModelMappingChainIsNil applies the IsNil predicate on the "model_mapping_chain" field.
- func ModelMappingChainIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldModelMappingChain))
- }
- // ModelMappingChainNotNil applies the NotNil predicate on the "model_mapping_chain" field.
- func ModelMappingChainNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldModelMappingChain))
- }
- // ModelMappingChainEqualFold applies the EqualFold predicate on the "model_mapping_chain" field.
- func ModelMappingChainEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldModelMappingChain, v))
- }
- // ModelMappingChainContainsFold applies the ContainsFold predicate on the "model_mapping_chain" field.
- func ModelMappingChainContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldModelMappingChain, v))
- }
- // BillingTierEQ applies the EQ predicate on the "billing_tier" field.
- func BillingTierEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldBillingTier, v))
- }
- // BillingTierNEQ applies the NEQ predicate on the "billing_tier" field.
- func BillingTierNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldBillingTier, v))
- }
- // BillingTierIn applies the In predicate on the "billing_tier" field.
- func BillingTierIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldBillingTier, vs...))
- }
- // BillingTierNotIn applies the NotIn predicate on the "billing_tier" field.
- func BillingTierNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldBillingTier, vs...))
- }
- // BillingTierGT applies the GT predicate on the "billing_tier" field.
- func BillingTierGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldBillingTier, v))
- }
- // BillingTierGTE applies the GTE predicate on the "billing_tier" field.
- func BillingTierGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldBillingTier, v))
- }
- // BillingTierLT applies the LT predicate on the "billing_tier" field.
- func BillingTierLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldBillingTier, v))
- }
- // BillingTierLTE applies the LTE predicate on the "billing_tier" field.
- func BillingTierLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldBillingTier, v))
- }
- // BillingTierContains applies the Contains predicate on the "billing_tier" field.
- func BillingTierContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldBillingTier, v))
- }
- // BillingTierHasPrefix applies the HasPrefix predicate on the "billing_tier" field.
- func BillingTierHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldBillingTier, v))
- }
- // BillingTierHasSuffix applies the HasSuffix predicate on the "billing_tier" field.
- func BillingTierHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldBillingTier, v))
- }
- // BillingTierIsNil applies the IsNil predicate on the "billing_tier" field.
- func BillingTierIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldBillingTier))
- }
- // BillingTierNotNil applies the NotNil predicate on the "billing_tier" field.
- func BillingTierNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldBillingTier))
- }
- // BillingTierEqualFold applies the EqualFold predicate on the "billing_tier" field.
- func BillingTierEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldBillingTier, v))
- }
- // BillingTierContainsFold applies the ContainsFold predicate on the "billing_tier" field.
- func BillingTierContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldBillingTier, v))
- }
- // BillingModeEQ applies the EQ predicate on the "billing_mode" field.
- func BillingModeEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldBillingMode, v))
- }
- // BillingModeNEQ applies the NEQ predicate on the "billing_mode" field.
- func BillingModeNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldBillingMode, v))
- }
- // BillingModeIn applies the In predicate on the "billing_mode" field.
- func BillingModeIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldBillingMode, vs...))
- }
- // BillingModeNotIn applies the NotIn predicate on the "billing_mode" field.
- func BillingModeNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldBillingMode, vs...))
- }
- // BillingModeGT applies the GT predicate on the "billing_mode" field.
- func BillingModeGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldBillingMode, v))
- }
- // BillingModeGTE applies the GTE predicate on the "billing_mode" field.
- func BillingModeGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldBillingMode, v))
- }
- // BillingModeLT applies the LT predicate on the "billing_mode" field.
- func BillingModeLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldBillingMode, v))
- }
- // BillingModeLTE applies the LTE predicate on the "billing_mode" field.
- func BillingModeLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldBillingMode, v))
- }
- // BillingModeContains applies the Contains predicate on the "billing_mode" field.
- func BillingModeContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldBillingMode, v))
- }
- // BillingModeHasPrefix applies the HasPrefix predicate on the "billing_mode" field.
- func BillingModeHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldBillingMode, v))
- }
- // BillingModeHasSuffix applies the HasSuffix predicate on the "billing_mode" field.
- func BillingModeHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldBillingMode, v))
- }
- // BillingModeIsNil applies the IsNil predicate on the "billing_mode" field.
- func BillingModeIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldBillingMode))
- }
- // BillingModeNotNil applies the NotNil predicate on the "billing_mode" field.
- func BillingModeNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldBillingMode))
- }
- // BillingModeEqualFold applies the EqualFold predicate on the "billing_mode" field.
- func BillingModeEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldBillingMode, v))
- }
- // BillingModeContainsFold applies the ContainsFold predicate on the "billing_mode" field.
- func BillingModeContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldBillingMode, v))
- }
- // GroupIDEQ applies the EQ predicate on the "group_id" field.
- func GroupIDEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldGroupID, v))
- }
- // GroupIDNEQ applies the NEQ predicate on the "group_id" field.
- func GroupIDNEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldGroupID, v))
- }
- // GroupIDIn applies the In predicate on the "group_id" field.
- func GroupIDIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldGroupID, vs...))
- }
- // GroupIDNotIn applies the NotIn predicate on the "group_id" field.
- func GroupIDNotIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldGroupID, vs...))
- }
- // GroupIDIsNil applies the IsNil predicate on the "group_id" field.
- func GroupIDIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldGroupID))
- }
- // GroupIDNotNil applies the NotNil predicate on the "group_id" field.
- func GroupIDNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldGroupID))
- }
- // SubscriptionIDEQ applies the EQ predicate on the "subscription_id" field.
- func SubscriptionIDEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldSubscriptionID, v))
- }
- // SubscriptionIDNEQ applies the NEQ predicate on the "subscription_id" field.
- func SubscriptionIDNEQ(v int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldSubscriptionID, v))
- }
- // SubscriptionIDIn applies the In predicate on the "subscription_id" field.
- func SubscriptionIDIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldSubscriptionID, vs...))
- }
- // SubscriptionIDNotIn applies the NotIn predicate on the "subscription_id" field.
- func SubscriptionIDNotIn(vs ...int64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldSubscriptionID, vs...))
- }
- // SubscriptionIDIsNil applies the IsNil predicate on the "subscription_id" field.
- func SubscriptionIDIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldSubscriptionID))
- }
- // SubscriptionIDNotNil applies the NotNil predicate on the "subscription_id" field.
- func SubscriptionIDNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldSubscriptionID))
- }
- // InputTokensEQ applies the EQ predicate on the "input_tokens" field.
- func InputTokensEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldInputTokens, v))
- }
- // InputTokensNEQ applies the NEQ predicate on the "input_tokens" field.
- func InputTokensNEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldInputTokens, v))
- }
- // InputTokensIn applies the In predicate on the "input_tokens" field.
- func InputTokensIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldInputTokens, vs...))
- }
- // InputTokensNotIn applies the NotIn predicate on the "input_tokens" field.
- func InputTokensNotIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldInputTokens, vs...))
- }
- // InputTokensGT applies the GT predicate on the "input_tokens" field.
- func InputTokensGT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldInputTokens, v))
- }
- // InputTokensGTE applies the GTE predicate on the "input_tokens" field.
- func InputTokensGTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldInputTokens, v))
- }
- // InputTokensLT applies the LT predicate on the "input_tokens" field.
- func InputTokensLT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldInputTokens, v))
- }
- // InputTokensLTE applies the LTE predicate on the "input_tokens" field.
- func InputTokensLTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldInputTokens, v))
- }
- // OutputTokensEQ applies the EQ predicate on the "output_tokens" field.
- func OutputTokensEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldOutputTokens, v))
- }
- // OutputTokensNEQ applies the NEQ predicate on the "output_tokens" field.
- func OutputTokensNEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldOutputTokens, v))
- }
- // OutputTokensIn applies the In predicate on the "output_tokens" field.
- func OutputTokensIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldOutputTokens, vs...))
- }
- // OutputTokensNotIn applies the NotIn predicate on the "output_tokens" field.
- func OutputTokensNotIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldOutputTokens, vs...))
- }
- // OutputTokensGT applies the GT predicate on the "output_tokens" field.
- func OutputTokensGT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldOutputTokens, v))
- }
- // OutputTokensGTE applies the GTE predicate on the "output_tokens" field.
- func OutputTokensGTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldOutputTokens, v))
- }
- // OutputTokensLT applies the LT predicate on the "output_tokens" field.
- func OutputTokensLT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldOutputTokens, v))
- }
- // OutputTokensLTE applies the LTE predicate on the "output_tokens" field.
- func OutputTokensLTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldOutputTokens, v))
- }
- // CacheCreationTokensEQ applies the EQ predicate on the "cache_creation_tokens" field.
- func CacheCreationTokensEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheCreationTokens, v))
- }
- // CacheCreationTokensNEQ applies the NEQ predicate on the "cache_creation_tokens" field.
- func CacheCreationTokensNEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldCacheCreationTokens, v))
- }
- // CacheCreationTokensIn applies the In predicate on the "cache_creation_tokens" field.
- func CacheCreationTokensIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldCacheCreationTokens, vs...))
- }
- // CacheCreationTokensNotIn applies the NotIn predicate on the "cache_creation_tokens" field.
- func CacheCreationTokensNotIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldCacheCreationTokens, vs...))
- }
- // CacheCreationTokensGT applies the GT predicate on the "cache_creation_tokens" field.
- func CacheCreationTokensGT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldCacheCreationTokens, v))
- }
- // CacheCreationTokensGTE applies the GTE predicate on the "cache_creation_tokens" field.
- func CacheCreationTokensGTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldCacheCreationTokens, v))
- }
- // CacheCreationTokensLT applies the LT predicate on the "cache_creation_tokens" field.
- func CacheCreationTokensLT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldCacheCreationTokens, v))
- }
- // CacheCreationTokensLTE applies the LTE predicate on the "cache_creation_tokens" field.
- func CacheCreationTokensLTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldCacheCreationTokens, v))
- }
- // CacheReadTokensEQ applies the EQ predicate on the "cache_read_tokens" field.
- func CacheReadTokensEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheReadTokens, v))
- }
- // CacheReadTokensNEQ applies the NEQ predicate on the "cache_read_tokens" field.
- func CacheReadTokensNEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldCacheReadTokens, v))
- }
- // CacheReadTokensIn applies the In predicate on the "cache_read_tokens" field.
- func CacheReadTokensIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldCacheReadTokens, vs...))
- }
- // CacheReadTokensNotIn applies the NotIn predicate on the "cache_read_tokens" field.
- func CacheReadTokensNotIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldCacheReadTokens, vs...))
- }
- // CacheReadTokensGT applies the GT predicate on the "cache_read_tokens" field.
- func CacheReadTokensGT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldCacheReadTokens, v))
- }
- // CacheReadTokensGTE applies the GTE predicate on the "cache_read_tokens" field.
- func CacheReadTokensGTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldCacheReadTokens, v))
- }
- // CacheReadTokensLT applies the LT predicate on the "cache_read_tokens" field.
- func CacheReadTokensLT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldCacheReadTokens, v))
- }
- // CacheReadTokensLTE applies the LTE predicate on the "cache_read_tokens" field.
- func CacheReadTokensLTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldCacheReadTokens, v))
- }
- // CacheCreation5mTokensEQ applies the EQ predicate on the "cache_creation_5m_tokens" field.
- func CacheCreation5mTokensEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheCreation5mTokens, v))
- }
- // CacheCreation5mTokensNEQ applies the NEQ predicate on the "cache_creation_5m_tokens" field.
- func CacheCreation5mTokensNEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldCacheCreation5mTokens, v))
- }
- // CacheCreation5mTokensIn applies the In predicate on the "cache_creation_5m_tokens" field.
- func CacheCreation5mTokensIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldCacheCreation5mTokens, vs...))
- }
- // CacheCreation5mTokensNotIn applies the NotIn predicate on the "cache_creation_5m_tokens" field.
- func CacheCreation5mTokensNotIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldCacheCreation5mTokens, vs...))
- }
- // CacheCreation5mTokensGT applies the GT predicate on the "cache_creation_5m_tokens" field.
- func CacheCreation5mTokensGT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldCacheCreation5mTokens, v))
- }
- // CacheCreation5mTokensGTE applies the GTE predicate on the "cache_creation_5m_tokens" field.
- func CacheCreation5mTokensGTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldCacheCreation5mTokens, v))
- }
- // CacheCreation5mTokensLT applies the LT predicate on the "cache_creation_5m_tokens" field.
- func CacheCreation5mTokensLT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldCacheCreation5mTokens, v))
- }
- // CacheCreation5mTokensLTE applies the LTE predicate on the "cache_creation_5m_tokens" field.
- func CacheCreation5mTokensLTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldCacheCreation5mTokens, v))
- }
- // CacheCreation1hTokensEQ applies the EQ predicate on the "cache_creation_1h_tokens" field.
- func CacheCreation1hTokensEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheCreation1hTokens, v))
- }
- // CacheCreation1hTokensNEQ applies the NEQ predicate on the "cache_creation_1h_tokens" field.
- func CacheCreation1hTokensNEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldCacheCreation1hTokens, v))
- }
- // CacheCreation1hTokensIn applies the In predicate on the "cache_creation_1h_tokens" field.
- func CacheCreation1hTokensIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldCacheCreation1hTokens, vs...))
- }
- // CacheCreation1hTokensNotIn applies the NotIn predicate on the "cache_creation_1h_tokens" field.
- func CacheCreation1hTokensNotIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldCacheCreation1hTokens, vs...))
- }
- // CacheCreation1hTokensGT applies the GT predicate on the "cache_creation_1h_tokens" field.
- func CacheCreation1hTokensGT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldCacheCreation1hTokens, v))
- }
- // CacheCreation1hTokensGTE applies the GTE predicate on the "cache_creation_1h_tokens" field.
- func CacheCreation1hTokensGTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldCacheCreation1hTokens, v))
- }
- // CacheCreation1hTokensLT applies the LT predicate on the "cache_creation_1h_tokens" field.
- func CacheCreation1hTokensLT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldCacheCreation1hTokens, v))
- }
- // CacheCreation1hTokensLTE applies the LTE predicate on the "cache_creation_1h_tokens" field.
- func CacheCreation1hTokensLTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldCacheCreation1hTokens, v))
- }
- // InputCostEQ applies the EQ predicate on the "input_cost" field.
- func InputCostEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldInputCost, v))
- }
- // InputCostNEQ applies the NEQ predicate on the "input_cost" field.
- func InputCostNEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldInputCost, v))
- }
- // InputCostIn applies the In predicate on the "input_cost" field.
- func InputCostIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldInputCost, vs...))
- }
- // InputCostNotIn applies the NotIn predicate on the "input_cost" field.
- func InputCostNotIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldInputCost, vs...))
- }
- // InputCostGT applies the GT predicate on the "input_cost" field.
- func InputCostGT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldInputCost, v))
- }
- // InputCostGTE applies the GTE predicate on the "input_cost" field.
- func InputCostGTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldInputCost, v))
- }
- // InputCostLT applies the LT predicate on the "input_cost" field.
- func InputCostLT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldInputCost, v))
- }
- // InputCostLTE applies the LTE predicate on the "input_cost" field.
- func InputCostLTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldInputCost, v))
- }
- // OutputCostEQ applies the EQ predicate on the "output_cost" field.
- func OutputCostEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldOutputCost, v))
- }
- // OutputCostNEQ applies the NEQ predicate on the "output_cost" field.
- func OutputCostNEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldOutputCost, v))
- }
- // OutputCostIn applies the In predicate on the "output_cost" field.
- func OutputCostIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldOutputCost, vs...))
- }
- // OutputCostNotIn applies the NotIn predicate on the "output_cost" field.
- func OutputCostNotIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldOutputCost, vs...))
- }
- // OutputCostGT applies the GT predicate on the "output_cost" field.
- func OutputCostGT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldOutputCost, v))
- }
- // OutputCostGTE applies the GTE predicate on the "output_cost" field.
- func OutputCostGTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldOutputCost, v))
- }
- // OutputCostLT applies the LT predicate on the "output_cost" field.
- func OutputCostLT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldOutputCost, v))
- }
- // OutputCostLTE applies the LTE predicate on the "output_cost" field.
- func OutputCostLTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldOutputCost, v))
- }
- // CacheCreationCostEQ applies the EQ predicate on the "cache_creation_cost" field.
- func CacheCreationCostEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheCreationCost, v))
- }
- // CacheCreationCostNEQ applies the NEQ predicate on the "cache_creation_cost" field.
- func CacheCreationCostNEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldCacheCreationCost, v))
- }
- // CacheCreationCostIn applies the In predicate on the "cache_creation_cost" field.
- func CacheCreationCostIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldCacheCreationCost, vs...))
- }
- // CacheCreationCostNotIn applies the NotIn predicate on the "cache_creation_cost" field.
- func CacheCreationCostNotIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldCacheCreationCost, vs...))
- }
- // CacheCreationCostGT applies the GT predicate on the "cache_creation_cost" field.
- func CacheCreationCostGT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldCacheCreationCost, v))
- }
- // CacheCreationCostGTE applies the GTE predicate on the "cache_creation_cost" field.
- func CacheCreationCostGTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldCacheCreationCost, v))
- }
- // CacheCreationCostLT applies the LT predicate on the "cache_creation_cost" field.
- func CacheCreationCostLT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldCacheCreationCost, v))
- }
- // CacheCreationCostLTE applies the LTE predicate on the "cache_creation_cost" field.
- func CacheCreationCostLTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldCacheCreationCost, v))
- }
- // CacheReadCostEQ applies the EQ predicate on the "cache_read_cost" field.
- func CacheReadCostEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheReadCost, v))
- }
- // CacheReadCostNEQ applies the NEQ predicate on the "cache_read_cost" field.
- func CacheReadCostNEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldCacheReadCost, v))
- }
- // CacheReadCostIn applies the In predicate on the "cache_read_cost" field.
- func CacheReadCostIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldCacheReadCost, vs...))
- }
- // CacheReadCostNotIn applies the NotIn predicate on the "cache_read_cost" field.
- func CacheReadCostNotIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldCacheReadCost, vs...))
- }
- // CacheReadCostGT applies the GT predicate on the "cache_read_cost" field.
- func CacheReadCostGT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldCacheReadCost, v))
- }
- // CacheReadCostGTE applies the GTE predicate on the "cache_read_cost" field.
- func CacheReadCostGTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldCacheReadCost, v))
- }
- // CacheReadCostLT applies the LT predicate on the "cache_read_cost" field.
- func CacheReadCostLT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldCacheReadCost, v))
- }
- // CacheReadCostLTE applies the LTE predicate on the "cache_read_cost" field.
- func CacheReadCostLTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldCacheReadCost, v))
- }
- // TotalCostEQ applies the EQ predicate on the "total_cost" field.
- func TotalCostEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldTotalCost, v))
- }
- // TotalCostNEQ applies the NEQ predicate on the "total_cost" field.
- func TotalCostNEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldTotalCost, v))
- }
- // TotalCostIn applies the In predicate on the "total_cost" field.
- func TotalCostIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldTotalCost, vs...))
- }
- // TotalCostNotIn applies the NotIn predicate on the "total_cost" field.
- func TotalCostNotIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldTotalCost, vs...))
- }
- // TotalCostGT applies the GT predicate on the "total_cost" field.
- func TotalCostGT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldTotalCost, v))
- }
- // TotalCostGTE applies the GTE predicate on the "total_cost" field.
- func TotalCostGTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldTotalCost, v))
- }
- // TotalCostLT applies the LT predicate on the "total_cost" field.
- func TotalCostLT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldTotalCost, v))
- }
- // TotalCostLTE applies the LTE predicate on the "total_cost" field.
- func TotalCostLTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldTotalCost, v))
- }
- // ActualCostEQ applies the EQ predicate on the "actual_cost" field.
- func ActualCostEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldActualCost, v))
- }
- // ActualCostNEQ applies the NEQ predicate on the "actual_cost" field.
- func ActualCostNEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldActualCost, v))
- }
- // ActualCostIn applies the In predicate on the "actual_cost" field.
- func ActualCostIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldActualCost, vs...))
- }
- // ActualCostNotIn applies the NotIn predicate on the "actual_cost" field.
- func ActualCostNotIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldActualCost, vs...))
- }
- // ActualCostGT applies the GT predicate on the "actual_cost" field.
- func ActualCostGT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldActualCost, v))
- }
- // ActualCostGTE applies the GTE predicate on the "actual_cost" field.
- func ActualCostGTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldActualCost, v))
- }
- // ActualCostLT applies the LT predicate on the "actual_cost" field.
- func ActualCostLT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldActualCost, v))
- }
- // ActualCostLTE applies the LTE predicate on the "actual_cost" field.
- func ActualCostLTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldActualCost, v))
- }
- // RateMultiplierEQ applies the EQ predicate on the "rate_multiplier" field.
- func RateMultiplierEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldRateMultiplier, v))
- }
- // RateMultiplierNEQ applies the NEQ predicate on the "rate_multiplier" field.
- func RateMultiplierNEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldRateMultiplier, v))
- }
- // RateMultiplierIn applies the In predicate on the "rate_multiplier" field.
- func RateMultiplierIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldRateMultiplier, vs...))
- }
- // RateMultiplierNotIn applies the NotIn predicate on the "rate_multiplier" field.
- func RateMultiplierNotIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldRateMultiplier, vs...))
- }
- // RateMultiplierGT applies the GT predicate on the "rate_multiplier" field.
- func RateMultiplierGT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldRateMultiplier, v))
- }
- // RateMultiplierGTE applies the GTE predicate on the "rate_multiplier" field.
- func RateMultiplierGTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldRateMultiplier, v))
- }
- // RateMultiplierLT applies the LT predicate on the "rate_multiplier" field.
- func RateMultiplierLT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldRateMultiplier, v))
- }
- // RateMultiplierLTE applies the LTE predicate on the "rate_multiplier" field.
- func RateMultiplierLTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldRateMultiplier, v))
- }
- // LongContextBillingAppliedEQ applies the EQ predicate on the "long_context_billing_applied" field.
- func LongContextBillingAppliedEQ(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldLongContextBillingApplied, v))
- }
- // LongContextBillingAppliedNEQ applies the NEQ predicate on the "long_context_billing_applied" field.
- func LongContextBillingAppliedNEQ(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldLongContextBillingApplied, v))
- }
- // AccountRateMultiplierEQ applies the EQ predicate on the "account_rate_multiplier" field.
- func AccountRateMultiplierEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldAccountRateMultiplier, v))
- }
- // AccountRateMultiplierNEQ applies the NEQ predicate on the "account_rate_multiplier" field.
- func AccountRateMultiplierNEQ(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldAccountRateMultiplier, v))
- }
- // AccountRateMultiplierIn applies the In predicate on the "account_rate_multiplier" field.
- func AccountRateMultiplierIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldAccountRateMultiplier, vs...))
- }
- // AccountRateMultiplierNotIn applies the NotIn predicate on the "account_rate_multiplier" field.
- func AccountRateMultiplierNotIn(vs ...float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldAccountRateMultiplier, vs...))
- }
- // AccountRateMultiplierGT applies the GT predicate on the "account_rate_multiplier" field.
- func AccountRateMultiplierGT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldAccountRateMultiplier, v))
- }
- // AccountRateMultiplierGTE applies the GTE predicate on the "account_rate_multiplier" field.
- func AccountRateMultiplierGTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldAccountRateMultiplier, v))
- }
- // AccountRateMultiplierLT applies the LT predicate on the "account_rate_multiplier" field.
- func AccountRateMultiplierLT(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldAccountRateMultiplier, v))
- }
- // AccountRateMultiplierLTE applies the LTE predicate on the "account_rate_multiplier" field.
- func AccountRateMultiplierLTE(v float64) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldAccountRateMultiplier, v))
- }
- // AccountRateMultiplierIsNil applies the IsNil predicate on the "account_rate_multiplier" field.
- func AccountRateMultiplierIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldAccountRateMultiplier))
- }
- // AccountRateMultiplierNotNil applies the NotNil predicate on the "account_rate_multiplier" field.
- func AccountRateMultiplierNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldAccountRateMultiplier))
- }
- // BillingTypeEQ applies the EQ predicate on the "billing_type" field.
- func BillingTypeEQ(v int8) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldBillingType, v))
- }
- // BillingTypeNEQ applies the NEQ predicate on the "billing_type" field.
- func BillingTypeNEQ(v int8) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldBillingType, v))
- }
- // BillingTypeIn applies the In predicate on the "billing_type" field.
- func BillingTypeIn(vs ...int8) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldBillingType, vs...))
- }
- // BillingTypeNotIn applies the NotIn predicate on the "billing_type" field.
- func BillingTypeNotIn(vs ...int8) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldBillingType, vs...))
- }
- // BillingTypeGT applies the GT predicate on the "billing_type" field.
- func BillingTypeGT(v int8) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldBillingType, v))
- }
- // BillingTypeGTE applies the GTE predicate on the "billing_type" field.
- func BillingTypeGTE(v int8) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldBillingType, v))
- }
- // BillingTypeLT applies the LT predicate on the "billing_type" field.
- func BillingTypeLT(v int8) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldBillingType, v))
- }
- // BillingTypeLTE applies the LTE predicate on the "billing_type" field.
- func BillingTypeLTE(v int8) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldBillingType, v))
- }
- // StreamEQ applies the EQ predicate on the "stream" field.
- func StreamEQ(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldStream, v))
- }
- // StreamNEQ applies the NEQ predicate on the "stream" field.
- func StreamNEQ(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldStream, v))
- }
- // DurationMsEQ applies the EQ predicate on the "duration_ms" field.
- func DurationMsEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldDurationMs, v))
- }
- // DurationMsNEQ applies the NEQ predicate on the "duration_ms" field.
- func DurationMsNEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldDurationMs, v))
- }
- // DurationMsIn applies the In predicate on the "duration_ms" field.
- func DurationMsIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldDurationMs, vs...))
- }
- // DurationMsNotIn applies the NotIn predicate on the "duration_ms" field.
- func DurationMsNotIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldDurationMs, vs...))
- }
- // DurationMsGT applies the GT predicate on the "duration_ms" field.
- func DurationMsGT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldDurationMs, v))
- }
- // DurationMsGTE applies the GTE predicate on the "duration_ms" field.
- func DurationMsGTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldDurationMs, v))
- }
- // DurationMsLT applies the LT predicate on the "duration_ms" field.
- func DurationMsLT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldDurationMs, v))
- }
- // DurationMsLTE applies the LTE predicate on the "duration_ms" field.
- func DurationMsLTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldDurationMs, v))
- }
- // DurationMsIsNil applies the IsNil predicate on the "duration_ms" field.
- func DurationMsIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldDurationMs))
- }
- // DurationMsNotNil applies the NotNil predicate on the "duration_ms" field.
- func DurationMsNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldDurationMs))
- }
- // FirstTokenMsEQ applies the EQ predicate on the "first_token_ms" field.
- func FirstTokenMsEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldFirstTokenMs, v))
- }
- // FirstTokenMsNEQ applies the NEQ predicate on the "first_token_ms" field.
- func FirstTokenMsNEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldFirstTokenMs, v))
- }
- // FirstTokenMsIn applies the In predicate on the "first_token_ms" field.
- func FirstTokenMsIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldFirstTokenMs, vs...))
- }
- // FirstTokenMsNotIn applies the NotIn predicate on the "first_token_ms" field.
- func FirstTokenMsNotIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldFirstTokenMs, vs...))
- }
- // FirstTokenMsGT applies the GT predicate on the "first_token_ms" field.
- func FirstTokenMsGT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldFirstTokenMs, v))
- }
- // FirstTokenMsGTE applies the GTE predicate on the "first_token_ms" field.
- func FirstTokenMsGTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldFirstTokenMs, v))
- }
- // FirstTokenMsLT applies the LT predicate on the "first_token_ms" field.
- func FirstTokenMsLT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldFirstTokenMs, v))
- }
- // FirstTokenMsLTE applies the LTE predicate on the "first_token_ms" field.
- func FirstTokenMsLTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldFirstTokenMs, v))
- }
- // FirstTokenMsIsNil applies the IsNil predicate on the "first_token_ms" field.
- func FirstTokenMsIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldFirstTokenMs))
- }
- // FirstTokenMsNotNil applies the NotNil predicate on the "first_token_ms" field.
- func FirstTokenMsNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldFirstTokenMs))
- }
- // UserAgentEQ applies the EQ predicate on the "user_agent" field.
- func UserAgentEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldUserAgent, v))
- }
- // UserAgentNEQ applies the NEQ predicate on the "user_agent" field.
- func UserAgentNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldUserAgent, v))
- }
- // UserAgentIn applies the In predicate on the "user_agent" field.
- func UserAgentIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldUserAgent, vs...))
- }
- // UserAgentNotIn applies the NotIn predicate on the "user_agent" field.
- func UserAgentNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldUserAgent, vs...))
- }
- // UserAgentGT applies the GT predicate on the "user_agent" field.
- func UserAgentGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldUserAgent, v))
- }
- // UserAgentGTE applies the GTE predicate on the "user_agent" field.
- func UserAgentGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldUserAgent, v))
- }
- // UserAgentLT applies the LT predicate on the "user_agent" field.
- func UserAgentLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldUserAgent, v))
- }
- // UserAgentLTE applies the LTE predicate on the "user_agent" field.
- func UserAgentLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldUserAgent, v))
- }
- // UserAgentContains applies the Contains predicate on the "user_agent" field.
- func UserAgentContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldUserAgent, v))
- }
- // UserAgentHasPrefix applies the HasPrefix predicate on the "user_agent" field.
- func UserAgentHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldUserAgent, v))
- }
- // UserAgentHasSuffix applies the HasSuffix predicate on the "user_agent" field.
- func UserAgentHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldUserAgent, v))
- }
- // UserAgentIsNil applies the IsNil predicate on the "user_agent" field.
- func UserAgentIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldUserAgent))
- }
- // UserAgentNotNil applies the NotNil predicate on the "user_agent" field.
- func UserAgentNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldUserAgent))
- }
- // UserAgentEqualFold applies the EqualFold predicate on the "user_agent" field.
- func UserAgentEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldUserAgent, v))
- }
- // UserAgentContainsFold applies the ContainsFold predicate on the "user_agent" field.
- func UserAgentContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldUserAgent, v))
- }
- // IPAddressEQ applies the EQ predicate on the "ip_address" field.
- func IPAddressEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldIPAddress, v))
- }
- // IPAddressNEQ applies the NEQ predicate on the "ip_address" field.
- func IPAddressNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldIPAddress, v))
- }
- // IPAddressIn applies the In predicate on the "ip_address" field.
- func IPAddressIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldIPAddress, vs...))
- }
- // IPAddressNotIn applies the NotIn predicate on the "ip_address" field.
- func IPAddressNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldIPAddress, vs...))
- }
- // IPAddressGT applies the GT predicate on the "ip_address" field.
- func IPAddressGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldIPAddress, v))
- }
- // IPAddressGTE applies the GTE predicate on the "ip_address" field.
- func IPAddressGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldIPAddress, v))
- }
- // IPAddressLT applies the LT predicate on the "ip_address" field.
- func IPAddressLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldIPAddress, v))
- }
- // IPAddressLTE applies the LTE predicate on the "ip_address" field.
- func IPAddressLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldIPAddress, v))
- }
- // IPAddressContains applies the Contains predicate on the "ip_address" field.
- func IPAddressContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldIPAddress, v))
- }
- // IPAddressHasPrefix applies the HasPrefix predicate on the "ip_address" field.
- func IPAddressHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldIPAddress, v))
- }
- // IPAddressHasSuffix applies the HasSuffix predicate on the "ip_address" field.
- func IPAddressHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldIPAddress, v))
- }
- // IPAddressIsNil applies the IsNil predicate on the "ip_address" field.
- func IPAddressIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldIPAddress))
- }
- // IPAddressNotNil applies the NotNil predicate on the "ip_address" field.
- func IPAddressNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldIPAddress))
- }
- // IPAddressEqualFold applies the EqualFold predicate on the "ip_address" field.
- func IPAddressEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldIPAddress, v))
- }
- // IPAddressContainsFold applies the ContainsFold predicate on the "ip_address" field.
- func IPAddressContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldIPAddress, v))
- }
- // ImageCountEQ applies the EQ predicate on the "image_count" field.
- func ImageCountEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldImageCount, v))
- }
- // ImageCountNEQ applies the NEQ predicate on the "image_count" field.
- func ImageCountNEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldImageCount, v))
- }
- // ImageCountIn applies the In predicate on the "image_count" field.
- func ImageCountIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldImageCount, vs...))
- }
- // ImageCountNotIn applies the NotIn predicate on the "image_count" field.
- func ImageCountNotIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldImageCount, vs...))
- }
- // ImageCountGT applies the GT predicate on the "image_count" field.
- func ImageCountGT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldImageCount, v))
- }
- // ImageCountGTE applies the GTE predicate on the "image_count" field.
- func ImageCountGTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldImageCount, v))
- }
- // ImageCountLT applies the LT predicate on the "image_count" field.
- func ImageCountLT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldImageCount, v))
- }
- // ImageCountLTE applies the LTE predicate on the "image_count" field.
- func ImageCountLTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldImageCount, v))
- }
- // ImageSizeEQ applies the EQ predicate on the "image_size" field.
- func ImageSizeEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldImageSize, v))
- }
- // ImageSizeNEQ applies the NEQ predicate on the "image_size" field.
- func ImageSizeNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldImageSize, v))
- }
- // ImageSizeIn applies the In predicate on the "image_size" field.
- func ImageSizeIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldImageSize, vs...))
- }
- // ImageSizeNotIn applies the NotIn predicate on the "image_size" field.
- func ImageSizeNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldImageSize, vs...))
- }
- // ImageSizeGT applies the GT predicate on the "image_size" field.
- func ImageSizeGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldImageSize, v))
- }
- // ImageSizeGTE applies the GTE predicate on the "image_size" field.
- func ImageSizeGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldImageSize, v))
- }
- // ImageSizeLT applies the LT predicate on the "image_size" field.
- func ImageSizeLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldImageSize, v))
- }
- // ImageSizeLTE applies the LTE predicate on the "image_size" field.
- func ImageSizeLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldImageSize, v))
- }
- // ImageSizeContains applies the Contains predicate on the "image_size" field.
- func ImageSizeContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldImageSize, v))
- }
- // ImageSizeHasPrefix applies the HasPrefix predicate on the "image_size" field.
- func ImageSizeHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldImageSize, v))
- }
- // ImageSizeHasSuffix applies the HasSuffix predicate on the "image_size" field.
- func ImageSizeHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldImageSize, v))
- }
- // ImageSizeIsNil applies the IsNil predicate on the "image_size" field.
- func ImageSizeIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldImageSize))
- }
- // ImageSizeNotNil applies the NotNil predicate on the "image_size" field.
- func ImageSizeNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldImageSize))
- }
- // ImageSizeEqualFold applies the EqualFold predicate on the "image_size" field.
- func ImageSizeEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldImageSize, v))
- }
- // ImageSizeContainsFold applies the ContainsFold predicate on the "image_size" field.
- func ImageSizeContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldImageSize, v))
- }
- // ImageInputSizeEQ applies the EQ predicate on the "image_input_size" field.
- func ImageInputSizeEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldImageInputSize, v))
- }
- // ImageInputSizeNEQ applies the NEQ predicate on the "image_input_size" field.
- func ImageInputSizeNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldImageInputSize, v))
- }
- // ImageInputSizeIn applies the In predicate on the "image_input_size" field.
- func ImageInputSizeIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldImageInputSize, vs...))
- }
- // ImageInputSizeNotIn applies the NotIn predicate on the "image_input_size" field.
- func ImageInputSizeNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldImageInputSize, vs...))
- }
- // ImageInputSizeGT applies the GT predicate on the "image_input_size" field.
- func ImageInputSizeGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldImageInputSize, v))
- }
- // ImageInputSizeGTE applies the GTE predicate on the "image_input_size" field.
- func ImageInputSizeGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldImageInputSize, v))
- }
- // ImageInputSizeLT applies the LT predicate on the "image_input_size" field.
- func ImageInputSizeLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldImageInputSize, v))
- }
- // ImageInputSizeLTE applies the LTE predicate on the "image_input_size" field.
- func ImageInputSizeLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldImageInputSize, v))
- }
- // ImageInputSizeContains applies the Contains predicate on the "image_input_size" field.
- func ImageInputSizeContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldImageInputSize, v))
- }
- // ImageInputSizeHasPrefix applies the HasPrefix predicate on the "image_input_size" field.
- func ImageInputSizeHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldImageInputSize, v))
- }
- // ImageInputSizeHasSuffix applies the HasSuffix predicate on the "image_input_size" field.
- func ImageInputSizeHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldImageInputSize, v))
- }
- // ImageInputSizeIsNil applies the IsNil predicate on the "image_input_size" field.
- func ImageInputSizeIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldImageInputSize))
- }
- // ImageInputSizeNotNil applies the NotNil predicate on the "image_input_size" field.
- func ImageInputSizeNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldImageInputSize))
- }
- // ImageInputSizeEqualFold applies the EqualFold predicate on the "image_input_size" field.
- func ImageInputSizeEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldImageInputSize, v))
- }
- // ImageInputSizeContainsFold applies the ContainsFold predicate on the "image_input_size" field.
- func ImageInputSizeContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldImageInputSize, v))
- }
- // ImageOutputSizeEQ applies the EQ predicate on the "image_output_size" field.
- func ImageOutputSizeEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldImageOutputSize, v))
- }
- // ImageOutputSizeNEQ applies the NEQ predicate on the "image_output_size" field.
- func ImageOutputSizeNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldImageOutputSize, v))
- }
- // ImageOutputSizeIn applies the In predicate on the "image_output_size" field.
- func ImageOutputSizeIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldImageOutputSize, vs...))
- }
- // ImageOutputSizeNotIn applies the NotIn predicate on the "image_output_size" field.
- func ImageOutputSizeNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldImageOutputSize, vs...))
- }
- // ImageOutputSizeGT applies the GT predicate on the "image_output_size" field.
- func ImageOutputSizeGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldImageOutputSize, v))
- }
- // ImageOutputSizeGTE applies the GTE predicate on the "image_output_size" field.
- func ImageOutputSizeGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldImageOutputSize, v))
- }
- // ImageOutputSizeLT applies the LT predicate on the "image_output_size" field.
- func ImageOutputSizeLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldImageOutputSize, v))
- }
- // ImageOutputSizeLTE applies the LTE predicate on the "image_output_size" field.
- func ImageOutputSizeLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldImageOutputSize, v))
- }
- // ImageOutputSizeContains applies the Contains predicate on the "image_output_size" field.
- func ImageOutputSizeContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldImageOutputSize, v))
- }
- // ImageOutputSizeHasPrefix applies the HasPrefix predicate on the "image_output_size" field.
- func ImageOutputSizeHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldImageOutputSize, v))
- }
- // ImageOutputSizeHasSuffix applies the HasSuffix predicate on the "image_output_size" field.
- func ImageOutputSizeHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldImageOutputSize, v))
- }
- // ImageOutputSizeIsNil applies the IsNil predicate on the "image_output_size" field.
- func ImageOutputSizeIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldImageOutputSize))
- }
- // ImageOutputSizeNotNil applies the NotNil predicate on the "image_output_size" field.
- func ImageOutputSizeNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldImageOutputSize))
- }
- // ImageOutputSizeEqualFold applies the EqualFold predicate on the "image_output_size" field.
- func ImageOutputSizeEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldImageOutputSize, v))
- }
- // ImageOutputSizeContainsFold applies the ContainsFold predicate on the "image_output_size" field.
- func ImageOutputSizeContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldImageOutputSize, v))
- }
- // ImageSizeSourceEQ applies the EQ predicate on the "image_size_source" field.
- func ImageSizeSourceEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldImageSizeSource, v))
- }
- // ImageSizeSourceNEQ applies the NEQ predicate on the "image_size_source" field.
- func ImageSizeSourceNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldImageSizeSource, v))
- }
- // ImageSizeSourceIn applies the In predicate on the "image_size_source" field.
- func ImageSizeSourceIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldImageSizeSource, vs...))
- }
- // ImageSizeSourceNotIn applies the NotIn predicate on the "image_size_source" field.
- func ImageSizeSourceNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldImageSizeSource, vs...))
- }
- // ImageSizeSourceGT applies the GT predicate on the "image_size_source" field.
- func ImageSizeSourceGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldImageSizeSource, v))
- }
- // ImageSizeSourceGTE applies the GTE predicate on the "image_size_source" field.
- func ImageSizeSourceGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldImageSizeSource, v))
- }
- // ImageSizeSourceLT applies the LT predicate on the "image_size_source" field.
- func ImageSizeSourceLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldImageSizeSource, v))
- }
- // ImageSizeSourceLTE applies the LTE predicate on the "image_size_source" field.
- func ImageSizeSourceLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldImageSizeSource, v))
- }
- // ImageSizeSourceContains applies the Contains predicate on the "image_size_source" field.
- func ImageSizeSourceContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldImageSizeSource, v))
- }
- // ImageSizeSourceHasPrefix applies the HasPrefix predicate on the "image_size_source" field.
- func ImageSizeSourceHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldImageSizeSource, v))
- }
- // ImageSizeSourceHasSuffix applies the HasSuffix predicate on the "image_size_source" field.
- func ImageSizeSourceHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldImageSizeSource, v))
- }
- // ImageSizeSourceIsNil applies the IsNil predicate on the "image_size_source" field.
- func ImageSizeSourceIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldImageSizeSource))
- }
- // ImageSizeSourceNotNil applies the NotNil predicate on the "image_size_source" field.
- func ImageSizeSourceNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldImageSizeSource))
- }
- // ImageSizeSourceEqualFold applies the EqualFold predicate on the "image_size_source" field.
- func ImageSizeSourceEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldImageSizeSource, v))
- }
- // ImageSizeSourceContainsFold applies the ContainsFold predicate on the "image_size_source" field.
- func ImageSizeSourceContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldImageSizeSource, v))
- }
- // ImageSizeBreakdownIsNil applies the IsNil predicate on the "image_size_breakdown" field.
- func ImageSizeBreakdownIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldImageSizeBreakdown))
- }
- // ImageSizeBreakdownNotNil applies the NotNil predicate on the "image_size_breakdown" field.
- func ImageSizeBreakdownNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldImageSizeBreakdown))
- }
- // VideoCountEQ applies the EQ predicate on the "video_count" field.
- func VideoCountEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldVideoCount, v))
- }
- // VideoCountNEQ applies the NEQ predicate on the "video_count" field.
- func VideoCountNEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldVideoCount, v))
- }
- // VideoCountIn applies the In predicate on the "video_count" field.
- func VideoCountIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldVideoCount, vs...))
- }
- // VideoCountNotIn applies the NotIn predicate on the "video_count" field.
- func VideoCountNotIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldVideoCount, vs...))
- }
- // VideoCountGT applies the GT predicate on the "video_count" field.
- func VideoCountGT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldVideoCount, v))
- }
- // VideoCountGTE applies the GTE predicate on the "video_count" field.
- func VideoCountGTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldVideoCount, v))
- }
- // VideoCountLT applies the LT predicate on the "video_count" field.
- func VideoCountLT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldVideoCount, v))
- }
- // VideoCountLTE applies the LTE predicate on the "video_count" field.
- func VideoCountLTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldVideoCount, v))
- }
- // VideoResolutionEQ applies the EQ predicate on the "video_resolution" field.
- func VideoResolutionEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldVideoResolution, v))
- }
- // VideoResolutionNEQ applies the NEQ predicate on the "video_resolution" field.
- func VideoResolutionNEQ(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldVideoResolution, v))
- }
- // VideoResolutionIn applies the In predicate on the "video_resolution" field.
- func VideoResolutionIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldVideoResolution, vs...))
- }
- // VideoResolutionNotIn applies the NotIn predicate on the "video_resolution" field.
- func VideoResolutionNotIn(vs ...string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldVideoResolution, vs...))
- }
- // VideoResolutionGT applies the GT predicate on the "video_resolution" field.
- func VideoResolutionGT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldVideoResolution, v))
- }
- // VideoResolutionGTE applies the GTE predicate on the "video_resolution" field.
- func VideoResolutionGTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldVideoResolution, v))
- }
- // VideoResolutionLT applies the LT predicate on the "video_resolution" field.
- func VideoResolutionLT(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldVideoResolution, v))
- }
- // VideoResolutionLTE applies the LTE predicate on the "video_resolution" field.
- func VideoResolutionLTE(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldVideoResolution, v))
- }
- // VideoResolutionContains applies the Contains predicate on the "video_resolution" field.
- func VideoResolutionContains(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContains(FieldVideoResolution, v))
- }
- // VideoResolutionHasPrefix applies the HasPrefix predicate on the "video_resolution" field.
- func VideoResolutionHasPrefix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasPrefix(FieldVideoResolution, v))
- }
- // VideoResolutionHasSuffix applies the HasSuffix predicate on the "video_resolution" field.
- func VideoResolutionHasSuffix(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldHasSuffix(FieldVideoResolution, v))
- }
- // VideoResolutionIsNil applies the IsNil predicate on the "video_resolution" field.
- func VideoResolutionIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldVideoResolution))
- }
- // VideoResolutionNotNil applies the NotNil predicate on the "video_resolution" field.
- func VideoResolutionNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldVideoResolution))
- }
- // VideoResolutionEqualFold applies the EqualFold predicate on the "video_resolution" field.
- func VideoResolutionEqualFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEqualFold(FieldVideoResolution, v))
- }
- // VideoResolutionContainsFold applies the ContainsFold predicate on the "video_resolution" field.
- func VideoResolutionContainsFold(v string) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldContainsFold(FieldVideoResolution, v))
- }
- // VideoDurationSecondsEQ applies the EQ predicate on the "video_duration_seconds" field.
- func VideoDurationSecondsEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldVideoDurationSeconds, v))
- }
- // VideoDurationSecondsNEQ applies the NEQ predicate on the "video_duration_seconds" field.
- func VideoDurationSecondsNEQ(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldVideoDurationSeconds, v))
- }
- // VideoDurationSecondsIn applies the In predicate on the "video_duration_seconds" field.
- func VideoDurationSecondsIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldVideoDurationSeconds, vs...))
- }
- // VideoDurationSecondsNotIn applies the NotIn predicate on the "video_duration_seconds" field.
- func VideoDurationSecondsNotIn(vs ...int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldVideoDurationSeconds, vs...))
- }
- // VideoDurationSecondsGT applies the GT predicate on the "video_duration_seconds" field.
- func VideoDurationSecondsGT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldVideoDurationSeconds, v))
- }
- // VideoDurationSecondsGTE applies the GTE predicate on the "video_duration_seconds" field.
- func VideoDurationSecondsGTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldVideoDurationSeconds, v))
- }
- // VideoDurationSecondsLT applies the LT predicate on the "video_duration_seconds" field.
- func VideoDurationSecondsLT(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldVideoDurationSeconds, v))
- }
- // VideoDurationSecondsLTE applies the LTE predicate on the "video_duration_seconds" field.
- func VideoDurationSecondsLTE(v int) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldVideoDurationSeconds, v))
- }
- // VideoDurationSecondsIsNil applies the IsNil predicate on the "video_duration_seconds" field.
- func VideoDurationSecondsIsNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIsNull(FieldVideoDurationSeconds))
- }
- // VideoDurationSecondsNotNil applies the NotNil predicate on the "video_duration_seconds" field.
- func VideoDurationSecondsNotNil() predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotNull(FieldVideoDurationSeconds))
- }
- // CacheTTLOverriddenEQ applies the EQ predicate on the "cache_ttl_overridden" field.
- func CacheTTLOverriddenEQ(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCacheTTLOverridden, v))
- }
- // CacheTTLOverriddenNEQ applies the NEQ predicate on the "cache_ttl_overridden" field.
- func CacheTTLOverriddenNEQ(v bool) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldCacheTTLOverridden, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.UsageLog {
- return predicate.UsageLog(sql.FieldLTE(FieldCreatedAt, v))
- }
- // HasUser applies the HasEdge predicate on the "user" edge.
- func HasUser() predicate.UsageLog {
- return predicate.UsageLog(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.M2O, true, UserTable, UserColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
- func HasUserWith(preds ...predicate.User) predicate.UsageLog {
- return predicate.UsageLog(func(s *sql.Selector) {
- step := newUserStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasAPIKey applies the HasEdge predicate on the "api_key" edge.
- func HasAPIKey() predicate.UsageLog {
- return predicate.UsageLog(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.M2O, true, APIKeyTable, APIKeyColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasAPIKeyWith applies the HasEdge predicate on the "api_key" edge with a given conditions (other predicates).
- func HasAPIKeyWith(preds ...predicate.APIKey) predicate.UsageLog {
- return predicate.UsageLog(func(s *sql.Selector) {
- step := newAPIKeyStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasAccount applies the HasEdge predicate on the "account" edge.
- func HasAccount() predicate.UsageLog {
- return predicate.UsageLog(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.M2O, true, AccountTable, AccountColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasAccountWith applies the HasEdge predicate on the "account" edge with a given conditions (other predicates).
- func HasAccountWith(preds ...predicate.Account) predicate.UsageLog {
- return predicate.UsageLog(func(s *sql.Selector) {
- step := newAccountStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasGroup applies the HasEdge predicate on the "group" edge.
- func HasGroup() predicate.UsageLog {
- return predicate.UsageLog(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.M2O, true, GroupTable, GroupColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).
- func HasGroupWith(preds ...predicate.Group) predicate.UsageLog {
- return predicate.UsageLog(func(s *sql.Selector) {
- step := newGroupStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasSubscription applies the HasEdge predicate on the "subscription" edge.
- func HasSubscription() predicate.UsageLog {
- return predicate.UsageLog(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.M2O, true, SubscriptionTable, SubscriptionColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasSubscriptionWith applies the HasEdge predicate on the "subscription" edge with a given conditions (other predicates).
- func HasSubscriptionWith(preds ...predicate.UserSubscription) predicate.UsageLog {
- return predicate.UsageLog(func(s *sql.Selector) {
- step := newSubscriptionStep()
- 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.UsageLog) predicate.UsageLog {
- return predicate.UsageLog(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.UsageLog) predicate.UsageLog {
- return predicate.UsageLog(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.UsageLog) predicate.UsageLog {
- return predicate.UsageLog(sql.NotPredicates(p))
- }
|