where.go 102 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535
  1. // Code generated by ent, DO NOT EDIT.
  2. package batchimagejob
  3. import (
  4. "time"
  5. "entgo.io/ent/dialect/sql"
  6. "github.com/Wei-Shaw/sub2api/ent/predicate"
  7. )
  8. // ID filters vertices based on their ID field.
  9. func ID(id int64) predicate.BatchImageJob {
  10. return predicate.BatchImageJob(sql.FieldEQ(FieldID, id))
  11. }
  12. // IDEQ applies the EQ predicate on the ID field.
  13. func IDEQ(id int64) predicate.BatchImageJob {
  14. return predicate.BatchImageJob(sql.FieldEQ(FieldID, id))
  15. }
  16. // IDNEQ applies the NEQ predicate on the ID field.
  17. func IDNEQ(id int64) predicate.BatchImageJob {
  18. return predicate.BatchImageJob(sql.FieldNEQ(FieldID, id))
  19. }
  20. // IDIn applies the In predicate on the ID field.
  21. func IDIn(ids ...int64) predicate.BatchImageJob {
  22. return predicate.BatchImageJob(sql.FieldIn(FieldID, ids...))
  23. }
  24. // IDNotIn applies the NotIn predicate on the ID field.
  25. func IDNotIn(ids ...int64) predicate.BatchImageJob {
  26. return predicate.BatchImageJob(sql.FieldNotIn(FieldID, ids...))
  27. }
  28. // IDGT applies the GT predicate on the ID field.
  29. func IDGT(id int64) predicate.BatchImageJob {
  30. return predicate.BatchImageJob(sql.FieldGT(FieldID, id))
  31. }
  32. // IDGTE applies the GTE predicate on the ID field.
  33. func IDGTE(id int64) predicate.BatchImageJob {
  34. return predicate.BatchImageJob(sql.FieldGTE(FieldID, id))
  35. }
  36. // IDLT applies the LT predicate on the ID field.
  37. func IDLT(id int64) predicate.BatchImageJob {
  38. return predicate.BatchImageJob(sql.FieldLT(FieldID, id))
  39. }
  40. // IDLTE applies the LTE predicate on the ID field.
  41. func IDLTE(id int64) predicate.BatchImageJob {
  42. return predicate.BatchImageJob(sql.FieldLTE(FieldID, id))
  43. }
  44. // BatchID applies equality check predicate on the "batch_id" field. It's identical to BatchIDEQ.
  45. func BatchID(v string) predicate.BatchImageJob {
  46. return predicate.BatchImageJob(sql.FieldEQ(FieldBatchID, v))
  47. }
  48. // UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
  49. func UserID(v int64) predicate.BatchImageJob {
  50. return predicate.BatchImageJob(sql.FieldEQ(FieldUserID, v))
  51. }
  52. // APIKeyID applies equality check predicate on the "api_key_id" field. It's identical to APIKeyIDEQ.
  53. func APIKeyID(v int64) predicate.BatchImageJob {
  54. return predicate.BatchImageJob(sql.FieldEQ(FieldAPIKeyID, v))
  55. }
  56. // AccountID applies equality check predicate on the "account_id" field. It's identical to AccountIDEQ.
  57. func AccountID(v int64) predicate.BatchImageJob {
  58. return predicate.BatchImageJob(sql.FieldEQ(FieldAccountID, v))
  59. }
  60. // Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.
  61. func Provider(v string) predicate.BatchImageJob {
  62. return predicate.BatchImageJob(sql.FieldEQ(FieldProvider, v))
  63. }
  64. // Model applies equality check predicate on the "model" field. It's identical to ModelEQ.
  65. func Model(v string) predicate.BatchImageJob {
  66. return predicate.BatchImageJob(sql.FieldEQ(FieldModel, v))
  67. }
  68. // TaskName applies equality check predicate on the "task_name" field. It's identical to TaskNameEQ.
  69. func TaskName(v string) predicate.BatchImageJob {
  70. return predicate.BatchImageJob(sql.FieldEQ(FieldTaskName, v))
  71. }
  72. // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
  73. func Status(v string) predicate.BatchImageJob {
  74. return predicate.BatchImageJob(sql.FieldEQ(FieldStatus, v))
  75. }
  76. // ProviderJobName applies equality check predicate on the "provider_job_name" field. It's identical to ProviderJobNameEQ.
  77. func ProviderJobName(v string) predicate.BatchImageJob {
  78. return predicate.BatchImageJob(sql.FieldEQ(FieldProviderJobName, v))
  79. }
  80. // ProviderInputRef applies equality check predicate on the "provider_input_ref" field. It's identical to ProviderInputRefEQ.
  81. func ProviderInputRef(v string) predicate.BatchImageJob {
  82. return predicate.BatchImageJob(sql.FieldEQ(FieldProviderInputRef, v))
  83. }
  84. // ProviderOutputRef applies equality check predicate on the "provider_output_ref" field. It's identical to ProviderOutputRefEQ.
  85. func ProviderOutputRef(v string) predicate.BatchImageJob {
  86. return predicate.BatchImageJob(sql.FieldEQ(FieldProviderOutputRef, v))
  87. }
  88. // GcsInputURI applies equality check predicate on the "gcs_input_uri" field. It's identical to GcsInputURIEQ.
  89. func GcsInputURI(v string) predicate.BatchImageJob {
  90. return predicate.BatchImageJob(sql.FieldEQ(FieldGcsInputURI, v))
  91. }
  92. // GcsOutputURI applies equality check predicate on the "gcs_output_uri" field. It's identical to GcsOutputURIEQ.
  93. func GcsOutputURI(v string) predicate.BatchImageJob {
  94. return predicate.BatchImageJob(sql.FieldEQ(FieldGcsOutputURI, v))
  95. }
  96. // ItemCount applies equality check predicate on the "item_count" field. It's identical to ItemCountEQ.
  97. func ItemCount(v int) predicate.BatchImageJob {
  98. return predicate.BatchImageJob(sql.FieldEQ(FieldItemCount, v))
  99. }
  100. // SuccessCount applies equality check predicate on the "success_count" field. It's identical to SuccessCountEQ.
  101. func SuccessCount(v int) predicate.BatchImageJob {
  102. return predicate.BatchImageJob(sql.FieldEQ(FieldSuccessCount, v))
  103. }
  104. // FailCount applies equality check predicate on the "fail_count" field. It's identical to FailCountEQ.
  105. func FailCount(v int) predicate.BatchImageJob {
  106. return predicate.BatchImageJob(sql.FieldEQ(FieldFailCount, v))
  107. }
  108. // CancelledCount applies equality check predicate on the "cancelled_count" field. It's identical to CancelledCountEQ.
  109. func CancelledCount(v int) predicate.BatchImageJob {
  110. return predicate.BatchImageJob(sql.FieldEQ(FieldCancelledCount, v))
  111. }
  112. // EstimatedCost applies equality check predicate on the "estimated_cost" field. It's identical to EstimatedCostEQ.
  113. func EstimatedCost(v float64) predicate.BatchImageJob {
  114. return predicate.BatchImageJob(sql.FieldEQ(FieldEstimatedCost, v))
  115. }
  116. // HoldAmount applies equality check predicate on the "hold_amount" field. It's identical to HoldAmountEQ.
  117. func HoldAmount(v float64) predicate.BatchImageJob {
  118. return predicate.BatchImageJob(sql.FieldEQ(FieldHoldAmount, v))
  119. }
  120. // ActualCost applies equality check predicate on the "actual_cost" field. It's identical to ActualCostEQ.
  121. func ActualCost(v float64) predicate.BatchImageJob {
  122. return predicate.BatchImageJob(sql.FieldEQ(FieldActualCost, v))
  123. }
  124. // Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.
  125. func Currency(v string) predicate.BatchImageJob {
  126. return predicate.BatchImageJob(sql.FieldEQ(FieldCurrency, v))
  127. }
  128. // HoldID applies equality check predicate on the "hold_id" field. It's identical to HoldIDEQ.
  129. func HoldID(v string) predicate.BatchImageJob {
  130. return predicate.BatchImageJob(sql.FieldEQ(FieldHoldID, v))
  131. }
  132. // IdempotencyKey applies equality check predicate on the "idempotency_key" field. It's identical to IdempotencyKeyEQ.
  133. func IdempotencyKey(v string) predicate.BatchImageJob {
  134. return predicate.BatchImageJob(sql.FieldEQ(FieldIdempotencyKey, v))
  135. }
  136. // RequestHash applies equality check predicate on the "request_hash" field. It's identical to RequestHashEQ.
  137. func RequestHash(v string) predicate.BatchImageJob {
  138. return predicate.BatchImageJob(sql.FieldEQ(FieldRequestHash, v))
  139. }
  140. // ManifestHash applies equality check predicate on the "manifest_hash" field. It's identical to ManifestHashEQ.
  141. func ManifestHash(v string) predicate.BatchImageJob {
  142. return predicate.BatchImageJob(sql.FieldEQ(FieldManifestHash, v))
  143. }
  144. // RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.
  145. func RetryCount(v int) predicate.BatchImageJob {
  146. return predicate.BatchImageJob(sql.FieldEQ(FieldRetryCount, v))
  147. }
  148. // Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
  149. func Version(v int) predicate.BatchImageJob {
  150. return predicate.BatchImageJob(sql.FieldEQ(FieldVersion, v))
  151. }
  152. // OutputExpiresAt applies equality check predicate on the "output_expires_at" field. It's identical to OutputExpiresAtEQ.
  153. func OutputExpiresAt(v time.Time) predicate.BatchImageJob {
  154. return predicate.BatchImageJob(sql.FieldEQ(FieldOutputExpiresAt, v))
  155. }
  156. // InputDeletedAt applies equality check predicate on the "input_deleted_at" field. It's identical to InputDeletedAtEQ.
  157. func InputDeletedAt(v time.Time) predicate.BatchImageJob {
  158. return predicate.BatchImageJob(sql.FieldEQ(FieldInputDeletedAt, v))
  159. }
  160. // OutputDeletedAt applies equality check predicate on the "output_deleted_at" field. It's identical to OutputDeletedAtEQ.
  161. func OutputDeletedAt(v time.Time) predicate.BatchImageJob {
  162. return predicate.BatchImageJob(sql.FieldEQ(FieldOutputDeletedAt, v))
  163. }
  164. // DownloadedAt applies equality check predicate on the "downloaded_at" field. It's identical to DownloadedAtEQ.
  165. func DownloadedAt(v time.Time) predicate.BatchImageJob {
  166. return predicate.BatchImageJob(sql.FieldEQ(FieldDownloadedAt, v))
  167. }
  168. // UserDeletedAt applies equality check predicate on the "user_deleted_at" field. It's identical to UserDeletedAtEQ.
  169. func UserDeletedAt(v time.Time) predicate.BatchImageJob {
  170. return predicate.BatchImageJob(sql.FieldEQ(FieldUserDeletedAt, v))
  171. }
  172. // LastErrorCode applies equality check predicate on the "last_error_code" field. It's identical to LastErrorCodeEQ.
  173. func LastErrorCode(v string) predicate.BatchImageJob {
  174. return predicate.BatchImageJob(sql.FieldEQ(FieldLastErrorCode, v))
  175. }
  176. // LastErrorMessage applies equality check predicate on the "last_error_message" field. It's identical to LastErrorMessageEQ.
  177. func LastErrorMessage(v string) predicate.BatchImageJob {
  178. return predicate.BatchImageJob(sql.FieldEQ(FieldLastErrorMessage, v))
  179. }
  180. // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
  181. func CreatedAt(v time.Time) predicate.BatchImageJob {
  182. return predicate.BatchImageJob(sql.FieldEQ(FieldCreatedAt, v))
  183. }
  184. // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
  185. func UpdatedAt(v time.Time) predicate.BatchImageJob {
  186. return predicate.BatchImageJob(sql.FieldEQ(FieldUpdatedAt, v))
  187. }
  188. // SubmittedAt applies equality check predicate on the "submitted_at" field. It's identical to SubmittedAtEQ.
  189. func SubmittedAt(v time.Time) predicate.BatchImageJob {
  190. return predicate.BatchImageJob(sql.FieldEQ(FieldSubmittedAt, v))
  191. }
  192. // StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.
  193. func StartedAt(v time.Time) predicate.BatchImageJob {
  194. return predicate.BatchImageJob(sql.FieldEQ(FieldStartedAt, v))
  195. }
  196. // FinishedAt applies equality check predicate on the "finished_at" field. It's identical to FinishedAtEQ.
  197. func FinishedAt(v time.Time) predicate.BatchImageJob {
  198. return predicate.BatchImageJob(sql.FieldEQ(FieldFinishedAt, v))
  199. }
  200. // SettledAt applies equality check predicate on the "settled_at" field. It's identical to SettledAtEQ.
  201. func SettledAt(v time.Time) predicate.BatchImageJob {
  202. return predicate.BatchImageJob(sql.FieldEQ(FieldSettledAt, v))
  203. }
  204. // BatchIDEQ applies the EQ predicate on the "batch_id" field.
  205. func BatchIDEQ(v string) predicate.BatchImageJob {
  206. return predicate.BatchImageJob(sql.FieldEQ(FieldBatchID, v))
  207. }
  208. // BatchIDNEQ applies the NEQ predicate on the "batch_id" field.
  209. func BatchIDNEQ(v string) predicate.BatchImageJob {
  210. return predicate.BatchImageJob(sql.FieldNEQ(FieldBatchID, v))
  211. }
  212. // BatchIDIn applies the In predicate on the "batch_id" field.
  213. func BatchIDIn(vs ...string) predicate.BatchImageJob {
  214. return predicate.BatchImageJob(sql.FieldIn(FieldBatchID, vs...))
  215. }
  216. // BatchIDNotIn applies the NotIn predicate on the "batch_id" field.
  217. func BatchIDNotIn(vs ...string) predicate.BatchImageJob {
  218. return predicate.BatchImageJob(sql.FieldNotIn(FieldBatchID, vs...))
  219. }
  220. // BatchIDGT applies the GT predicate on the "batch_id" field.
  221. func BatchIDGT(v string) predicate.BatchImageJob {
  222. return predicate.BatchImageJob(sql.FieldGT(FieldBatchID, v))
  223. }
  224. // BatchIDGTE applies the GTE predicate on the "batch_id" field.
  225. func BatchIDGTE(v string) predicate.BatchImageJob {
  226. return predicate.BatchImageJob(sql.FieldGTE(FieldBatchID, v))
  227. }
  228. // BatchIDLT applies the LT predicate on the "batch_id" field.
  229. func BatchIDLT(v string) predicate.BatchImageJob {
  230. return predicate.BatchImageJob(sql.FieldLT(FieldBatchID, v))
  231. }
  232. // BatchIDLTE applies the LTE predicate on the "batch_id" field.
  233. func BatchIDLTE(v string) predicate.BatchImageJob {
  234. return predicate.BatchImageJob(sql.FieldLTE(FieldBatchID, v))
  235. }
  236. // BatchIDContains applies the Contains predicate on the "batch_id" field.
  237. func BatchIDContains(v string) predicate.BatchImageJob {
  238. return predicate.BatchImageJob(sql.FieldContains(FieldBatchID, v))
  239. }
  240. // BatchIDHasPrefix applies the HasPrefix predicate on the "batch_id" field.
  241. func BatchIDHasPrefix(v string) predicate.BatchImageJob {
  242. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldBatchID, v))
  243. }
  244. // BatchIDHasSuffix applies the HasSuffix predicate on the "batch_id" field.
  245. func BatchIDHasSuffix(v string) predicate.BatchImageJob {
  246. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldBatchID, v))
  247. }
  248. // BatchIDEqualFold applies the EqualFold predicate on the "batch_id" field.
  249. func BatchIDEqualFold(v string) predicate.BatchImageJob {
  250. return predicate.BatchImageJob(sql.FieldEqualFold(FieldBatchID, v))
  251. }
  252. // BatchIDContainsFold applies the ContainsFold predicate on the "batch_id" field.
  253. func BatchIDContainsFold(v string) predicate.BatchImageJob {
  254. return predicate.BatchImageJob(sql.FieldContainsFold(FieldBatchID, v))
  255. }
  256. // UserIDEQ applies the EQ predicate on the "user_id" field.
  257. func UserIDEQ(v int64) predicate.BatchImageJob {
  258. return predicate.BatchImageJob(sql.FieldEQ(FieldUserID, v))
  259. }
  260. // UserIDNEQ applies the NEQ predicate on the "user_id" field.
  261. func UserIDNEQ(v int64) predicate.BatchImageJob {
  262. return predicate.BatchImageJob(sql.FieldNEQ(FieldUserID, v))
  263. }
  264. // UserIDIn applies the In predicate on the "user_id" field.
  265. func UserIDIn(vs ...int64) predicate.BatchImageJob {
  266. return predicate.BatchImageJob(sql.FieldIn(FieldUserID, vs...))
  267. }
  268. // UserIDNotIn applies the NotIn predicate on the "user_id" field.
  269. func UserIDNotIn(vs ...int64) predicate.BatchImageJob {
  270. return predicate.BatchImageJob(sql.FieldNotIn(FieldUserID, vs...))
  271. }
  272. // UserIDGT applies the GT predicate on the "user_id" field.
  273. func UserIDGT(v int64) predicate.BatchImageJob {
  274. return predicate.BatchImageJob(sql.FieldGT(FieldUserID, v))
  275. }
  276. // UserIDGTE applies the GTE predicate on the "user_id" field.
  277. func UserIDGTE(v int64) predicate.BatchImageJob {
  278. return predicate.BatchImageJob(sql.FieldGTE(FieldUserID, v))
  279. }
  280. // UserIDLT applies the LT predicate on the "user_id" field.
  281. func UserIDLT(v int64) predicate.BatchImageJob {
  282. return predicate.BatchImageJob(sql.FieldLT(FieldUserID, v))
  283. }
  284. // UserIDLTE applies the LTE predicate on the "user_id" field.
  285. func UserIDLTE(v int64) predicate.BatchImageJob {
  286. return predicate.BatchImageJob(sql.FieldLTE(FieldUserID, v))
  287. }
  288. // APIKeyIDEQ applies the EQ predicate on the "api_key_id" field.
  289. func APIKeyIDEQ(v int64) predicate.BatchImageJob {
  290. return predicate.BatchImageJob(sql.FieldEQ(FieldAPIKeyID, v))
  291. }
  292. // APIKeyIDNEQ applies the NEQ predicate on the "api_key_id" field.
  293. func APIKeyIDNEQ(v int64) predicate.BatchImageJob {
  294. return predicate.BatchImageJob(sql.FieldNEQ(FieldAPIKeyID, v))
  295. }
  296. // APIKeyIDIn applies the In predicate on the "api_key_id" field.
  297. func APIKeyIDIn(vs ...int64) predicate.BatchImageJob {
  298. return predicate.BatchImageJob(sql.FieldIn(FieldAPIKeyID, vs...))
  299. }
  300. // APIKeyIDNotIn applies the NotIn predicate on the "api_key_id" field.
  301. func APIKeyIDNotIn(vs ...int64) predicate.BatchImageJob {
  302. return predicate.BatchImageJob(sql.FieldNotIn(FieldAPIKeyID, vs...))
  303. }
  304. // APIKeyIDGT applies the GT predicate on the "api_key_id" field.
  305. func APIKeyIDGT(v int64) predicate.BatchImageJob {
  306. return predicate.BatchImageJob(sql.FieldGT(FieldAPIKeyID, v))
  307. }
  308. // APIKeyIDGTE applies the GTE predicate on the "api_key_id" field.
  309. func APIKeyIDGTE(v int64) predicate.BatchImageJob {
  310. return predicate.BatchImageJob(sql.FieldGTE(FieldAPIKeyID, v))
  311. }
  312. // APIKeyIDLT applies the LT predicate on the "api_key_id" field.
  313. func APIKeyIDLT(v int64) predicate.BatchImageJob {
  314. return predicate.BatchImageJob(sql.FieldLT(FieldAPIKeyID, v))
  315. }
  316. // APIKeyIDLTE applies the LTE predicate on the "api_key_id" field.
  317. func APIKeyIDLTE(v int64) predicate.BatchImageJob {
  318. return predicate.BatchImageJob(sql.FieldLTE(FieldAPIKeyID, v))
  319. }
  320. // APIKeyIDIsNil applies the IsNil predicate on the "api_key_id" field.
  321. func APIKeyIDIsNil() predicate.BatchImageJob {
  322. return predicate.BatchImageJob(sql.FieldIsNull(FieldAPIKeyID))
  323. }
  324. // APIKeyIDNotNil applies the NotNil predicate on the "api_key_id" field.
  325. func APIKeyIDNotNil() predicate.BatchImageJob {
  326. return predicate.BatchImageJob(sql.FieldNotNull(FieldAPIKeyID))
  327. }
  328. // AccountIDEQ applies the EQ predicate on the "account_id" field.
  329. func AccountIDEQ(v int64) predicate.BatchImageJob {
  330. return predicate.BatchImageJob(sql.FieldEQ(FieldAccountID, v))
  331. }
  332. // AccountIDNEQ applies the NEQ predicate on the "account_id" field.
  333. func AccountIDNEQ(v int64) predicate.BatchImageJob {
  334. return predicate.BatchImageJob(sql.FieldNEQ(FieldAccountID, v))
  335. }
  336. // AccountIDIn applies the In predicate on the "account_id" field.
  337. func AccountIDIn(vs ...int64) predicate.BatchImageJob {
  338. return predicate.BatchImageJob(sql.FieldIn(FieldAccountID, vs...))
  339. }
  340. // AccountIDNotIn applies the NotIn predicate on the "account_id" field.
  341. func AccountIDNotIn(vs ...int64) predicate.BatchImageJob {
  342. return predicate.BatchImageJob(sql.FieldNotIn(FieldAccountID, vs...))
  343. }
  344. // AccountIDGT applies the GT predicate on the "account_id" field.
  345. func AccountIDGT(v int64) predicate.BatchImageJob {
  346. return predicate.BatchImageJob(sql.FieldGT(FieldAccountID, v))
  347. }
  348. // AccountIDGTE applies the GTE predicate on the "account_id" field.
  349. func AccountIDGTE(v int64) predicate.BatchImageJob {
  350. return predicate.BatchImageJob(sql.FieldGTE(FieldAccountID, v))
  351. }
  352. // AccountIDLT applies the LT predicate on the "account_id" field.
  353. func AccountIDLT(v int64) predicate.BatchImageJob {
  354. return predicate.BatchImageJob(sql.FieldLT(FieldAccountID, v))
  355. }
  356. // AccountIDLTE applies the LTE predicate on the "account_id" field.
  357. func AccountIDLTE(v int64) predicate.BatchImageJob {
  358. return predicate.BatchImageJob(sql.FieldLTE(FieldAccountID, v))
  359. }
  360. // AccountIDIsNil applies the IsNil predicate on the "account_id" field.
  361. func AccountIDIsNil() predicate.BatchImageJob {
  362. return predicate.BatchImageJob(sql.FieldIsNull(FieldAccountID))
  363. }
  364. // AccountIDNotNil applies the NotNil predicate on the "account_id" field.
  365. func AccountIDNotNil() predicate.BatchImageJob {
  366. return predicate.BatchImageJob(sql.FieldNotNull(FieldAccountID))
  367. }
  368. // ProviderEQ applies the EQ predicate on the "provider" field.
  369. func ProviderEQ(v string) predicate.BatchImageJob {
  370. return predicate.BatchImageJob(sql.FieldEQ(FieldProvider, v))
  371. }
  372. // ProviderNEQ applies the NEQ predicate on the "provider" field.
  373. func ProviderNEQ(v string) predicate.BatchImageJob {
  374. return predicate.BatchImageJob(sql.FieldNEQ(FieldProvider, v))
  375. }
  376. // ProviderIn applies the In predicate on the "provider" field.
  377. func ProviderIn(vs ...string) predicate.BatchImageJob {
  378. return predicate.BatchImageJob(sql.FieldIn(FieldProvider, vs...))
  379. }
  380. // ProviderNotIn applies the NotIn predicate on the "provider" field.
  381. func ProviderNotIn(vs ...string) predicate.BatchImageJob {
  382. return predicate.BatchImageJob(sql.FieldNotIn(FieldProvider, vs...))
  383. }
  384. // ProviderGT applies the GT predicate on the "provider" field.
  385. func ProviderGT(v string) predicate.BatchImageJob {
  386. return predicate.BatchImageJob(sql.FieldGT(FieldProvider, v))
  387. }
  388. // ProviderGTE applies the GTE predicate on the "provider" field.
  389. func ProviderGTE(v string) predicate.BatchImageJob {
  390. return predicate.BatchImageJob(sql.FieldGTE(FieldProvider, v))
  391. }
  392. // ProviderLT applies the LT predicate on the "provider" field.
  393. func ProviderLT(v string) predicate.BatchImageJob {
  394. return predicate.BatchImageJob(sql.FieldLT(FieldProvider, v))
  395. }
  396. // ProviderLTE applies the LTE predicate on the "provider" field.
  397. func ProviderLTE(v string) predicate.BatchImageJob {
  398. return predicate.BatchImageJob(sql.FieldLTE(FieldProvider, v))
  399. }
  400. // ProviderContains applies the Contains predicate on the "provider" field.
  401. func ProviderContains(v string) predicate.BatchImageJob {
  402. return predicate.BatchImageJob(sql.FieldContains(FieldProvider, v))
  403. }
  404. // ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.
  405. func ProviderHasPrefix(v string) predicate.BatchImageJob {
  406. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldProvider, v))
  407. }
  408. // ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.
  409. func ProviderHasSuffix(v string) predicate.BatchImageJob {
  410. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldProvider, v))
  411. }
  412. // ProviderEqualFold applies the EqualFold predicate on the "provider" field.
  413. func ProviderEqualFold(v string) predicate.BatchImageJob {
  414. return predicate.BatchImageJob(sql.FieldEqualFold(FieldProvider, v))
  415. }
  416. // ProviderContainsFold applies the ContainsFold predicate on the "provider" field.
  417. func ProviderContainsFold(v string) predicate.BatchImageJob {
  418. return predicate.BatchImageJob(sql.FieldContainsFold(FieldProvider, v))
  419. }
  420. // ModelEQ applies the EQ predicate on the "model" field.
  421. func ModelEQ(v string) predicate.BatchImageJob {
  422. return predicate.BatchImageJob(sql.FieldEQ(FieldModel, v))
  423. }
  424. // ModelNEQ applies the NEQ predicate on the "model" field.
  425. func ModelNEQ(v string) predicate.BatchImageJob {
  426. return predicate.BatchImageJob(sql.FieldNEQ(FieldModel, v))
  427. }
  428. // ModelIn applies the In predicate on the "model" field.
  429. func ModelIn(vs ...string) predicate.BatchImageJob {
  430. return predicate.BatchImageJob(sql.FieldIn(FieldModel, vs...))
  431. }
  432. // ModelNotIn applies the NotIn predicate on the "model" field.
  433. func ModelNotIn(vs ...string) predicate.BatchImageJob {
  434. return predicate.BatchImageJob(sql.FieldNotIn(FieldModel, vs...))
  435. }
  436. // ModelGT applies the GT predicate on the "model" field.
  437. func ModelGT(v string) predicate.BatchImageJob {
  438. return predicate.BatchImageJob(sql.FieldGT(FieldModel, v))
  439. }
  440. // ModelGTE applies the GTE predicate on the "model" field.
  441. func ModelGTE(v string) predicate.BatchImageJob {
  442. return predicate.BatchImageJob(sql.FieldGTE(FieldModel, v))
  443. }
  444. // ModelLT applies the LT predicate on the "model" field.
  445. func ModelLT(v string) predicate.BatchImageJob {
  446. return predicate.BatchImageJob(sql.FieldLT(FieldModel, v))
  447. }
  448. // ModelLTE applies the LTE predicate on the "model" field.
  449. func ModelLTE(v string) predicate.BatchImageJob {
  450. return predicate.BatchImageJob(sql.FieldLTE(FieldModel, v))
  451. }
  452. // ModelContains applies the Contains predicate on the "model" field.
  453. func ModelContains(v string) predicate.BatchImageJob {
  454. return predicate.BatchImageJob(sql.FieldContains(FieldModel, v))
  455. }
  456. // ModelHasPrefix applies the HasPrefix predicate on the "model" field.
  457. func ModelHasPrefix(v string) predicate.BatchImageJob {
  458. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldModel, v))
  459. }
  460. // ModelHasSuffix applies the HasSuffix predicate on the "model" field.
  461. func ModelHasSuffix(v string) predicate.BatchImageJob {
  462. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldModel, v))
  463. }
  464. // ModelEqualFold applies the EqualFold predicate on the "model" field.
  465. func ModelEqualFold(v string) predicate.BatchImageJob {
  466. return predicate.BatchImageJob(sql.FieldEqualFold(FieldModel, v))
  467. }
  468. // ModelContainsFold applies the ContainsFold predicate on the "model" field.
  469. func ModelContainsFold(v string) predicate.BatchImageJob {
  470. return predicate.BatchImageJob(sql.FieldContainsFold(FieldModel, v))
  471. }
  472. // TaskNameEQ applies the EQ predicate on the "task_name" field.
  473. func TaskNameEQ(v string) predicate.BatchImageJob {
  474. return predicate.BatchImageJob(sql.FieldEQ(FieldTaskName, v))
  475. }
  476. // TaskNameNEQ applies the NEQ predicate on the "task_name" field.
  477. func TaskNameNEQ(v string) predicate.BatchImageJob {
  478. return predicate.BatchImageJob(sql.FieldNEQ(FieldTaskName, v))
  479. }
  480. // TaskNameIn applies the In predicate on the "task_name" field.
  481. func TaskNameIn(vs ...string) predicate.BatchImageJob {
  482. return predicate.BatchImageJob(sql.FieldIn(FieldTaskName, vs...))
  483. }
  484. // TaskNameNotIn applies the NotIn predicate on the "task_name" field.
  485. func TaskNameNotIn(vs ...string) predicate.BatchImageJob {
  486. return predicate.BatchImageJob(sql.FieldNotIn(FieldTaskName, vs...))
  487. }
  488. // TaskNameGT applies the GT predicate on the "task_name" field.
  489. func TaskNameGT(v string) predicate.BatchImageJob {
  490. return predicate.BatchImageJob(sql.FieldGT(FieldTaskName, v))
  491. }
  492. // TaskNameGTE applies the GTE predicate on the "task_name" field.
  493. func TaskNameGTE(v string) predicate.BatchImageJob {
  494. return predicate.BatchImageJob(sql.FieldGTE(FieldTaskName, v))
  495. }
  496. // TaskNameLT applies the LT predicate on the "task_name" field.
  497. func TaskNameLT(v string) predicate.BatchImageJob {
  498. return predicate.BatchImageJob(sql.FieldLT(FieldTaskName, v))
  499. }
  500. // TaskNameLTE applies the LTE predicate on the "task_name" field.
  501. func TaskNameLTE(v string) predicate.BatchImageJob {
  502. return predicate.BatchImageJob(sql.FieldLTE(FieldTaskName, v))
  503. }
  504. // TaskNameContains applies the Contains predicate on the "task_name" field.
  505. func TaskNameContains(v string) predicate.BatchImageJob {
  506. return predicate.BatchImageJob(sql.FieldContains(FieldTaskName, v))
  507. }
  508. // TaskNameHasPrefix applies the HasPrefix predicate on the "task_name" field.
  509. func TaskNameHasPrefix(v string) predicate.BatchImageJob {
  510. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldTaskName, v))
  511. }
  512. // TaskNameHasSuffix applies the HasSuffix predicate on the "task_name" field.
  513. func TaskNameHasSuffix(v string) predicate.BatchImageJob {
  514. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldTaskName, v))
  515. }
  516. // TaskNameEqualFold applies the EqualFold predicate on the "task_name" field.
  517. func TaskNameEqualFold(v string) predicate.BatchImageJob {
  518. return predicate.BatchImageJob(sql.FieldEqualFold(FieldTaskName, v))
  519. }
  520. // TaskNameContainsFold applies the ContainsFold predicate on the "task_name" field.
  521. func TaskNameContainsFold(v string) predicate.BatchImageJob {
  522. return predicate.BatchImageJob(sql.FieldContainsFold(FieldTaskName, v))
  523. }
  524. // StatusEQ applies the EQ predicate on the "status" field.
  525. func StatusEQ(v string) predicate.BatchImageJob {
  526. return predicate.BatchImageJob(sql.FieldEQ(FieldStatus, v))
  527. }
  528. // StatusNEQ applies the NEQ predicate on the "status" field.
  529. func StatusNEQ(v string) predicate.BatchImageJob {
  530. return predicate.BatchImageJob(sql.FieldNEQ(FieldStatus, v))
  531. }
  532. // StatusIn applies the In predicate on the "status" field.
  533. func StatusIn(vs ...string) predicate.BatchImageJob {
  534. return predicate.BatchImageJob(sql.FieldIn(FieldStatus, vs...))
  535. }
  536. // StatusNotIn applies the NotIn predicate on the "status" field.
  537. func StatusNotIn(vs ...string) predicate.BatchImageJob {
  538. return predicate.BatchImageJob(sql.FieldNotIn(FieldStatus, vs...))
  539. }
  540. // StatusGT applies the GT predicate on the "status" field.
  541. func StatusGT(v string) predicate.BatchImageJob {
  542. return predicate.BatchImageJob(sql.FieldGT(FieldStatus, v))
  543. }
  544. // StatusGTE applies the GTE predicate on the "status" field.
  545. func StatusGTE(v string) predicate.BatchImageJob {
  546. return predicate.BatchImageJob(sql.FieldGTE(FieldStatus, v))
  547. }
  548. // StatusLT applies the LT predicate on the "status" field.
  549. func StatusLT(v string) predicate.BatchImageJob {
  550. return predicate.BatchImageJob(sql.FieldLT(FieldStatus, v))
  551. }
  552. // StatusLTE applies the LTE predicate on the "status" field.
  553. func StatusLTE(v string) predicate.BatchImageJob {
  554. return predicate.BatchImageJob(sql.FieldLTE(FieldStatus, v))
  555. }
  556. // StatusContains applies the Contains predicate on the "status" field.
  557. func StatusContains(v string) predicate.BatchImageJob {
  558. return predicate.BatchImageJob(sql.FieldContains(FieldStatus, v))
  559. }
  560. // StatusHasPrefix applies the HasPrefix predicate on the "status" field.
  561. func StatusHasPrefix(v string) predicate.BatchImageJob {
  562. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldStatus, v))
  563. }
  564. // StatusHasSuffix applies the HasSuffix predicate on the "status" field.
  565. func StatusHasSuffix(v string) predicate.BatchImageJob {
  566. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldStatus, v))
  567. }
  568. // StatusEqualFold applies the EqualFold predicate on the "status" field.
  569. func StatusEqualFold(v string) predicate.BatchImageJob {
  570. return predicate.BatchImageJob(sql.FieldEqualFold(FieldStatus, v))
  571. }
  572. // StatusContainsFold applies the ContainsFold predicate on the "status" field.
  573. func StatusContainsFold(v string) predicate.BatchImageJob {
  574. return predicate.BatchImageJob(sql.FieldContainsFold(FieldStatus, v))
  575. }
  576. // ProviderJobNameEQ applies the EQ predicate on the "provider_job_name" field.
  577. func ProviderJobNameEQ(v string) predicate.BatchImageJob {
  578. return predicate.BatchImageJob(sql.FieldEQ(FieldProviderJobName, v))
  579. }
  580. // ProviderJobNameNEQ applies the NEQ predicate on the "provider_job_name" field.
  581. func ProviderJobNameNEQ(v string) predicate.BatchImageJob {
  582. return predicate.BatchImageJob(sql.FieldNEQ(FieldProviderJobName, v))
  583. }
  584. // ProviderJobNameIn applies the In predicate on the "provider_job_name" field.
  585. func ProviderJobNameIn(vs ...string) predicate.BatchImageJob {
  586. return predicate.BatchImageJob(sql.FieldIn(FieldProviderJobName, vs...))
  587. }
  588. // ProviderJobNameNotIn applies the NotIn predicate on the "provider_job_name" field.
  589. func ProviderJobNameNotIn(vs ...string) predicate.BatchImageJob {
  590. return predicate.BatchImageJob(sql.FieldNotIn(FieldProviderJobName, vs...))
  591. }
  592. // ProviderJobNameGT applies the GT predicate on the "provider_job_name" field.
  593. func ProviderJobNameGT(v string) predicate.BatchImageJob {
  594. return predicate.BatchImageJob(sql.FieldGT(FieldProviderJobName, v))
  595. }
  596. // ProviderJobNameGTE applies the GTE predicate on the "provider_job_name" field.
  597. func ProviderJobNameGTE(v string) predicate.BatchImageJob {
  598. return predicate.BatchImageJob(sql.FieldGTE(FieldProviderJobName, v))
  599. }
  600. // ProviderJobNameLT applies the LT predicate on the "provider_job_name" field.
  601. func ProviderJobNameLT(v string) predicate.BatchImageJob {
  602. return predicate.BatchImageJob(sql.FieldLT(FieldProviderJobName, v))
  603. }
  604. // ProviderJobNameLTE applies the LTE predicate on the "provider_job_name" field.
  605. func ProviderJobNameLTE(v string) predicate.BatchImageJob {
  606. return predicate.BatchImageJob(sql.FieldLTE(FieldProviderJobName, v))
  607. }
  608. // ProviderJobNameContains applies the Contains predicate on the "provider_job_name" field.
  609. func ProviderJobNameContains(v string) predicate.BatchImageJob {
  610. return predicate.BatchImageJob(sql.FieldContains(FieldProviderJobName, v))
  611. }
  612. // ProviderJobNameHasPrefix applies the HasPrefix predicate on the "provider_job_name" field.
  613. func ProviderJobNameHasPrefix(v string) predicate.BatchImageJob {
  614. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldProviderJobName, v))
  615. }
  616. // ProviderJobNameHasSuffix applies the HasSuffix predicate on the "provider_job_name" field.
  617. func ProviderJobNameHasSuffix(v string) predicate.BatchImageJob {
  618. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldProviderJobName, v))
  619. }
  620. // ProviderJobNameIsNil applies the IsNil predicate on the "provider_job_name" field.
  621. func ProviderJobNameIsNil() predicate.BatchImageJob {
  622. return predicate.BatchImageJob(sql.FieldIsNull(FieldProviderJobName))
  623. }
  624. // ProviderJobNameNotNil applies the NotNil predicate on the "provider_job_name" field.
  625. func ProviderJobNameNotNil() predicate.BatchImageJob {
  626. return predicate.BatchImageJob(sql.FieldNotNull(FieldProviderJobName))
  627. }
  628. // ProviderJobNameEqualFold applies the EqualFold predicate on the "provider_job_name" field.
  629. func ProviderJobNameEqualFold(v string) predicate.BatchImageJob {
  630. return predicate.BatchImageJob(sql.FieldEqualFold(FieldProviderJobName, v))
  631. }
  632. // ProviderJobNameContainsFold applies the ContainsFold predicate on the "provider_job_name" field.
  633. func ProviderJobNameContainsFold(v string) predicate.BatchImageJob {
  634. return predicate.BatchImageJob(sql.FieldContainsFold(FieldProviderJobName, v))
  635. }
  636. // ProviderInputRefEQ applies the EQ predicate on the "provider_input_ref" field.
  637. func ProviderInputRefEQ(v string) predicate.BatchImageJob {
  638. return predicate.BatchImageJob(sql.FieldEQ(FieldProviderInputRef, v))
  639. }
  640. // ProviderInputRefNEQ applies the NEQ predicate on the "provider_input_ref" field.
  641. func ProviderInputRefNEQ(v string) predicate.BatchImageJob {
  642. return predicate.BatchImageJob(sql.FieldNEQ(FieldProviderInputRef, v))
  643. }
  644. // ProviderInputRefIn applies the In predicate on the "provider_input_ref" field.
  645. func ProviderInputRefIn(vs ...string) predicate.BatchImageJob {
  646. return predicate.BatchImageJob(sql.FieldIn(FieldProviderInputRef, vs...))
  647. }
  648. // ProviderInputRefNotIn applies the NotIn predicate on the "provider_input_ref" field.
  649. func ProviderInputRefNotIn(vs ...string) predicate.BatchImageJob {
  650. return predicate.BatchImageJob(sql.FieldNotIn(FieldProviderInputRef, vs...))
  651. }
  652. // ProviderInputRefGT applies the GT predicate on the "provider_input_ref" field.
  653. func ProviderInputRefGT(v string) predicate.BatchImageJob {
  654. return predicate.BatchImageJob(sql.FieldGT(FieldProviderInputRef, v))
  655. }
  656. // ProviderInputRefGTE applies the GTE predicate on the "provider_input_ref" field.
  657. func ProviderInputRefGTE(v string) predicate.BatchImageJob {
  658. return predicate.BatchImageJob(sql.FieldGTE(FieldProviderInputRef, v))
  659. }
  660. // ProviderInputRefLT applies the LT predicate on the "provider_input_ref" field.
  661. func ProviderInputRefLT(v string) predicate.BatchImageJob {
  662. return predicate.BatchImageJob(sql.FieldLT(FieldProviderInputRef, v))
  663. }
  664. // ProviderInputRefLTE applies the LTE predicate on the "provider_input_ref" field.
  665. func ProviderInputRefLTE(v string) predicate.BatchImageJob {
  666. return predicate.BatchImageJob(sql.FieldLTE(FieldProviderInputRef, v))
  667. }
  668. // ProviderInputRefContains applies the Contains predicate on the "provider_input_ref" field.
  669. func ProviderInputRefContains(v string) predicate.BatchImageJob {
  670. return predicate.BatchImageJob(sql.FieldContains(FieldProviderInputRef, v))
  671. }
  672. // ProviderInputRefHasPrefix applies the HasPrefix predicate on the "provider_input_ref" field.
  673. func ProviderInputRefHasPrefix(v string) predicate.BatchImageJob {
  674. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldProviderInputRef, v))
  675. }
  676. // ProviderInputRefHasSuffix applies the HasSuffix predicate on the "provider_input_ref" field.
  677. func ProviderInputRefHasSuffix(v string) predicate.BatchImageJob {
  678. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldProviderInputRef, v))
  679. }
  680. // ProviderInputRefIsNil applies the IsNil predicate on the "provider_input_ref" field.
  681. func ProviderInputRefIsNil() predicate.BatchImageJob {
  682. return predicate.BatchImageJob(sql.FieldIsNull(FieldProviderInputRef))
  683. }
  684. // ProviderInputRefNotNil applies the NotNil predicate on the "provider_input_ref" field.
  685. func ProviderInputRefNotNil() predicate.BatchImageJob {
  686. return predicate.BatchImageJob(sql.FieldNotNull(FieldProviderInputRef))
  687. }
  688. // ProviderInputRefEqualFold applies the EqualFold predicate on the "provider_input_ref" field.
  689. func ProviderInputRefEqualFold(v string) predicate.BatchImageJob {
  690. return predicate.BatchImageJob(sql.FieldEqualFold(FieldProviderInputRef, v))
  691. }
  692. // ProviderInputRefContainsFold applies the ContainsFold predicate on the "provider_input_ref" field.
  693. func ProviderInputRefContainsFold(v string) predicate.BatchImageJob {
  694. return predicate.BatchImageJob(sql.FieldContainsFold(FieldProviderInputRef, v))
  695. }
  696. // ProviderOutputRefEQ applies the EQ predicate on the "provider_output_ref" field.
  697. func ProviderOutputRefEQ(v string) predicate.BatchImageJob {
  698. return predicate.BatchImageJob(sql.FieldEQ(FieldProviderOutputRef, v))
  699. }
  700. // ProviderOutputRefNEQ applies the NEQ predicate on the "provider_output_ref" field.
  701. func ProviderOutputRefNEQ(v string) predicate.BatchImageJob {
  702. return predicate.BatchImageJob(sql.FieldNEQ(FieldProviderOutputRef, v))
  703. }
  704. // ProviderOutputRefIn applies the In predicate on the "provider_output_ref" field.
  705. func ProviderOutputRefIn(vs ...string) predicate.BatchImageJob {
  706. return predicate.BatchImageJob(sql.FieldIn(FieldProviderOutputRef, vs...))
  707. }
  708. // ProviderOutputRefNotIn applies the NotIn predicate on the "provider_output_ref" field.
  709. func ProviderOutputRefNotIn(vs ...string) predicate.BatchImageJob {
  710. return predicate.BatchImageJob(sql.FieldNotIn(FieldProviderOutputRef, vs...))
  711. }
  712. // ProviderOutputRefGT applies the GT predicate on the "provider_output_ref" field.
  713. func ProviderOutputRefGT(v string) predicate.BatchImageJob {
  714. return predicate.BatchImageJob(sql.FieldGT(FieldProviderOutputRef, v))
  715. }
  716. // ProviderOutputRefGTE applies the GTE predicate on the "provider_output_ref" field.
  717. func ProviderOutputRefGTE(v string) predicate.BatchImageJob {
  718. return predicate.BatchImageJob(sql.FieldGTE(FieldProviderOutputRef, v))
  719. }
  720. // ProviderOutputRefLT applies the LT predicate on the "provider_output_ref" field.
  721. func ProviderOutputRefLT(v string) predicate.BatchImageJob {
  722. return predicate.BatchImageJob(sql.FieldLT(FieldProviderOutputRef, v))
  723. }
  724. // ProviderOutputRefLTE applies the LTE predicate on the "provider_output_ref" field.
  725. func ProviderOutputRefLTE(v string) predicate.BatchImageJob {
  726. return predicate.BatchImageJob(sql.FieldLTE(FieldProviderOutputRef, v))
  727. }
  728. // ProviderOutputRefContains applies the Contains predicate on the "provider_output_ref" field.
  729. func ProviderOutputRefContains(v string) predicate.BatchImageJob {
  730. return predicate.BatchImageJob(sql.FieldContains(FieldProviderOutputRef, v))
  731. }
  732. // ProviderOutputRefHasPrefix applies the HasPrefix predicate on the "provider_output_ref" field.
  733. func ProviderOutputRefHasPrefix(v string) predicate.BatchImageJob {
  734. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldProviderOutputRef, v))
  735. }
  736. // ProviderOutputRefHasSuffix applies the HasSuffix predicate on the "provider_output_ref" field.
  737. func ProviderOutputRefHasSuffix(v string) predicate.BatchImageJob {
  738. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldProviderOutputRef, v))
  739. }
  740. // ProviderOutputRefIsNil applies the IsNil predicate on the "provider_output_ref" field.
  741. func ProviderOutputRefIsNil() predicate.BatchImageJob {
  742. return predicate.BatchImageJob(sql.FieldIsNull(FieldProviderOutputRef))
  743. }
  744. // ProviderOutputRefNotNil applies the NotNil predicate on the "provider_output_ref" field.
  745. func ProviderOutputRefNotNil() predicate.BatchImageJob {
  746. return predicate.BatchImageJob(sql.FieldNotNull(FieldProviderOutputRef))
  747. }
  748. // ProviderOutputRefEqualFold applies the EqualFold predicate on the "provider_output_ref" field.
  749. func ProviderOutputRefEqualFold(v string) predicate.BatchImageJob {
  750. return predicate.BatchImageJob(sql.FieldEqualFold(FieldProviderOutputRef, v))
  751. }
  752. // ProviderOutputRefContainsFold applies the ContainsFold predicate on the "provider_output_ref" field.
  753. func ProviderOutputRefContainsFold(v string) predicate.BatchImageJob {
  754. return predicate.BatchImageJob(sql.FieldContainsFold(FieldProviderOutputRef, v))
  755. }
  756. // GcsInputURIEQ applies the EQ predicate on the "gcs_input_uri" field.
  757. func GcsInputURIEQ(v string) predicate.BatchImageJob {
  758. return predicate.BatchImageJob(sql.FieldEQ(FieldGcsInputURI, v))
  759. }
  760. // GcsInputURINEQ applies the NEQ predicate on the "gcs_input_uri" field.
  761. func GcsInputURINEQ(v string) predicate.BatchImageJob {
  762. return predicate.BatchImageJob(sql.FieldNEQ(FieldGcsInputURI, v))
  763. }
  764. // GcsInputURIIn applies the In predicate on the "gcs_input_uri" field.
  765. func GcsInputURIIn(vs ...string) predicate.BatchImageJob {
  766. return predicate.BatchImageJob(sql.FieldIn(FieldGcsInputURI, vs...))
  767. }
  768. // GcsInputURINotIn applies the NotIn predicate on the "gcs_input_uri" field.
  769. func GcsInputURINotIn(vs ...string) predicate.BatchImageJob {
  770. return predicate.BatchImageJob(sql.FieldNotIn(FieldGcsInputURI, vs...))
  771. }
  772. // GcsInputURIGT applies the GT predicate on the "gcs_input_uri" field.
  773. func GcsInputURIGT(v string) predicate.BatchImageJob {
  774. return predicate.BatchImageJob(sql.FieldGT(FieldGcsInputURI, v))
  775. }
  776. // GcsInputURIGTE applies the GTE predicate on the "gcs_input_uri" field.
  777. func GcsInputURIGTE(v string) predicate.BatchImageJob {
  778. return predicate.BatchImageJob(sql.FieldGTE(FieldGcsInputURI, v))
  779. }
  780. // GcsInputURILT applies the LT predicate on the "gcs_input_uri" field.
  781. func GcsInputURILT(v string) predicate.BatchImageJob {
  782. return predicate.BatchImageJob(sql.FieldLT(FieldGcsInputURI, v))
  783. }
  784. // GcsInputURILTE applies the LTE predicate on the "gcs_input_uri" field.
  785. func GcsInputURILTE(v string) predicate.BatchImageJob {
  786. return predicate.BatchImageJob(sql.FieldLTE(FieldGcsInputURI, v))
  787. }
  788. // GcsInputURIContains applies the Contains predicate on the "gcs_input_uri" field.
  789. func GcsInputURIContains(v string) predicate.BatchImageJob {
  790. return predicate.BatchImageJob(sql.FieldContains(FieldGcsInputURI, v))
  791. }
  792. // GcsInputURIHasPrefix applies the HasPrefix predicate on the "gcs_input_uri" field.
  793. func GcsInputURIHasPrefix(v string) predicate.BatchImageJob {
  794. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldGcsInputURI, v))
  795. }
  796. // GcsInputURIHasSuffix applies the HasSuffix predicate on the "gcs_input_uri" field.
  797. func GcsInputURIHasSuffix(v string) predicate.BatchImageJob {
  798. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldGcsInputURI, v))
  799. }
  800. // GcsInputURIIsNil applies the IsNil predicate on the "gcs_input_uri" field.
  801. func GcsInputURIIsNil() predicate.BatchImageJob {
  802. return predicate.BatchImageJob(sql.FieldIsNull(FieldGcsInputURI))
  803. }
  804. // GcsInputURINotNil applies the NotNil predicate on the "gcs_input_uri" field.
  805. func GcsInputURINotNil() predicate.BatchImageJob {
  806. return predicate.BatchImageJob(sql.FieldNotNull(FieldGcsInputURI))
  807. }
  808. // GcsInputURIEqualFold applies the EqualFold predicate on the "gcs_input_uri" field.
  809. func GcsInputURIEqualFold(v string) predicate.BatchImageJob {
  810. return predicate.BatchImageJob(sql.FieldEqualFold(FieldGcsInputURI, v))
  811. }
  812. // GcsInputURIContainsFold applies the ContainsFold predicate on the "gcs_input_uri" field.
  813. func GcsInputURIContainsFold(v string) predicate.BatchImageJob {
  814. return predicate.BatchImageJob(sql.FieldContainsFold(FieldGcsInputURI, v))
  815. }
  816. // GcsOutputURIEQ applies the EQ predicate on the "gcs_output_uri" field.
  817. func GcsOutputURIEQ(v string) predicate.BatchImageJob {
  818. return predicate.BatchImageJob(sql.FieldEQ(FieldGcsOutputURI, v))
  819. }
  820. // GcsOutputURINEQ applies the NEQ predicate on the "gcs_output_uri" field.
  821. func GcsOutputURINEQ(v string) predicate.BatchImageJob {
  822. return predicate.BatchImageJob(sql.FieldNEQ(FieldGcsOutputURI, v))
  823. }
  824. // GcsOutputURIIn applies the In predicate on the "gcs_output_uri" field.
  825. func GcsOutputURIIn(vs ...string) predicate.BatchImageJob {
  826. return predicate.BatchImageJob(sql.FieldIn(FieldGcsOutputURI, vs...))
  827. }
  828. // GcsOutputURINotIn applies the NotIn predicate on the "gcs_output_uri" field.
  829. func GcsOutputURINotIn(vs ...string) predicate.BatchImageJob {
  830. return predicate.BatchImageJob(sql.FieldNotIn(FieldGcsOutputURI, vs...))
  831. }
  832. // GcsOutputURIGT applies the GT predicate on the "gcs_output_uri" field.
  833. func GcsOutputURIGT(v string) predicate.BatchImageJob {
  834. return predicate.BatchImageJob(sql.FieldGT(FieldGcsOutputURI, v))
  835. }
  836. // GcsOutputURIGTE applies the GTE predicate on the "gcs_output_uri" field.
  837. func GcsOutputURIGTE(v string) predicate.BatchImageJob {
  838. return predicate.BatchImageJob(sql.FieldGTE(FieldGcsOutputURI, v))
  839. }
  840. // GcsOutputURILT applies the LT predicate on the "gcs_output_uri" field.
  841. func GcsOutputURILT(v string) predicate.BatchImageJob {
  842. return predicate.BatchImageJob(sql.FieldLT(FieldGcsOutputURI, v))
  843. }
  844. // GcsOutputURILTE applies the LTE predicate on the "gcs_output_uri" field.
  845. func GcsOutputURILTE(v string) predicate.BatchImageJob {
  846. return predicate.BatchImageJob(sql.FieldLTE(FieldGcsOutputURI, v))
  847. }
  848. // GcsOutputURIContains applies the Contains predicate on the "gcs_output_uri" field.
  849. func GcsOutputURIContains(v string) predicate.BatchImageJob {
  850. return predicate.BatchImageJob(sql.FieldContains(FieldGcsOutputURI, v))
  851. }
  852. // GcsOutputURIHasPrefix applies the HasPrefix predicate on the "gcs_output_uri" field.
  853. func GcsOutputURIHasPrefix(v string) predicate.BatchImageJob {
  854. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldGcsOutputURI, v))
  855. }
  856. // GcsOutputURIHasSuffix applies the HasSuffix predicate on the "gcs_output_uri" field.
  857. func GcsOutputURIHasSuffix(v string) predicate.BatchImageJob {
  858. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldGcsOutputURI, v))
  859. }
  860. // GcsOutputURIIsNil applies the IsNil predicate on the "gcs_output_uri" field.
  861. func GcsOutputURIIsNil() predicate.BatchImageJob {
  862. return predicate.BatchImageJob(sql.FieldIsNull(FieldGcsOutputURI))
  863. }
  864. // GcsOutputURINotNil applies the NotNil predicate on the "gcs_output_uri" field.
  865. func GcsOutputURINotNil() predicate.BatchImageJob {
  866. return predicate.BatchImageJob(sql.FieldNotNull(FieldGcsOutputURI))
  867. }
  868. // GcsOutputURIEqualFold applies the EqualFold predicate on the "gcs_output_uri" field.
  869. func GcsOutputURIEqualFold(v string) predicate.BatchImageJob {
  870. return predicate.BatchImageJob(sql.FieldEqualFold(FieldGcsOutputURI, v))
  871. }
  872. // GcsOutputURIContainsFold applies the ContainsFold predicate on the "gcs_output_uri" field.
  873. func GcsOutputURIContainsFold(v string) predicate.BatchImageJob {
  874. return predicate.BatchImageJob(sql.FieldContainsFold(FieldGcsOutputURI, v))
  875. }
  876. // ItemCountEQ applies the EQ predicate on the "item_count" field.
  877. func ItemCountEQ(v int) predicate.BatchImageJob {
  878. return predicate.BatchImageJob(sql.FieldEQ(FieldItemCount, v))
  879. }
  880. // ItemCountNEQ applies the NEQ predicate on the "item_count" field.
  881. func ItemCountNEQ(v int) predicate.BatchImageJob {
  882. return predicate.BatchImageJob(sql.FieldNEQ(FieldItemCount, v))
  883. }
  884. // ItemCountIn applies the In predicate on the "item_count" field.
  885. func ItemCountIn(vs ...int) predicate.BatchImageJob {
  886. return predicate.BatchImageJob(sql.FieldIn(FieldItemCount, vs...))
  887. }
  888. // ItemCountNotIn applies the NotIn predicate on the "item_count" field.
  889. func ItemCountNotIn(vs ...int) predicate.BatchImageJob {
  890. return predicate.BatchImageJob(sql.FieldNotIn(FieldItemCount, vs...))
  891. }
  892. // ItemCountGT applies the GT predicate on the "item_count" field.
  893. func ItemCountGT(v int) predicate.BatchImageJob {
  894. return predicate.BatchImageJob(sql.FieldGT(FieldItemCount, v))
  895. }
  896. // ItemCountGTE applies the GTE predicate on the "item_count" field.
  897. func ItemCountGTE(v int) predicate.BatchImageJob {
  898. return predicate.BatchImageJob(sql.FieldGTE(FieldItemCount, v))
  899. }
  900. // ItemCountLT applies the LT predicate on the "item_count" field.
  901. func ItemCountLT(v int) predicate.BatchImageJob {
  902. return predicate.BatchImageJob(sql.FieldLT(FieldItemCount, v))
  903. }
  904. // ItemCountLTE applies the LTE predicate on the "item_count" field.
  905. func ItemCountLTE(v int) predicate.BatchImageJob {
  906. return predicate.BatchImageJob(sql.FieldLTE(FieldItemCount, v))
  907. }
  908. // SuccessCountEQ applies the EQ predicate on the "success_count" field.
  909. func SuccessCountEQ(v int) predicate.BatchImageJob {
  910. return predicate.BatchImageJob(sql.FieldEQ(FieldSuccessCount, v))
  911. }
  912. // SuccessCountNEQ applies the NEQ predicate on the "success_count" field.
  913. func SuccessCountNEQ(v int) predicate.BatchImageJob {
  914. return predicate.BatchImageJob(sql.FieldNEQ(FieldSuccessCount, v))
  915. }
  916. // SuccessCountIn applies the In predicate on the "success_count" field.
  917. func SuccessCountIn(vs ...int) predicate.BatchImageJob {
  918. return predicate.BatchImageJob(sql.FieldIn(FieldSuccessCount, vs...))
  919. }
  920. // SuccessCountNotIn applies the NotIn predicate on the "success_count" field.
  921. func SuccessCountNotIn(vs ...int) predicate.BatchImageJob {
  922. return predicate.BatchImageJob(sql.FieldNotIn(FieldSuccessCount, vs...))
  923. }
  924. // SuccessCountGT applies the GT predicate on the "success_count" field.
  925. func SuccessCountGT(v int) predicate.BatchImageJob {
  926. return predicate.BatchImageJob(sql.FieldGT(FieldSuccessCount, v))
  927. }
  928. // SuccessCountGTE applies the GTE predicate on the "success_count" field.
  929. func SuccessCountGTE(v int) predicate.BatchImageJob {
  930. return predicate.BatchImageJob(sql.FieldGTE(FieldSuccessCount, v))
  931. }
  932. // SuccessCountLT applies the LT predicate on the "success_count" field.
  933. func SuccessCountLT(v int) predicate.BatchImageJob {
  934. return predicate.BatchImageJob(sql.FieldLT(FieldSuccessCount, v))
  935. }
  936. // SuccessCountLTE applies the LTE predicate on the "success_count" field.
  937. func SuccessCountLTE(v int) predicate.BatchImageJob {
  938. return predicate.BatchImageJob(sql.FieldLTE(FieldSuccessCount, v))
  939. }
  940. // FailCountEQ applies the EQ predicate on the "fail_count" field.
  941. func FailCountEQ(v int) predicate.BatchImageJob {
  942. return predicate.BatchImageJob(sql.FieldEQ(FieldFailCount, v))
  943. }
  944. // FailCountNEQ applies the NEQ predicate on the "fail_count" field.
  945. func FailCountNEQ(v int) predicate.BatchImageJob {
  946. return predicate.BatchImageJob(sql.FieldNEQ(FieldFailCount, v))
  947. }
  948. // FailCountIn applies the In predicate on the "fail_count" field.
  949. func FailCountIn(vs ...int) predicate.BatchImageJob {
  950. return predicate.BatchImageJob(sql.FieldIn(FieldFailCount, vs...))
  951. }
  952. // FailCountNotIn applies the NotIn predicate on the "fail_count" field.
  953. func FailCountNotIn(vs ...int) predicate.BatchImageJob {
  954. return predicate.BatchImageJob(sql.FieldNotIn(FieldFailCount, vs...))
  955. }
  956. // FailCountGT applies the GT predicate on the "fail_count" field.
  957. func FailCountGT(v int) predicate.BatchImageJob {
  958. return predicate.BatchImageJob(sql.FieldGT(FieldFailCount, v))
  959. }
  960. // FailCountGTE applies the GTE predicate on the "fail_count" field.
  961. func FailCountGTE(v int) predicate.BatchImageJob {
  962. return predicate.BatchImageJob(sql.FieldGTE(FieldFailCount, v))
  963. }
  964. // FailCountLT applies the LT predicate on the "fail_count" field.
  965. func FailCountLT(v int) predicate.BatchImageJob {
  966. return predicate.BatchImageJob(sql.FieldLT(FieldFailCount, v))
  967. }
  968. // FailCountLTE applies the LTE predicate on the "fail_count" field.
  969. func FailCountLTE(v int) predicate.BatchImageJob {
  970. return predicate.BatchImageJob(sql.FieldLTE(FieldFailCount, v))
  971. }
  972. // CancelledCountEQ applies the EQ predicate on the "cancelled_count" field.
  973. func CancelledCountEQ(v int) predicate.BatchImageJob {
  974. return predicate.BatchImageJob(sql.FieldEQ(FieldCancelledCount, v))
  975. }
  976. // CancelledCountNEQ applies the NEQ predicate on the "cancelled_count" field.
  977. func CancelledCountNEQ(v int) predicate.BatchImageJob {
  978. return predicate.BatchImageJob(sql.FieldNEQ(FieldCancelledCount, v))
  979. }
  980. // CancelledCountIn applies the In predicate on the "cancelled_count" field.
  981. func CancelledCountIn(vs ...int) predicate.BatchImageJob {
  982. return predicate.BatchImageJob(sql.FieldIn(FieldCancelledCount, vs...))
  983. }
  984. // CancelledCountNotIn applies the NotIn predicate on the "cancelled_count" field.
  985. func CancelledCountNotIn(vs ...int) predicate.BatchImageJob {
  986. return predicate.BatchImageJob(sql.FieldNotIn(FieldCancelledCount, vs...))
  987. }
  988. // CancelledCountGT applies the GT predicate on the "cancelled_count" field.
  989. func CancelledCountGT(v int) predicate.BatchImageJob {
  990. return predicate.BatchImageJob(sql.FieldGT(FieldCancelledCount, v))
  991. }
  992. // CancelledCountGTE applies the GTE predicate on the "cancelled_count" field.
  993. func CancelledCountGTE(v int) predicate.BatchImageJob {
  994. return predicate.BatchImageJob(sql.FieldGTE(FieldCancelledCount, v))
  995. }
  996. // CancelledCountLT applies the LT predicate on the "cancelled_count" field.
  997. func CancelledCountLT(v int) predicate.BatchImageJob {
  998. return predicate.BatchImageJob(sql.FieldLT(FieldCancelledCount, v))
  999. }
  1000. // CancelledCountLTE applies the LTE predicate on the "cancelled_count" field.
  1001. func CancelledCountLTE(v int) predicate.BatchImageJob {
  1002. return predicate.BatchImageJob(sql.FieldLTE(FieldCancelledCount, v))
  1003. }
  1004. // EstimatedCostEQ applies the EQ predicate on the "estimated_cost" field.
  1005. func EstimatedCostEQ(v float64) predicate.BatchImageJob {
  1006. return predicate.BatchImageJob(sql.FieldEQ(FieldEstimatedCost, v))
  1007. }
  1008. // EstimatedCostNEQ applies the NEQ predicate on the "estimated_cost" field.
  1009. func EstimatedCostNEQ(v float64) predicate.BatchImageJob {
  1010. return predicate.BatchImageJob(sql.FieldNEQ(FieldEstimatedCost, v))
  1011. }
  1012. // EstimatedCostIn applies the In predicate on the "estimated_cost" field.
  1013. func EstimatedCostIn(vs ...float64) predicate.BatchImageJob {
  1014. return predicate.BatchImageJob(sql.FieldIn(FieldEstimatedCost, vs...))
  1015. }
  1016. // EstimatedCostNotIn applies the NotIn predicate on the "estimated_cost" field.
  1017. func EstimatedCostNotIn(vs ...float64) predicate.BatchImageJob {
  1018. return predicate.BatchImageJob(sql.FieldNotIn(FieldEstimatedCost, vs...))
  1019. }
  1020. // EstimatedCostGT applies the GT predicate on the "estimated_cost" field.
  1021. func EstimatedCostGT(v float64) predicate.BatchImageJob {
  1022. return predicate.BatchImageJob(sql.FieldGT(FieldEstimatedCost, v))
  1023. }
  1024. // EstimatedCostGTE applies the GTE predicate on the "estimated_cost" field.
  1025. func EstimatedCostGTE(v float64) predicate.BatchImageJob {
  1026. return predicate.BatchImageJob(sql.FieldGTE(FieldEstimatedCost, v))
  1027. }
  1028. // EstimatedCostLT applies the LT predicate on the "estimated_cost" field.
  1029. func EstimatedCostLT(v float64) predicate.BatchImageJob {
  1030. return predicate.BatchImageJob(sql.FieldLT(FieldEstimatedCost, v))
  1031. }
  1032. // EstimatedCostLTE applies the LTE predicate on the "estimated_cost" field.
  1033. func EstimatedCostLTE(v float64) predicate.BatchImageJob {
  1034. return predicate.BatchImageJob(sql.FieldLTE(FieldEstimatedCost, v))
  1035. }
  1036. // HoldAmountEQ applies the EQ predicate on the "hold_amount" field.
  1037. func HoldAmountEQ(v float64) predicate.BatchImageJob {
  1038. return predicate.BatchImageJob(sql.FieldEQ(FieldHoldAmount, v))
  1039. }
  1040. // HoldAmountNEQ applies the NEQ predicate on the "hold_amount" field.
  1041. func HoldAmountNEQ(v float64) predicate.BatchImageJob {
  1042. return predicate.BatchImageJob(sql.FieldNEQ(FieldHoldAmount, v))
  1043. }
  1044. // HoldAmountIn applies the In predicate on the "hold_amount" field.
  1045. func HoldAmountIn(vs ...float64) predicate.BatchImageJob {
  1046. return predicate.BatchImageJob(sql.FieldIn(FieldHoldAmount, vs...))
  1047. }
  1048. // HoldAmountNotIn applies the NotIn predicate on the "hold_amount" field.
  1049. func HoldAmountNotIn(vs ...float64) predicate.BatchImageJob {
  1050. return predicate.BatchImageJob(sql.FieldNotIn(FieldHoldAmount, vs...))
  1051. }
  1052. // HoldAmountGT applies the GT predicate on the "hold_amount" field.
  1053. func HoldAmountGT(v float64) predicate.BatchImageJob {
  1054. return predicate.BatchImageJob(sql.FieldGT(FieldHoldAmount, v))
  1055. }
  1056. // HoldAmountGTE applies the GTE predicate on the "hold_amount" field.
  1057. func HoldAmountGTE(v float64) predicate.BatchImageJob {
  1058. return predicate.BatchImageJob(sql.FieldGTE(FieldHoldAmount, v))
  1059. }
  1060. // HoldAmountLT applies the LT predicate on the "hold_amount" field.
  1061. func HoldAmountLT(v float64) predicate.BatchImageJob {
  1062. return predicate.BatchImageJob(sql.FieldLT(FieldHoldAmount, v))
  1063. }
  1064. // HoldAmountLTE applies the LTE predicate on the "hold_amount" field.
  1065. func HoldAmountLTE(v float64) predicate.BatchImageJob {
  1066. return predicate.BatchImageJob(sql.FieldLTE(FieldHoldAmount, v))
  1067. }
  1068. // HoldAmountIsNil applies the IsNil predicate on the "hold_amount" field.
  1069. func HoldAmountIsNil() predicate.BatchImageJob {
  1070. return predicate.BatchImageJob(sql.FieldIsNull(FieldHoldAmount))
  1071. }
  1072. // HoldAmountNotNil applies the NotNil predicate on the "hold_amount" field.
  1073. func HoldAmountNotNil() predicate.BatchImageJob {
  1074. return predicate.BatchImageJob(sql.FieldNotNull(FieldHoldAmount))
  1075. }
  1076. // ActualCostEQ applies the EQ predicate on the "actual_cost" field.
  1077. func ActualCostEQ(v float64) predicate.BatchImageJob {
  1078. return predicate.BatchImageJob(sql.FieldEQ(FieldActualCost, v))
  1079. }
  1080. // ActualCostNEQ applies the NEQ predicate on the "actual_cost" field.
  1081. func ActualCostNEQ(v float64) predicate.BatchImageJob {
  1082. return predicate.BatchImageJob(sql.FieldNEQ(FieldActualCost, v))
  1083. }
  1084. // ActualCostIn applies the In predicate on the "actual_cost" field.
  1085. func ActualCostIn(vs ...float64) predicate.BatchImageJob {
  1086. return predicate.BatchImageJob(sql.FieldIn(FieldActualCost, vs...))
  1087. }
  1088. // ActualCostNotIn applies the NotIn predicate on the "actual_cost" field.
  1089. func ActualCostNotIn(vs ...float64) predicate.BatchImageJob {
  1090. return predicate.BatchImageJob(sql.FieldNotIn(FieldActualCost, vs...))
  1091. }
  1092. // ActualCostGT applies the GT predicate on the "actual_cost" field.
  1093. func ActualCostGT(v float64) predicate.BatchImageJob {
  1094. return predicate.BatchImageJob(sql.FieldGT(FieldActualCost, v))
  1095. }
  1096. // ActualCostGTE applies the GTE predicate on the "actual_cost" field.
  1097. func ActualCostGTE(v float64) predicate.BatchImageJob {
  1098. return predicate.BatchImageJob(sql.FieldGTE(FieldActualCost, v))
  1099. }
  1100. // ActualCostLT applies the LT predicate on the "actual_cost" field.
  1101. func ActualCostLT(v float64) predicate.BatchImageJob {
  1102. return predicate.BatchImageJob(sql.FieldLT(FieldActualCost, v))
  1103. }
  1104. // ActualCostLTE applies the LTE predicate on the "actual_cost" field.
  1105. func ActualCostLTE(v float64) predicate.BatchImageJob {
  1106. return predicate.BatchImageJob(sql.FieldLTE(FieldActualCost, v))
  1107. }
  1108. // ActualCostIsNil applies the IsNil predicate on the "actual_cost" field.
  1109. func ActualCostIsNil() predicate.BatchImageJob {
  1110. return predicate.BatchImageJob(sql.FieldIsNull(FieldActualCost))
  1111. }
  1112. // ActualCostNotNil applies the NotNil predicate on the "actual_cost" field.
  1113. func ActualCostNotNil() predicate.BatchImageJob {
  1114. return predicate.BatchImageJob(sql.FieldNotNull(FieldActualCost))
  1115. }
  1116. // CurrencyEQ applies the EQ predicate on the "currency" field.
  1117. func CurrencyEQ(v string) predicate.BatchImageJob {
  1118. return predicate.BatchImageJob(sql.FieldEQ(FieldCurrency, v))
  1119. }
  1120. // CurrencyNEQ applies the NEQ predicate on the "currency" field.
  1121. func CurrencyNEQ(v string) predicate.BatchImageJob {
  1122. return predicate.BatchImageJob(sql.FieldNEQ(FieldCurrency, v))
  1123. }
  1124. // CurrencyIn applies the In predicate on the "currency" field.
  1125. func CurrencyIn(vs ...string) predicate.BatchImageJob {
  1126. return predicate.BatchImageJob(sql.FieldIn(FieldCurrency, vs...))
  1127. }
  1128. // CurrencyNotIn applies the NotIn predicate on the "currency" field.
  1129. func CurrencyNotIn(vs ...string) predicate.BatchImageJob {
  1130. return predicate.BatchImageJob(sql.FieldNotIn(FieldCurrency, vs...))
  1131. }
  1132. // CurrencyGT applies the GT predicate on the "currency" field.
  1133. func CurrencyGT(v string) predicate.BatchImageJob {
  1134. return predicate.BatchImageJob(sql.FieldGT(FieldCurrency, v))
  1135. }
  1136. // CurrencyGTE applies the GTE predicate on the "currency" field.
  1137. func CurrencyGTE(v string) predicate.BatchImageJob {
  1138. return predicate.BatchImageJob(sql.FieldGTE(FieldCurrency, v))
  1139. }
  1140. // CurrencyLT applies the LT predicate on the "currency" field.
  1141. func CurrencyLT(v string) predicate.BatchImageJob {
  1142. return predicate.BatchImageJob(sql.FieldLT(FieldCurrency, v))
  1143. }
  1144. // CurrencyLTE applies the LTE predicate on the "currency" field.
  1145. func CurrencyLTE(v string) predicate.BatchImageJob {
  1146. return predicate.BatchImageJob(sql.FieldLTE(FieldCurrency, v))
  1147. }
  1148. // CurrencyContains applies the Contains predicate on the "currency" field.
  1149. func CurrencyContains(v string) predicate.BatchImageJob {
  1150. return predicate.BatchImageJob(sql.FieldContains(FieldCurrency, v))
  1151. }
  1152. // CurrencyHasPrefix applies the HasPrefix predicate on the "currency" field.
  1153. func CurrencyHasPrefix(v string) predicate.BatchImageJob {
  1154. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldCurrency, v))
  1155. }
  1156. // CurrencyHasSuffix applies the HasSuffix predicate on the "currency" field.
  1157. func CurrencyHasSuffix(v string) predicate.BatchImageJob {
  1158. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldCurrency, v))
  1159. }
  1160. // CurrencyEqualFold applies the EqualFold predicate on the "currency" field.
  1161. func CurrencyEqualFold(v string) predicate.BatchImageJob {
  1162. return predicate.BatchImageJob(sql.FieldEqualFold(FieldCurrency, v))
  1163. }
  1164. // CurrencyContainsFold applies the ContainsFold predicate on the "currency" field.
  1165. func CurrencyContainsFold(v string) predicate.BatchImageJob {
  1166. return predicate.BatchImageJob(sql.FieldContainsFold(FieldCurrency, v))
  1167. }
  1168. // HoldIDEQ applies the EQ predicate on the "hold_id" field.
  1169. func HoldIDEQ(v string) predicate.BatchImageJob {
  1170. return predicate.BatchImageJob(sql.FieldEQ(FieldHoldID, v))
  1171. }
  1172. // HoldIDNEQ applies the NEQ predicate on the "hold_id" field.
  1173. func HoldIDNEQ(v string) predicate.BatchImageJob {
  1174. return predicate.BatchImageJob(sql.FieldNEQ(FieldHoldID, v))
  1175. }
  1176. // HoldIDIn applies the In predicate on the "hold_id" field.
  1177. func HoldIDIn(vs ...string) predicate.BatchImageJob {
  1178. return predicate.BatchImageJob(sql.FieldIn(FieldHoldID, vs...))
  1179. }
  1180. // HoldIDNotIn applies the NotIn predicate on the "hold_id" field.
  1181. func HoldIDNotIn(vs ...string) predicate.BatchImageJob {
  1182. return predicate.BatchImageJob(sql.FieldNotIn(FieldHoldID, vs...))
  1183. }
  1184. // HoldIDGT applies the GT predicate on the "hold_id" field.
  1185. func HoldIDGT(v string) predicate.BatchImageJob {
  1186. return predicate.BatchImageJob(sql.FieldGT(FieldHoldID, v))
  1187. }
  1188. // HoldIDGTE applies the GTE predicate on the "hold_id" field.
  1189. func HoldIDGTE(v string) predicate.BatchImageJob {
  1190. return predicate.BatchImageJob(sql.FieldGTE(FieldHoldID, v))
  1191. }
  1192. // HoldIDLT applies the LT predicate on the "hold_id" field.
  1193. func HoldIDLT(v string) predicate.BatchImageJob {
  1194. return predicate.BatchImageJob(sql.FieldLT(FieldHoldID, v))
  1195. }
  1196. // HoldIDLTE applies the LTE predicate on the "hold_id" field.
  1197. func HoldIDLTE(v string) predicate.BatchImageJob {
  1198. return predicate.BatchImageJob(sql.FieldLTE(FieldHoldID, v))
  1199. }
  1200. // HoldIDContains applies the Contains predicate on the "hold_id" field.
  1201. func HoldIDContains(v string) predicate.BatchImageJob {
  1202. return predicate.BatchImageJob(sql.FieldContains(FieldHoldID, v))
  1203. }
  1204. // HoldIDHasPrefix applies the HasPrefix predicate on the "hold_id" field.
  1205. func HoldIDHasPrefix(v string) predicate.BatchImageJob {
  1206. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldHoldID, v))
  1207. }
  1208. // HoldIDHasSuffix applies the HasSuffix predicate on the "hold_id" field.
  1209. func HoldIDHasSuffix(v string) predicate.BatchImageJob {
  1210. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldHoldID, v))
  1211. }
  1212. // HoldIDIsNil applies the IsNil predicate on the "hold_id" field.
  1213. func HoldIDIsNil() predicate.BatchImageJob {
  1214. return predicate.BatchImageJob(sql.FieldIsNull(FieldHoldID))
  1215. }
  1216. // HoldIDNotNil applies the NotNil predicate on the "hold_id" field.
  1217. func HoldIDNotNil() predicate.BatchImageJob {
  1218. return predicate.BatchImageJob(sql.FieldNotNull(FieldHoldID))
  1219. }
  1220. // HoldIDEqualFold applies the EqualFold predicate on the "hold_id" field.
  1221. func HoldIDEqualFold(v string) predicate.BatchImageJob {
  1222. return predicate.BatchImageJob(sql.FieldEqualFold(FieldHoldID, v))
  1223. }
  1224. // HoldIDContainsFold applies the ContainsFold predicate on the "hold_id" field.
  1225. func HoldIDContainsFold(v string) predicate.BatchImageJob {
  1226. return predicate.BatchImageJob(sql.FieldContainsFold(FieldHoldID, v))
  1227. }
  1228. // IdempotencyKeyEQ applies the EQ predicate on the "idempotency_key" field.
  1229. func IdempotencyKeyEQ(v string) predicate.BatchImageJob {
  1230. return predicate.BatchImageJob(sql.FieldEQ(FieldIdempotencyKey, v))
  1231. }
  1232. // IdempotencyKeyNEQ applies the NEQ predicate on the "idempotency_key" field.
  1233. func IdempotencyKeyNEQ(v string) predicate.BatchImageJob {
  1234. return predicate.BatchImageJob(sql.FieldNEQ(FieldIdempotencyKey, v))
  1235. }
  1236. // IdempotencyKeyIn applies the In predicate on the "idempotency_key" field.
  1237. func IdempotencyKeyIn(vs ...string) predicate.BatchImageJob {
  1238. return predicate.BatchImageJob(sql.FieldIn(FieldIdempotencyKey, vs...))
  1239. }
  1240. // IdempotencyKeyNotIn applies the NotIn predicate on the "idempotency_key" field.
  1241. func IdempotencyKeyNotIn(vs ...string) predicate.BatchImageJob {
  1242. return predicate.BatchImageJob(sql.FieldNotIn(FieldIdempotencyKey, vs...))
  1243. }
  1244. // IdempotencyKeyGT applies the GT predicate on the "idempotency_key" field.
  1245. func IdempotencyKeyGT(v string) predicate.BatchImageJob {
  1246. return predicate.BatchImageJob(sql.FieldGT(FieldIdempotencyKey, v))
  1247. }
  1248. // IdempotencyKeyGTE applies the GTE predicate on the "idempotency_key" field.
  1249. func IdempotencyKeyGTE(v string) predicate.BatchImageJob {
  1250. return predicate.BatchImageJob(sql.FieldGTE(FieldIdempotencyKey, v))
  1251. }
  1252. // IdempotencyKeyLT applies the LT predicate on the "idempotency_key" field.
  1253. func IdempotencyKeyLT(v string) predicate.BatchImageJob {
  1254. return predicate.BatchImageJob(sql.FieldLT(FieldIdempotencyKey, v))
  1255. }
  1256. // IdempotencyKeyLTE applies the LTE predicate on the "idempotency_key" field.
  1257. func IdempotencyKeyLTE(v string) predicate.BatchImageJob {
  1258. return predicate.BatchImageJob(sql.FieldLTE(FieldIdempotencyKey, v))
  1259. }
  1260. // IdempotencyKeyContains applies the Contains predicate on the "idempotency_key" field.
  1261. func IdempotencyKeyContains(v string) predicate.BatchImageJob {
  1262. return predicate.BatchImageJob(sql.FieldContains(FieldIdempotencyKey, v))
  1263. }
  1264. // IdempotencyKeyHasPrefix applies the HasPrefix predicate on the "idempotency_key" field.
  1265. func IdempotencyKeyHasPrefix(v string) predicate.BatchImageJob {
  1266. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldIdempotencyKey, v))
  1267. }
  1268. // IdempotencyKeyHasSuffix applies the HasSuffix predicate on the "idempotency_key" field.
  1269. func IdempotencyKeyHasSuffix(v string) predicate.BatchImageJob {
  1270. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldIdempotencyKey, v))
  1271. }
  1272. // IdempotencyKeyIsNil applies the IsNil predicate on the "idempotency_key" field.
  1273. func IdempotencyKeyIsNil() predicate.BatchImageJob {
  1274. return predicate.BatchImageJob(sql.FieldIsNull(FieldIdempotencyKey))
  1275. }
  1276. // IdempotencyKeyNotNil applies the NotNil predicate on the "idempotency_key" field.
  1277. func IdempotencyKeyNotNil() predicate.BatchImageJob {
  1278. return predicate.BatchImageJob(sql.FieldNotNull(FieldIdempotencyKey))
  1279. }
  1280. // IdempotencyKeyEqualFold applies the EqualFold predicate on the "idempotency_key" field.
  1281. func IdempotencyKeyEqualFold(v string) predicate.BatchImageJob {
  1282. return predicate.BatchImageJob(sql.FieldEqualFold(FieldIdempotencyKey, v))
  1283. }
  1284. // IdempotencyKeyContainsFold applies the ContainsFold predicate on the "idempotency_key" field.
  1285. func IdempotencyKeyContainsFold(v string) predicate.BatchImageJob {
  1286. return predicate.BatchImageJob(sql.FieldContainsFold(FieldIdempotencyKey, v))
  1287. }
  1288. // RequestHashEQ applies the EQ predicate on the "request_hash" field.
  1289. func RequestHashEQ(v string) predicate.BatchImageJob {
  1290. return predicate.BatchImageJob(sql.FieldEQ(FieldRequestHash, v))
  1291. }
  1292. // RequestHashNEQ applies the NEQ predicate on the "request_hash" field.
  1293. func RequestHashNEQ(v string) predicate.BatchImageJob {
  1294. return predicate.BatchImageJob(sql.FieldNEQ(FieldRequestHash, v))
  1295. }
  1296. // RequestHashIn applies the In predicate on the "request_hash" field.
  1297. func RequestHashIn(vs ...string) predicate.BatchImageJob {
  1298. return predicate.BatchImageJob(sql.FieldIn(FieldRequestHash, vs...))
  1299. }
  1300. // RequestHashNotIn applies the NotIn predicate on the "request_hash" field.
  1301. func RequestHashNotIn(vs ...string) predicate.BatchImageJob {
  1302. return predicate.BatchImageJob(sql.FieldNotIn(FieldRequestHash, vs...))
  1303. }
  1304. // RequestHashGT applies the GT predicate on the "request_hash" field.
  1305. func RequestHashGT(v string) predicate.BatchImageJob {
  1306. return predicate.BatchImageJob(sql.FieldGT(FieldRequestHash, v))
  1307. }
  1308. // RequestHashGTE applies the GTE predicate on the "request_hash" field.
  1309. func RequestHashGTE(v string) predicate.BatchImageJob {
  1310. return predicate.BatchImageJob(sql.FieldGTE(FieldRequestHash, v))
  1311. }
  1312. // RequestHashLT applies the LT predicate on the "request_hash" field.
  1313. func RequestHashLT(v string) predicate.BatchImageJob {
  1314. return predicate.BatchImageJob(sql.FieldLT(FieldRequestHash, v))
  1315. }
  1316. // RequestHashLTE applies the LTE predicate on the "request_hash" field.
  1317. func RequestHashLTE(v string) predicate.BatchImageJob {
  1318. return predicate.BatchImageJob(sql.FieldLTE(FieldRequestHash, v))
  1319. }
  1320. // RequestHashContains applies the Contains predicate on the "request_hash" field.
  1321. func RequestHashContains(v string) predicate.BatchImageJob {
  1322. return predicate.BatchImageJob(sql.FieldContains(FieldRequestHash, v))
  1323. }
  1324. // RequestHashHasPrefix applies the HasPrefix predicate on the "request_hash" field.
  1325. func RequestHashHasPrefix(v string) predicate.BatchImageJob {
  1326. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldRequestHash, v))
  1327. }
  1328. // RequestHashHasSuffix applies the HasSuffix predicate on the "request_hash" field.
  1329. func RequestHashHasSuffix(v string) predicate.BatchImageJob {
  1330. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldRequestHash, v))
  1331. }
  1332. // RequestHashIsNil applies the IsNil predicate on the "request_hash" field.
  1333. func RequestHashIsNil() predicate.BatchImageJob {
  1334. return predicate.BatchImageJob(sql.FieldIsNull(FieldRequestHash))
  1335. }
  1336. // RequestHashNotNil applies the NotNil predicate on the "request_hash" field.
  1337. func RequestHashNotNil() predicate.BatchImageJob {
  1338. return predicate.BatchImageJob(sql.FieldNotNull(FieldRequestHash))
  1339. }
  1340. // RequestHashEqualFold applies the EqualFold predicate on the "request_hash" field.
  1341. func RequestHashEqualFold(v string) predicate.BatchImageJob {
  1342. return predicate.BatchImageJob(sql.FieldEqualFold(FieldRequestHash, v))
  1343. }
  1344. // RequestHashContainsFold applies the ContainsFold predicate on the "request_hash" field.
  1345. func RequestHashContainsFold(v string) predicate.BatchImageJob {
  1346. return predicate.BatchImageJob(sql.FieldContainsFold(FieldRequestHash, v))
  1347. }
  1348. // ManifestHashEQ applies the EQ predicate on the "manifest_hash" field.
  1349. func ManifestHashEQ(v string) predicate.BatchImageJob {
  1350. return predicate.BatchImageJob(sql.FieldEQ(FieldManifestHash, v))
  1351. }
  1352. // ManifestHashNEQ applies the NEQ predicate on the "manifest_hash" field.
  1353. func ManifestHashNEQ(v string) predicate.BatchImageJob {
  1354. return predicate.BatchImageJob(sql.FieldNEQ(FieldManifestHash, v))
  1355. }
  1356. // ManifestHashIn applies the In predicate on the "manifest_hash" field.
  1357. func ManifestHashIn(vs ...string) predicate.BatchImageJob {
  1358. return predicate.BatchImageJob(sql.FieldIn(FieldManifestHash, vs...))
  1359. }
  1360. // ManifestHashNotIn applies the NotIn predicate on the "manifest_hash" field.
  1361. func ManifestHashNotIn(vs ...string) predicate.BatchImageJob {
  1362. return predicate.BatchImageJob(sql.FieldNotIn(FieldManifestHash, vs...))
  1363. }
  1364. // ManifestHashGT applies the GT predicate on the "manifest_hash" field.
  1365. func ManifestHashGT(v string) predicate.BatchImageJob {
  1366. return predicate.BatchImageJob(sql.FieldGT(FieldManifestHash, v))
  1367. }
  1368. // ManifestHashGTE applies the GTE predicate on the "manifest_hash" field.
  1369. func ManifestHashGTE(v string) predicate.BatchImageJob {
  1370. return predicate.BatchImageJob(sql.FieldGTE(FieldManifestHash, v))
  1371. }
  1372. // ManifestHashLT applies the LT predicate on the "manifest_hash" field.
  1373. func ManifestHashLT(v string) predicate.BatchImageJob {
  1374. return predicate.BatchImageJob(sql.FieldLT(FieldManifestHash, v))
  1375. }
  1376. // ManifestHashLTE applies the LTE predicate on the "manifest_hash" field.
  1377. func ManifestHashLTE(v string) predicate.BatchImageJob {
  1378. return predicate.BatchImageJob(sql.FieldLTE(FieldManifestHash, v))
  1379. }
  1380. // ManifestHashContains applies the Contains predicate on the "manifest_hash" field.
  1381. func ManifestHashContains(v string) predicate.BatchImageJob {
  1382. return predicate.BatchImageJob(sql.FieldContains(FieldManifestHash, v))
  1383. }
  1384. // ManifestHashHasPrefix applies the HasPrefix predicate on the "manifest_hash" field.
  1385. func ManifestHashHasPrefix(v string) predicate.BatchImageJob {
  1386. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldManifestHash, v))
  1387. }
  1388. // ManifestHashHasSuffix applies the HasSuffix predicate on the "manifest_hash" field.
  1389. func ManifestHashHasSuffix(v string) predicate.BatchImageJob {
  1390. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldManifestHash, v))
  1391. }
  1392. // ManifestHashIsNil applies the IsNil predicate on the "manifest_hash" field.
  1393. func ManifestHashIsNil() predicate.BatchImageJob {
  1394. return predicate.BatchImageJob(sql.FieldIsNull(FieldManifestHash))
  1395. }
  1396. // ManifestHashNotNil applies the NotNil predicate on the "manifest_hash" field.
  1397. func ManifestHashNotNil() predicate.BatchImageJob {
  1398. return predicate.BatchImageJob(sql.FieldNotNull(FieldManifestHash))
  1399. }
  1400. // ManifestHashEqualFold applies the EqualFold predicate on the "manifest_hash" field.
  1401. func ManifestHashEqualFold(v string) predicate.BatchImageJob {
  1402. return predicate.BatchImageJob(sql.FieldEqualFold(FieldManifestHash, v))
  1403. }
  1404. // ManifestHashContainsFold applies the ContainsFold predicate on the "manifest_hash" field.
  1405. func ManifestHashContainsFold(v string) predicate.BatchImageJob {
  1406. return predicate.BatchImageJob(sql.FieldContainsFold(FieldManifestHash, v))
  1407. }
  1408. // RetryCountEQ applies the EQ predicate on the "retry_count" field.
  1409. func RetryCountEQ(v int) predicate.BatchImageJob {
  1410. return predicate.BatchImageJob(sql.FieldEQ(FieldRetryCount, v))
  1411. }
  1412. // RetryCountNEQ applies the NEQ predicate on the "retry_count" field.
  1413. func RetryCountNEQ(v int) predicate.BatchImageJob {
  1414. return predicate.BatchImageJob(sql.FieldNEQ(FieldRetryCount, v))
  1415. }
  1416. // RetryCountIn applies the In predicate on the "retry_count" field.
  1417. func RetryCountIn(vs ...int) predicate.BatchImageJob {
  1418. return predicate.BatchImageJob(sql.FieldIn(FieldRetryCount, vs...))
  1419. }
  1420. // RetryCountNotIn applies the NotIn predicate on the "retry_count" field.
  1421. func RetryCountNotIn(vs ...int) predicate.BatchImageJob {
  1422. return predicate.BatchImageJob(sql.FieldNotIn(FieldRetryCount, vs...))
  1423. }
  1424. // RetryCountGT applies the GT predicate on the "retry_count" field.
  1425. func RetryCountGT(v int) predicate.BatchImageJob {
  1426. return predicate.BatchImageJob(sql.FieldGT(FieldRetryCount, v))
  1427. }
  1428. // RetryCountGTE applies the GTE predicate on the "retry_count" field.
  1429. func RetryCountGTE(v int) predicate.BatchImageJob {
  1430. return predicate.BatchImageJob(sql.FieldGTE(FieldRetryCount, v))
  1431. }
  1432. // RetryCountLT applies the LT predicate on the "retry_count" field.
  1433. func RetryCountLT(v int) predicate.BatchImageJob {
  1434. return predicate.BatchImageJob(sql.FieldLT(FieldRetryCount, v))
  1435. }
  1436. // RetryCountLTE applies the LTE predicate on the "retry_count" field.
  1437. func RetryCountLTE(v int) predicate.BatchImageJob {
  1438. return predicate.BatchImageJob(sql.FieldLTE(FieldRetryCount, v))
  1439. }
  1440. // VersionEQ applies the EQ predicate on the "version" field.
  1441. func VersionEQ(v int) predicate.BatchImageJob {
  1442. return predicate.BatchImageJob(sql.FieldEQ(FieldVersion, v))
  1443. }
  1444. // VersionNEQ applies the NEQ predicate on the "version" field.
  1445. func VersionNEQ(v int) predicate.BatchImageJob {
  1446. return predicate.BatchImageJob(sql.FieldNEQ(FieldVersion, v))
  1447. }
  1448. // VersionIn applies the In predicate on the "version" field.
  1449. func VersionIn(vs ...int) predicate.BatchImageJob {
  1450. return predicate.BatchImageJob(sql.FieldIn(FieldVersion, vs...))
  1451. }
  1452. // VersionNotIn applies the NotIn predicate on the "version" field.
  1453. func VersionNotIn(vs ...int) predicate.BatchImageJob {
  1454. return predicate.BatchImageJob(sql.FieldNotIn(FieldVersion, vs...))
  1455. }
  1456. // VersionGT applies the GT predicate on the "version" field.
  1457. func VersionGT(v int) predicate.BatchImageJob {
  1458. return predicate.BatchImageJob(sql.FieldGT(FieldVersion, v))
  1459. }
  1460. // VersionGTE applies the GTE predicate on the "version" field.
  1461. func VersionGTE(v int) predicate.BatchImageJob {
  1462. return predicate.BatchImageJob(sql.FieldGTE(FieldVersion, v))
  1463. }
  1464. // VersionLT applies the LT predicate on the "version" field.
  1465. func VersionLT(v int) predicate.BatchImageJob {
  1466. return predicate.BatchImageJob(sql.FieldLT(FieldVersion, v))
  1467. }
  1468. // VersionLTE applies the LTE predicate on the "version" field.
  1469. func VersionLTE(v int) predicate.BatchImageJob {
  1470. return predicate.BatchImageJob(sql.FieldLTE(FieldVersion, v))
  1471. }
  1472. // OutputExpiresAtEQ applies the EQ predicate on the "output_expires_at" field.
  1473. func OutputExpiresAtEQ(v time.Time) predicate.BatchImageJob {
  1474. return predicate.BatchImageJob(sql.FieldEQ(FieldOutputExpiresAt, v))
  1475. }
  1476. // OutputExpiresAtNEQ applies the NEQ predicate on the "output_expires_at" field.
  1477. func OutputExpiresAtNEQ(v time.Time) predicate.BatchImageJob {
  1478. return predicate.BatchImageJob(sql.FieldNEQ(FieldOutputExpiresAt, v))
  1479. }
  1480. // OutputExpiresAtIn applies the In predicate on the "output_expires_at" field.
  1481. func OutputExpiresAtIn(vs ...time.Time) predicate.BatchImageJob {
  1482. return predicate.BatchImageJob(sql.FieldIn(FieldOutputExpiresAt, vs...))
  1483. }
  1484. // OutputExpiresAtNotIn applies the NotIn predicate on the "output_expires_at" field.
  1485. func OutputExpiresAtNotIn(vs ...time.Time) predicate.BatchImageJob {
  1486. return predicate.BatchImageJob(sql.FieldNotIn(FieldOutputExpiresAt, vs...))
  1487. }
  1488. // OutputExpiresAtGT applies the GT predicate on the "output_expires_at" field.
  1489. func OutputExpiresAtGT(v time.Time) predicate.BatchImageJob {
  1490. return predicate.BatchImageJob(sql.FieldGT(FieldOutputExpiresAt, v))
  1491. }
  1492. // OutputExpiresAtGTE applies the GTE predicate on the "output_expires_at" field.
  1493. func OutputExpiresAtGTE(v time.Time) predicate.BatchImageJob {
  1494. return predicate.BatchImageJob(sql.FieldGTE(FieldOutputExpiresAt, v))
  1495. }
  1496. // OutputExpiresAtLT applies the LT predicate on the "output_expires_at" field.
  1497. func OutputExpiresAtLT(v time.Time) predicate.BatchImageJob {
  1498. return predicate.BatchImageJob(sql.FieldLT(FieldOutputExpiresAt, v))
  1499. }
  1500. // OutputExpiresAtLTE applies the LTE predicate on the "output_expires_at" field.
  1501. func OutputExpiresAtLTE(v time.Time) predicate.BatchImageJob {
  1502. return predicate.BatchImageJob(sql.FieldLTE(FieldOutputExpiresAt, v))
  1503. }
  1504. // OutputExpiresAtIsNil applies the IsNil predicate on the "output_expires_at" field.
  1505. func OutputExpiresAtIsNil() predicate.BatchImageJob {
  1506. return predicate.BatchImageJob(sql.FieldIsNull(FieldOutputExpiresAt))
  1507. }
  1508. // OutputExpiresAtNotNil applies the NotNil predicate on the "output_expires_at" field.
  1509. func OutputExpiresAtNotNil() predicate.BatchImageJob {
  1510. return predicate.BatchImageJob(sql.FieldNotNull(FieldOutputExpiresAt))
  1511. }
  1512. // InputDeletedAtEQ applies the EQ predicate on the "input_deleted_at" field.
  1513. func InputDeletedAtEQ(v time.Time) predicate.BatchImageJob {
  1514. return predicate.BatchImageJob(sql.FieldEQ(FieldInputDeletedAt, v))
  1515. }
  1516. // InputDeletedAtNEQ applies the NEQ predicate on the "input_deleted_at" field.
  1517. func InputDeletedAtNEQ(v time.Time) predicate.BatchImageJob {
  1518. return predicate.BatchImageJob(sql.FieldNEQ(FieldInputDeletedAt, v))
  1519. }
  1520. // InputDeletedAtIn applies the In predicate on the "input_deleted_at" field.
  1521. func InputDeletedAtIn(vs ...time.Time) predicate.BatchImageJob {
  1522. return predicate.BatchImageJob(sql.FieldIn(FieldInputDeletedAt, vs...))
  1523. }
  1524. // InputDeletedAtNotIn applies the NotIn predicate on the "input_deleted_at" field.
  1525. func InputDeletedAtNotIn(vs ...time.Time) predicate.BatchImageJob {
  1526. return predicate.BatchImageJob(sql.FieldNotIn(FieldInputDeletedAt, vs...))
  1527. }
  1528. // InputDeletedAtGT applies the GT predicate on the "input_deleted_at" field.
  1529. func InputDeletedAtGT(v time.Time) predicate.BatchImageJob {
  1530. return predicate.BatchImageJob(sql.FieldGT(FieldInputDeletedAt, v))
  1531. }
  1532. // InputDeletedAtGTE applies the GTE predicate on the "input_deleted_at" field.
  1533. func InputDeletedAtGTE(v time.Time) predicate.BatchImageJob {
  1534. return predicate.BatchImageJob(sql.FieldGTE(FieldInputDeletedAt, v))
  1535. }
  1536. // InputDeletedAtLT applies the LT predicate on the "input_deleted_at" field.
  1537. func InputDeletedAtLT(v time.Time) predicate.BatchImageJob {
  1538. return predicate.BatchImageJob(sql.FieldLT(FieldInputDeletedAt, v))
  1539. }
  1540. // InputDeletedAtLTE applies the LTE predicate on the "input_deleted_at" field.
  1541. func InputDeletedAtLTE(v time.Time) predicate.BatchImageJob {
  1542. return predicate.BatchImageJob(sql.FieldLTE(FieldInputDeletedAt, v))
  1543. }
  1544. // InputDeletedAtIsNil applies the IsNil predicate on the "input_deleted_at" field.
  1545. func InputDeletedAtIsNil() predicate.BatchImageJob {
  1546. return predicate.BatchImageJob(sql.FieldIsNull(FieldInputDeletedAt))
  1547. }
  1548. // InputDeletedAtNotNil applies the NotNil predicate on the "input_deleted_at" field.
  1549. func InputDeletedAtNotNil() predicate.BatchImageJob {
  1550. return predicate.BatchImageJob(sql.FieldNotNull(FieldInputDeletedAt))
  1551. }
  1552. // OutputDeletedAtEQ applies the EQ predicate on the "output_deleted_at" field.
  1553. func OutputDeletedAtEQ(v time.Time) predicate.BatchImageJob {
  1554. return predicate.BatchImageJob(sql.FieldEQ(FieldOutputDeletedAt, v))
  1555. }
  1556. // OutputDeletedAtNEQ applies the NEQ predicate on the "output_deleted_at" field.
  1557. func OutputDeletedAtNEQ(v time.Time) predicate.BatchImageJob {
  1558. return predicate.BatchImageJob(sql.FieldNEQ(FieldOutputDeletedAt, v))
  1559. }
  1560. // OutputDeletedAtIn applies the In predicate on the "output_deleted_at" field.
  1561. func OutputDeletedAtIn(vs ...time.Time) predicate.BatchImageJob {
  1562. return predicate.BatchImageJob(sql.FieldIn(FieldOutputDeletedAt, vs...))
  1563. }
  1564. // OutputDeletedAtNotIn applies the NotIn predicate on the "output_deleted_at" field.
  1565. func OutputDeletedAtNotIn(vs ...time.Time) predicate.BatchImageJob {
  1566. return predicate.BatchImageJob(sql.FieldNotIn(FieldOutputDeletedAt, vs...))
  1567. }
  1568. // OutputDeletedAtGT applies the GT predicate on the "output_deleted_at" field.
  1569. func OutputDeletedAtGT(v time.Time) predicate.BatchImageJob {
  1570. return predicate.BatchImageJob(sql.FieldGT(FieldOutputDeletedAt, v))
  1571. }
  1572. // OutputDeletedAtGTE applies the GTE predicate on the "output_deleted_at" field.
  1573. func OutputDeletedAtGTE(v time.Time) predicate.BatchImageJob {
  1574. return predicate.BatchImageJob(sql.FieldGTE(FieldOutputDeletedAt, v))
  1575. }
  1576. // OutputDeletedAtLT applies the LT predicate on the "output_deleted_at" field.
  1577. func OutputDeletedAtLT(v time.Time) predicate.BatchImageJob {
  1578. return predicate.BatchImageJob(sql.FieldLT(FieldOutputDeletedAt, v))
  1579. }
  1580. // OutputDeletedAtLTE applies the LTE predicate on the "output_deleted_at" field.
  1581. func OutputDeletedAtLTE(v time.Time) predicate.BatchImageJob {
  1582. return predicate.BatchImageJob(sql.FieldLTE(FieldOutputDeletedAt, v))
  1583. }
  1584. // OutputDeletedAtIsNil applies the IsNil predicate on the "output_deleted_at" field.
  1585. func OutputDeletedAtIsNil() predicate.BatchImageJob {
  1586. return predicate.BatchImageJob(sql.FieldIsNull(FieldOutputDeletedAt))
  1587. }
  1588. // OutputDeletedAtNotNil applies the NotNil predicate on the "output_deleted_at" field.
  1589. func OutputDeletedAtNotNil() predicate.BatchImageJob {
  1590. return predicate.BatchImageJob(sql.FieldNotNull(FieldOutputDeletedAt))
  1591. }
  1592. // DownloadedAtEQ applies the EQ predicate on the "downloaded_at" field.
  1593. func DownloadedAtEQ(v time.Time) predicate.BatchImageJob {
  1594. return predicate.BatchImageJob(sql.FieldEQ(FieldDownloadedAt, v))
  1595. }
  1596. // DownloadedAtNEQ applies the NEQ predicate on the "downloaded_at" field.
  1597. func DownloadedAtNEQ(v time.Time) predicate.BatchImageJob {
  1598. return predicate.BatchImageJob(sql.FieldNEQ(FieldDownloadedAt, v))
  1599. }
  1600. // DownloadedAtIn applies the In predicate on the "downloaded_at" field.
  1601. func DownloadedAtIn(vs ...time.Time) predicate.BatchImageJob {
  1602. return predicate.BatchImageJob(sql.FieldIn(FieldDownloadedAt, vs...))
  1603. }
  1604. // DownloadedAtNotIn applies the NotIn predicate on the "downloaded_at" field.
  1605. func DownloadedAtNotIn(vs ...time.Time) predicate.BatchImageJob {
  1606. return predicate.BatchImageJob(sql.FieldNotIn(FieldDownloadedAt, vs...))
  1607. }
  1608. // DownloadedAtGT applies the GT predicate on the "downloaded_at" field.
  1609. func DownloadedAtGT(v time.Time) predicate.BatchImageJob {
  1610. return predicate.BatchImageJob(sql.FieldGT(FieldDownloadedAt, v))
  1611. }
  1612. // DownloadedAtGTE applies the GTE predicate on the "downloaded_at" field.
  1613. func DownloadedAtGTE(v time.Time) predicate.BatchImageJob {
  1614. return predicate.BatchImageJob(sql.FieldGTE(FieldDownloadedAt, v))
  1615. }
  1616. // DownloadedAtLT applies the LT predicate on the "downloaded_at" field.
  1617. func DownloadedAtLT(v time.Time) predicate.BatchImageJob {
  1618. return predicate.BatchImageJob(sql.FieldLT(FieldDownloadedAt, v))
  1619. }
  1620. // DownloadedAtLTE applies the LTE predicate on the "downloaded_at" field.
  1621. func DownloadedAtLTE(v time.Time) predicate.BatchImageJob {
  1622. return predicate.BatchImageJob(sql.FieldLTE(FieldDownloadedAt, v))
  1623. }
  1624. // DownloadedAtIsNil applies the IsNil predicate on the "downloaded_at" field.
  1625. func DownloadedAtIsNil() predicate.BatchImageJob {
  1626. return predicate.BatchImageJob(sql.FieldIsNull(FieldDownloadedAt))
  1627. }
  1628. // DownloadedAtNotNil applies the NotNil predicate on the "downloaded_at" field.
  1629. func DownloadedAtNotNil() predicate.BatchImageJob {
  1630. return predicate.BatchImageJob(sql.FieldNotNull(FieldDownloadedAt))
  1631. }
  1632. // UserDeletedAtEQ applies the EQ predicate on the "user_deleted_at" field.
  1633. func UserDeletedAtEQ(v time.Time) predicate.BatchImageJob {
  1634. return predicate.BatchImageJob(sql.FieldEQ(FieldUserDeletedAt, v))
  1635. }
  1636. // UserDeletedAtNEQ applies the NEQ predicate on the "user_deleted_at" field.
  1637. func UserDeletedAtNEQ(v time.Time) predicate.BatchImageJob {
  1638. return predicate.BatchImageJob(sql.FieldNEQ(FieldUserDeletedAt, v))
  1639. }
  1640. // UserDeletedAtIn applies the In predicate on the "user_deleted_at" field.
  1641. func UserDeletedAtIn(vs ...time.Time) predicate.BatchImageJob {
  1642. return predicate.BatchImageJob(sql.FieldIn(FieldUserDeletedAt, vs...))
  1643. }
  1644. // UserDeletedAtNotIn applies the NotIn predicate on the "user_deleted_at" field.
  1645. func UserDeletedAtNotIn(vs ...time.Time) predicate.BatchImageJob {
  1646. return predicate.BatchImageJob(sql.FieldNotIn(FieldUserDeletedAt, vs...))
  1647. }
  1648. // UserDeletedAtGT applies the GT predicate on the "user_deleted_at" field.
  1649. func UserDeletedAtGT(v time.Time) predicate.BatchImageJob {
  1650. return predicate.BatchImageJob(sql.FieldGT(FieldUserDeletedAt, v))
  1651. }
  1652. // UserDeletedAtGTE applies the GTE predicate on the "user_deleted_at" field.
  1653. func UserDeletedAtGTE(v time.Time) predicate.BatchImageJob {
  1654. return predicate.BatchImageJob(sql.FieldGTE(FieldUserDeletedAt, v))
  1655. }
  1656. // UserDeletedAtLT applies the LT predicate on the "user_deleted_at" field.
  1657. func UserDeletedAtLT(v time.Time) predicate.BatchImageJob {
  1658. return predicate.BatchImageJob(sql.FieldLT(FieldUserDeletedAt, v))
  1659. }
  1660. // UserDeletedAtLTE applies the LTE predicate on the "user_deleted_at" field.
  1661. func UserDeletedAtLTE(v time.Time) predicate.BatchImageJob {
  1662. return predicate.BatchImageJob(sql.FieldLTE(FieldUserDeletedAt, v))
  1663. }
  1664. // UserDeletedAtIsNil applies the IsNil predicate on the "user_deleted_at" field.
  1665. func UserDeletedAtIsNil() predicate.BatchImageJob {
  1666. return predicate.BatchImageJob(sql.FieldIsNull(FieldUserDeletedAt))
  1667. }
  1668. // UserDeletedAtNotNil applies the NotNil predicate on the "user_deleted_at" field.
  1669. func UserDeletedAtNotNil() predicate.BatchImageJob {
  1670. return predicate.BatchImageJob(sql.FieldNotNull(FieldUserDeletedAt))
  1671. }
  1672. // LastErrorCodeEQ applies the EQ predicate on the "last_error_code" field.
  1673. func LastErrorCodeEQ(v string) predicate.BatchImageJob {
  1674. return predicate.BatchImageJob(sql.FieldEQ(FieldLastErrorCode, v))
  1675. }
  1676. // LastErrorCodeNEQ applies the NEQ predicate on the "last_error_code" field.
  1677. func LastErrorCodeNEQ(v string) predicate.BatchImageJob {
  1678. return predicate.BatchImageJob(sql.FieldNEQ(FieldLastErrorCode, v))
  1679. }
  1680. // LastErrorCodeIn applies the In predicate on the "last_error_code" field.
  1681. func LastErrorCodeIn(vs ...string) predicate.BatchImageJob {
  1682. return predicate.BatchImageJob(sql.FieldIn(FieldLastErrorCode, vs...))
  1683. }
  1684. // LastErrorCodeNotIn applies the NotIn predicate on the "last_error_code" field.
  1685. func LastErrorCodeNotIn(vs ...string) predicate.BatchImageJob {
  1686. return predicate.BatchImageJob(sql.FieldNotIn(FieldLastErrorCode, vs...))
  1687. }
  1688. // LastErrorCodeGT applies the GT predicate on the "last_error_code" field.
  1689. func LastErrorCodeGT(v string) predicate.BatchImageJob {
  1690. return predicate.BatchImageJob(sql.FieldGT(FieldLastErrorCode, v))
  1691. }
  1692. // LastErrorCodeGTE applies the GTE predicate on the "last_error_code" field.
  1693. func LastErrorCodeGTE(v string) predicate.BatchImageJob {
  1694. return predicate.BatchImageJob(sql.FieldGTE(FieldLastErrorCode, v))
  1695. }
  1696. // LastErrorCodeLT applies the LT predicate on the "last_error_code" field.
  1697. func LastErrorCodeLT(v string) predicate.BatchImageJob {
  1698. return predicate.BatchImageJob(sql.FieldLT(FieldLastErrorCode, v))
  1699. }
  1700. // LastErrorCodeLTE applies the LTE predicate on the "last_error_code" field.
  1701. func LastErrorCodeLTE(v string) predicate.BatchImageJob {
  1702. return predicate.BatchImageJob(sql.FieldLTE(FieldLastErrorCode, v))
  1703. }
  1704. // LastErrorCodeContains applies the Contains predicate on the "last_error_code" field.
  1705. func LastErrorCodeContains(v string) predicate.BatchImageJob {
  1706. return predicate.BatchImageJob(sql.FieldContains(FieldLastErrorCode, v))
  1707. }
  1708. // LastErrorCodeHasPrefix applies the HasPrefix predicate on the "last_error_code" field.
  1709. func LastErrorCodeHasPrefix(v string) predicate.BatchImageJob {
  1710. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldLastErrorCode, v))
  1711. }
  1712. // LastErrorCodeHasSuffix applies the HasSuffix predicate on the "last_error_code" field.
  1713. func LastErrorCodeHasSuffix(v string) predicate.BatchImageJob {
  1714. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldLastErrorCode, v))
  1715. }
  1716. // LastErrorCodeIsNil applies the IsNil predicate on the "last_error_code" field.
  1717. func LastErrorCodeIsNil() predicate.BatchImageJob {
  1718. return predicate.BatchImageJob(sql.FieldIsNull(FieldLastErrorCode))
  1719. }
  1720. // LastErrorCodeNotNil applies the NotNil predicate on the "last_error_code" field.
  1721. func LastErrorCodeNotNil() predicate.BatchImageJob {
  1722. return predicate.BatchImageJob(sql.FieldNotNull(FieldLastErrorCode))
  1723. }
  1724. // LastErrorCodeEqualFold applies the EqualFold predicate on the "last_error_code" field.
  1725. func LastErrorCodeEqualFold(v string) predicate.BatchImageJob {
  1726. return predicate.BatchImageJob(sql.FieldEqualFold(FieldLastErrorCode, v))
  1727. }
  1728. // LastErrorCodeContainsFold applies the ContainsFold predicate on the "last_error_code" field.
  1729. func LastErrorCodeContainsFold(v string) predicate.BatchImageJob {
  1730. return predicate.BatchImageJob(sql.FieldContainsFold(FieldLastErrorCode, v))
  1731. }
  1732. // LastErrorMessageEQ applies the EQ predicate on the "last_error_message" field.
  1733. func LastErrorMessageEQ(v string) predicate.BatchImageJob {
  1734. return predicate.BatchImageJob(sql.FieldEQ(FieldLastErrorMessage, v))
  1735. }
  1736. // LastErrorMessageNEQ applies the NEQ predicate on the "last_error_message" field.
  1737. func LastErrorMessageNEQ(v string) predicate.BatchImageJob {
  1738. return predicate.BatchImageJob(sql.FieldNEQ(FieldLastErrorMessage, v))
  1739. }
  1740. // LastErrorMessageIn applies the In predicate on the "last_error_message" field.
  1741. func LastErrorMessageIn(vs ...string) predicate.BatchImageJob {
  1742. return predicate.BatchImageJob(sql.FieldIn(FieldLastErrorMessage, vs...))
  1743. }
  1744. // LastErrorMessageNotIn applies the NotIn predicate on the "last_error_message" field.
  1745. func LastErrorMessageNotIn(vs ...string) predicate.BatchImageJob {
  1746. return predicate.BatchImageJob(sql.FieldNotIn(FieldLastErrorMessage, vs...))
  1747. }
  1748. // LastErrorMessageGT applies the GT predicate on the "last_error_message" field.
  1749. func LastErrorMessageGT(v string) predicate.BatchImageJob {
  1750. return predicate.BatchImageJob(sql.FieldGT(FieldLastErrorMessage, v))
  1751. }
  1752. // LastErrorMessageGTE applies the GTE predicate on the "last_error_message" field.
  1753. func LastErrorMessageGTE(v string) predicate.BatchImageJob {
  1754. return predicate.BatchImageJob(sql.FieldGTE(FieldLastErrorMessage, v))
  1755. }
  1756. // LastErrorMessageLT applies the LT predicate on the "last_error_message" field.
  1757. func LastErrorMessageLT(v string) predicate.BatchImageJob {
  1758. return predicate.BatchImageJob(sql.FieldLT(FieldLastErrorMessage, v))
  1759. }
  1760. // LastErrorMessageLTE applies the LTE predicate on the "last_error_message" field.
  1761. func LastErrorMessageLTE(v string) predicate.BatchImageJob {
  1762. return predicate.BatchImageJob(sql.FieldLTE(FieldLastErrorMessage, v))
  1763. }
  1764. // LastErrorMessageContains applies the Contains predicate on the "last_error_message" field.
  1765. func LastErrorMessageContains(v string) predicate.BatchImageJob {
  1766. return predicate.BatchImageJob(sql.FieldContains(FieldLastErrorMessage, v))
  1767. }
  1768. // LastErrorMessageHasPrefix applies the HasPrefix predicate on the "last_error_message" field.
  1769. func LastErrorMessageHasPrefix(v string) predicate.BatchImageJob {
  1770. return predicate.BatchImageJob(sql.FieldHasPrefix(FieldLastErrorMessage, v))
  1771. }
  1772. // LastErrorMessageHasSuffix applies the HasSuffix predicate on the "last_error_message" field.
  1773. func LastErrorMessageHasSuffix(v string) predicate.BatchImageJob {
  1774. return predicate.BatchImageJob(sql.FieldHasSuffix(FieldLastErrorMessage, v))
  1775. }
  1776. // LastErrorMessageIsNil applies the IsNil predicate on the "last_error_message" field.
  1777. func LastErrorMessageIsNil() predicate.BatchImageJob {
  1778. return predicate.BatchImageJob(sql.FieldIsNull(FieldLastErrorMessage))
  1779. }
  1780. // LastErrorMessageNotNil applies the NotNil predicate on the "last_error_message" field.
  1781. func LastErrorMessageNotNil() predicate.BatchImageJob {
  1782. return predicate.BatchImageJob(sql.FieldNotNull(FieldLastErrorMessage))
  1783. }
  1784. // LastErrorMessageEqualFold applies the EqualFold predicate on the "last_error_message" field.
  1785. func LastErrorMessageEqualFold(v string) predicate.BatchImageJob {
  1786. return predicate.BatchImageJob(sql.FieldEqualFold(FieldLastErrorMessage, v))
  1787. }
  1788. // LastErrorMessageContainsFold applies the ContainsFold predicate on the "last_error_message" field.
  1789. func LastErrorMessageContainsFold(v string) predicate.BatchImageJob {
  1790. return predicate.BatchImageJob(sql.FieldContainsFold(FieldLastErrorMessage, v))
  1791. }
  1792. // CreatedAtEQ applies the EQ predicate on the "created_at" field.
  1793. func CreatedAtEQ(v time.Time) predicate.BatchImageJob {
  1794. return predicate.BatchImageJob(sql.FieldEQ(FieldCreatedAt, v))
  1795. }
  1796. // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
  1797. func CreatedAtNEQ(v time.Time) predicate.BatchImageJob {
  1798. return predicate.BatchImageJob(sql.FieldNEQ(FieldCreatedAt, v))
  1799. }
  1800. // CreatedAtIn applies the In predicate on the "created_at" field.
  1801. func CreatedAtIn(vs ...time.Time) predicate.BatchImageJob {
  1802. return predicate.BatchImageJob(sql.FieldIn(FieldCreatedAt, vs...))
  1803. }
  1804. // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
  1805. func CreatedAtNotIn(vs ...time.Time) predicate.BatchImageJob {
  1806. return predicate.BatchImageJob(sql.FieldNotIn(FieldCreatedAt, vs...))
  1807. }
  1808. // CreatedAtGT applies the GT predicate on the "created_at" field.
  1809. func CreatedAtGT(v time.Time) predicate.BatchImageJob {
  1810. return predicate.BatchImageJob(sql.FieldGT(FieldCreatedAt, v))
  1811. }
  1812. // CreatedAtGTE applies the GTE predicate on the "created_at" field.
  1813. func CreatedAtGTE(v time.Time) predicate.BatchImageJob {
  1814. return predicate.BatchImageJob(sql.FieldGTE(FieldCreatedAt, v))
  1815. }
  1816. // CreatedAtLT applies the LT predicate on the "created_at" field.
  1817. func CreatedAtLT(v time.Time) predicate.BatchImageJob {
  1818. return predicate.BatchImageJob(sql.FieldLT(FieldCreatedAt, v))
  1819. }
  1820. // CreatedAtLTE applies the LTE predicate on the "created_at" field.
  1821. func CreatedAtLTE(v time.Time) predicate.BatchImageJob {
  1822. return predicate.BatchImageJob(sql.FieldLTE(FieldCreatedAt, v))
  1823. }
  1824. // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
  1825. func UpdatedAtEQ(v time.Time) predicate.BatchImageJob {
  1826. return predicate.BatchImageJob(sql.FieldEQ(FieldUpdatedAt, v))
  1827. }
  1828. // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
  1829. func UpdatedAtNEQ(v time.Time) predicate.BatchImageJob {
  1830. return predicate.BatchImageJob(sql.FieldNEQ(FieldUpdatedAt, v))
  1831. }
  1832. // UpdatedAtIn applies the In predicate on the "updated_at" field.
  1833. func UpdatedAtIn(vs ...time.Time) predicate.BatchImageJob {
  1834. return predicate.BatchImageJob(sql.FieldIn(FieldUpdatedAt, vs...))
  1835. }
  1836. // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
  1837. func UpdatedAtNotIn(vs ...time.Time) predicate.BatchImageJob {
  1838. return predicate.BatchImageJob(sql.FieldNotIn(FieldUpdatedAt, vs...))
  1839. }
  1840. // UpdatedAtGT applies the GT predicate on the "updated_at" field.
  1841. func UpdatedAtGT(v time.Time) predicate.BatchImageJob {
  1842. return predicate.BatchImageJob(sql.FieldGT(FieldUpdatedAt, v))
  1843. }
  1844. // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
  1845. func UpdatedAtGTE(v time.Time) predicate.BatchImageJob {
  1846. return predicate.BatchImageJob(sql.FieldGTE(FieldUpdatedAt, v))
  1847. }
  1848. // UpdatedAtLT applies the LT predicate on the "updated_at" field.
  1849. func UpdatedAtLT(v time.Time) predicate.BatchImageJob {
  1850. return predicate.BatchImageJob(sql.FieldLT(FieldUpdatedAt, v))
  1851. }
  1852. // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
  1853. func UpdatedAtLTE(v time.Time) predicate.BatchImageJob {
  1854. return predicate.BatchImageJob(sql.FieldLTE(FieldUpdatedAt, v))
  1855. }
  1856. // SubmittedAtEQ applies the EQ predicate on the "submitted_at" field.
  1857. func SubmittedAtEQ(v time.Time) predicate.BatchImageJob {
  1858. return predicate.BatchImageJob(sql.FieldEQ(FieldSubmittedAt, v))
  1859. }
  1860. // SubmittedAtNEQ applies the NEQ predicate on the "submitted_at" field.
  1861. func SubmittedAtNEQ(v time.Time) predicate.BatchImageJob {
  1862. return predicate.BatchImageJob(sql.FieldNEQ(FieldSubmittedAt, v))
  1863. }
  1864. // SubmittedAtIn applies the In predicate on the "submitted_at" field.
  1865. func SubmittedAtIn(vs ...time.Time) predicate.BatchImageJob {
  1866. return predicate.BatchImageJob(sql.FieldIn(FieldSubmittedAt, vs...))
  1867. }
  1868. // SubmittedAtNotIn applies the NotIn predicate on the "submitted_at" field.
  1869. func SubmittedAtNotIn(vs ...time.Time) predicate.BatchImageJob {
  1870. return predicate.BatchImageJob(sql.FieldNotIn(FieldSubmittedAt, vs...))
  1871. }
  1872. // SubmittedAtGT applies the GT predicate on the "submitted_at" field.
  1873. func SubmittedAtGT(v time.Time) predicate.BatchImageJob {
  1874. return predicate.BatchImageJob(sql.FieldGT(FieldSubmittedAt, v))
  1875. }
  1876. // SubmittedAtGTE applies the GTE predicate on the "submitted_at" field.
  1877. func SubmittedAtGTE(v time.Time) predicate.BatchImageJob {
  1878. return predicate.BatchImageJob(sql.FieldGTE(FieldSubmittedAt, v))
  1879. }
  1880. // SubmittedAtLT applies the LT predicate on the "submitted_at" field.
  1881. func SubmittedAtLT(v time.Time) predicate.BatchImageJob {
  1882. return predicate.BatchImageJob(sql.FieldLT(FieldSubmittedAt, v))
  1883. }
  1884. // SubmittedAtLTE applies the LTE predicate on the "submitted_at" field.
  1885. func SubmittedAtLTE(v time.Time) predicate.BatchImageJob {
  1886. return predicate.BatchImageJob(sql.FieldLTE(FieldSubmittedAt, v))
  1887. }
  1888. // SubmittedAtIsNil applies the IsNil predicate on the "submitted_at" field.
  1889. func SubmittedAtIsNil() predicate.BatchImageJob {
  1890. return predicate.BatchImageJob(sql.FieldIsNull(FieldSubmittedAt))
  1891. }
  1892. // SubmittedAtNotNil applies the NotNil predicate on the "submitted_at" field.
  1893. func SubmittedAtNotNil() predicate.BatchImageJob {
  1894. return predicate.BatchImageJob(sql.FieldNotNull(FieldSubmittedAt))
  1895. }
  1896. // StartedAtEQ applies the EQ predicate on the "started_at" field.
  1897. func StartedAtEQ(v time.Time) predicate.BatchImageJob {
  1898. return predicate.BatchImageJob(sql.FieldEQ(FieldStartedAt, v))
  1899. }
  1900. // StartedAtNEQ applies the NEQ predicate on the "started_at" field.
  1901. func StartedAtNEQ(v time.Time) predicate.BatchImageJob {
  1902. return predicate.BatchImageJob(sql.FieldNEQ(FieldStartedAt, v))
  1903. }
  1904. // StartedAtIn applies the In predicate on the "started_at" field.
  1905. func StartedAtIn(vs ...time.Time) predicate.BatchImageJob {
  1906. return predicate.BatchImageJob(sql.FieldIn(FieldStartedAt, vs...))
  1907. }
  1908. // StartedAtNotIn applies the NotIn predicate on the "started_at" field.
  1909. func StartedAtNotIn(vs ...time.Time) predicate.BatchImageJob {
  1910. return predicate.BatchImageJob(sql.FieldNotIn(FieldStartedAt, vs...))
  1911. }
  1912. // StartedAtGT applies the GT predicate on the "started_at" field.
  1913. func StartedAtGT(v time.Time) predicate.BatchImageJob {
  1914. return predicate.BatchImageJob(sql.FieldGT(FieldStartedAt, v))
  1915. }
  1916. // StartedAtGTE applies the GTE predicate on the "started_at" field.
  1917. func StartedAtGTE(v time.Time) predicate.BatchImageJob {
  1918. return predicate.BatchImageJob(sql.FieldGTE(FieldStartedAt, v))
  1919. }
  1920. // StartedAtLT applies the LT predicate on the "started_at" field.
  1921. func StartedAtLT(v time.Time) predicate.BatchImageJob {
  1922. return predicate.BatchImageJob(sql.FieldLT(FieldStartedAt, v))
  1923. }
  1924. // StartedAtLTE applies the LTE predicate on the "started_at" field.
  1925. func StartedAtLTE(v time.Time) predicate.BatchImageJob {
  1926. return predicate.BatchImageJob(sql.FieldLTE(FieldStartedAt, v))
  1927. }
  1928. // StartedAtIsNil applies the IsNil predicate on the "started_at" field.
  1929. func StartedAtIsNil() predicate.BatchImageJob {
  1930. return predicate.BatchImageJob(sql.FieldIsNull(FieldStartedAt))
  1931. }
  1932. // StartedAtNotNil applies the NotNil predicate on the "started_at" field.
  1933. func StartedAtNotNil() predicate.BatchImageJob {
  1934. return predicate.BatchImageJob(sql.FieldNotNull(FieldStartedAt))
  1935. }
  1936. // FinishedAtEQ applies the EQ predicate on the "finished_at" field.
  1937. func FinishedAtEQ(v time.Time) predicate.BatchImageJob {
  1938. return predicate.BatchImageJob(sql.FieldEQ(FieldFinishedAt, v))
  1939. }
  1940. // FinishedAtNEQ applies the NEQ predicate on the "finished_at" field.
  1941. func FinishedAtNEQ(v time.Time) predicate.BatchImageJob {
  1942. return predicate.BatchImageJob(sql.FieldNEQ(FieldFinishedAt, v))
  1943. }
  1944. // FinishedAtIn applies the In predicate on the "finished_at" field.
  1945. func FinishedAtIn(vs ...time.Time) predicate.BatchImageJob {
  1946. return predicate.BatchImageJob(sql.FieldIn(FieldFinishedAt, vs...))
  1947. }
  1948. // FinishedAtNotIn applies the NotIn predicate on the "finished_at" field.
  1949. func FinishedAtNotIn(vs ...time.Time) predicate.BatchImageJob {
  1950. return predicate.BatchImageJob(sql.FieldNotIn(FieldFinishedAt, vs...))
  1951. }
  1952. // FinishedAtGT applies the GT predicate on the "finished_at" field.
  1953. func FinishedAtGT(v time.Time) predicate.BatchImageJob {
  1954. return predicate.BatchImageJob(sql.FieldGT(FieldFinishedAt, v))
  1955. }
  1956. // FinishedAtGTE applies the GTE predicate on the "finished_at" field.
  1957. func FinishedAtGTE(v time.Time) predicate.BatchImageJob {
  1958. return predicate.BatchImageJob(sql.FieldGTE(FieldFinishedAt, v))
  1959. }
  1960. // FinishedAtLT applies the LT predicate on the "finished_at" field.
  1961. func FinishedAtLT(v time.Time) predicate.BatchImageJob {
  1962. return predicate.BatchImageJob(sql.FieldLT(FieldFinishedAt, v))
  1963. }
  1964. // FinishedAtLTE applies the LTE predicate on the "finished_at" field.
  1965. func FinishedAtLTE(v time.Time) predicate.BatchImageJob {
  1966. return predicate.BatchImageJob(sql.FieldLTE(FieldFinishedAt, v))
  1967. }
  1968. // FinishedAtIsNil applies the IsNil predicate on the "finished_at" field.
  1969. func FinishedAtIsNil() predicate.BatchImageJob {
  1970. return predicate.BatchImageJob(sql.FieldIsNull(FieldFinishedAt))
  1971. }
  1972. // FinishedAtNotNil applies the NotNil predicate on the "finished_at" field.
  1973. func FinishedAtNotNil() predicate.BatchImageJob {
  1974. return predicate.BatchImageJob(sql.FieldNotNull(FieldFinishedAt))
  1975. }
  1976. // SettledAtEQ applies the EQ predicate on the "settled_at" field.
  1977. func SettledAtEQ(v time.Time) predicate.BatchImageJob {
  1978. return predicate.BatchImageJob(sql.FieldEQ(FieldSettledAt, v))
  1979. }
  1980. // SettledAtNEQ applies the NEQ predicate on the "settled_at" field.
  1981. func SettledAtNEQ(v time.Time) predicate.BatchImageJob {
  1982. return predicate.BatchImageJob(sql.FieldNEQ(FieldSettledAt, v))
  1983. }
  1984. // SettledAtIn applies the In predicate on the "settled_at" field.
  1985. func SettledAtIn(vs ...time.Time) predicate.BatchImageJob {
  1986. return predicate.BatchImageJob(sql.FieldIn(FieldSettledAt, vs...))
  1987. }
  1988. // SettledAtNotIn applies the NotIn predicate on the "settled_at" field.
  1989. func SettledAtNotIn(vs ...time.Time) predicate.BatchImageJob {
  1990. return predicate.BatchImageJob(sql.FieldNotIn(FieldSettledAt, vs...))
  1991. }
  1992. // SettledAtGT applies the GT predicate on the "settled_at" field.
  1993. func SettledAtGT(v time.Time) predicate.BatchImageJob {
  1994. return predicate.BatchImageJob(sql.FieldGT(FieldSettledAt, v))
  1995. }
  1996. // SettledAtGTE applies the GTE predicate on the "settled_at" field.
  1997. func SettledAtGTE(v time.Time) predicate.BatchImageJob {
  1998. return predicate.BatchImageJob(sql.FieldGTE(FieldSettledAt, v))
  1999. }
  2000. // SettledAtLT applies the LT predicate on the "settled_at" field.
  2001. func SettledAtLT(v time.Time) predicate.BatchImageJob {
  2002. return predicate.BatchImageJob(sql.FieldLT(FieldSettledAt, v))
  2003. }
  2004. // SettledAtLTE applies the LTE predicate on the "settled_at" field.
  2005. func SettledAtLTE(v time.Time) predicate.BatchImageJob {
  2006. return predicate.BatchImageJob(sql.FieldLTE(FieldSettledAt, v))
  2007. }
  2008. // SettledAtIsNil applies the IsNil predicate on the "settled_at" field.
  2009. func SettledAtIsNil() predicate.BatchImageJob {
  2010. return predicate.BatchImageJob(sql.FieldIsNull(FieldSettledAt))
  2011. }
  2012. // SettledAtNotNil applies the NotNil predicate on the "settled_at" field.
  2013. func SettledAtNotNil() predicate.BatchImageJob {
  2014. return predicate.BatchImageJob(sql.FieldNotNull(FieldSettledAt))
  2015. }
  2016. // And groups predicates with the AND operator between them.
  2017. func And(predicates ...predicate.BatchImageJob) predicate.BatchImageJob {
  2018. return predicate.BatchImageJob(sql.AndPredicates(predicates...))
  2019. }
  2020. // Or groups predicates with the OR operator between them.
  2021. func Or(predicates ...predicate.BatchImageJob) predicate.BatchImageJob {
  2022. return predicate.BatchImageJob(sql.OrPredicates(predicates...))
  2023. }
  2024. // Not applies the not operator on the given predicate.
  2025. func Not(p predicate.BatchImageJob) predicate.BatchImageJob {
  2026. return predicate.BatchImageJob(sql.NotPredicates(p))
  2027. }