where.go 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205
  1. // Code generated by ent, DO NOT EDIT.
  2. package batchimageitem
  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.BatchImageItem {
  10. return predicate.BatchImageItem(sql.FieldEQ(FieldID, id))
  11. }
  12. // IDEQ applies the EQ predicate on the ID field.
  13. func IDEQ(id int64) predicate.BatchImageItem {
  14. return predicate.BatchImageItem(sql.FieldEQ(FieldID, id))
  15. }
  16. // IDNEQ applies the NEQ predicate on the ID field.
  17. func IDNEQ(id int64) predicate.BatchImageItem {
  18. return predicate.BatchImageItem(sql.FieldNEQ(FieldID, id))
  19. }
  20. // IDIn applies the In predicate on the ID field.
  21. func IDIn(ids ...int64) predicate.BatchImageItem {
  22. return predicate.BatchImageItem(sql.FieldIn(FieldID, ids...))
  23. }
  24. // IDNotIn applies the NotIn predicate on the ID field.
  25. func IDNotIn(ids ...int64) predicate.BatchImageItem {
  26. return predicate.BatchImageItem(sql.FieldNotIn(FieldID, ids...))
  27. }
  28. // IDGT applies the GT predicate on the ID field.
  29. func IDGT(id int64) predicate.BatchImageItem {
  30. return predicate.BatchImageItem(sql.FieldGT(FieldID, id))
  31. }
  32. // IDGTE applies the GTE predicate on the ID field.
  33. func IDGTE(id int64) predicate.BatchImageItem {
  34. return predicate.BatchImageItem(sql.FieldGTE(FieldID, id))
  35. }
  36. // IDLT applies the LT predicate on the ID field.
  37. func IDLT(id int64) predicate.BatchImageItem {
  38. return predicate.BatchImageItem(sql.FieldLT(FieldID, id))
  39. }
  40. // IDLTE applies the LTE predicate on the ID field.
  41. func IDLTE(id int64) predicate.BatchImageItem {
  42. return predicate.BatchImageItem(sql.FieldLTE(FieldID, id))
  43. }
  44. // JobID applies equality check predicate on the "job_id" field. It's identical to JobIDEQ.
  45. func JobID(v string) predicate.BatchImageItem {
  46. return predicate.BatchImageItem(sql.FieldEQ(FieldJobID, v))
  47. }
  48. // CustomID applies equality check predicate on the "custom_id" field. It's identical to CustomIDEQ.
  49. func CustomID(v string) predicate.BatchImageItem {
  50. return predicate.BatchImageItem(sql.FieldEQ(FieldCustomID, v))
  51. }
  52. // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
  53. func Status(v string) predicate.BatchImageItem {
  54. return predicate.BatchImageItem(sql.FieldEQ(FieldStatus, v))
  55. }
  56. // RequestHash applies equality check predicate on the "request_hash" field. It's identical to RequestHashEQ.
  57. func RequestHash(v string) predicate.BatchImageItem {
  58. return predicate.BatchImageItem(sql.FieldEQ(FieldRequestHash, v))
  59. }
  60. // PromptPreview applies equality check predicate on the "prompt_preview" field. It's identical to PromptPreviewEQ.
  61. func PromptPreview(v string) predicate.BatchImageItem {
  62. return predicate.BatchImageItem(sql.FieldEQ(FieldPromptPreview, v))
  63. }
  64. // ProviderSourceObject applies equality check predicate on the "provider_source_object" field. It's identical to ProviderSourceObjectEQ.
  65. func ProviderSourceObject(v string) predicate.BatchImageItem {
  66. return predicate.BatchImageItem(sql.FieldEQ(FieldProviderSourceObject, v))
  67. }
  68. // SourceLineNumber applies equality check predicate on the "source_line_number" field. It's identical to SourceLineNumberEQ.
  69. func SourceLineNumber(v int) predicate.BatchImageItem {
  70. return predicate.BatchImageItem(sql.FieldEQ(FieldSourceLineNumber, v))
  71. }
  72. // SourceByteOffset applies equality check predicate on the "source_byte_offset" field. It's identical to SourceByteOffsetEQ.
  73. func SourceByteOffset(v int64) predicate.BatchImageItem {
  74. return predicate.BatchImageItem(sql.FieldEQ(FieldSourceByteOffset, v))
  75. }
  76. // SourceByteLength applies equality check predicate on the "source_byte_length" field. It's identical to SourceByteLengthEQ.
  77. func SourceByteLength(v int64) predicate.BatchImageItem {
  78. return predicate.BatchImageItem(sql.FieldEQ(FieldSourceByteLength, v))
  79. }
  80. // MimeType applies equality check predicate on the "mime_type" field. It's identical to MimeTypeEQ.
  81. func MimeType(v string) predicate.BatchImageItem {
  82. return predicate.BatchImageItem(sql.FieldEQ(FieldMimeType, v))
  83. }
  84. // FileExtension applies equality check predicate on the "file_extension" field. It's identical to FileExtensionEQ.
  85. func FileExtension(v string) predicate.BatchImageItem {
  86. return predicate.BatchImageItem(sql.FieldEQ(FieldFileExtension, v))
  87. }
  88. // ImageCount applies equality check predicate on the "image_count" field. It's identical to ImageCountEQ.
  89. func ImageCount(v int) predicate.BatchImageItem {
  90. return predicate.BatchImageItem(sql.FieldEQ(FieldImageCount, v))
  91. }
  92. // ErrorCode applies equality check predicate on the "error_code" field. It's identical to ErrorCodeEQ.
  93. func ErrorCode(v string) predicate.BatchImageItem {
  94. return predicate.BatchImageItem(sql.FieldEQ(FieldErrorCode, v))
  95. }
  96. // ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.
  97. func ErrorMessage(v string) predicate.BatchImageItem {
  98. return predicate.BatchImageItem(sql.FieldEQ(FieldErrorMessage, v))
  99. }
  100. // BilledAmount applies equality check predicate on the "billed_amount" field. It's identical to BilledAmountEQ.
  101. func BilledAmount(v float64) predicate.BatchImageItem {
  102. return predicate.BatchImageItem(sql.FieldEQ(FieldBilledAmount, v))
  103. }
  104. // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
  105. func CreatedAt(v time.Time) predicate.BatchImageItem {
  106. return predicate.BatchImageItem(sql.FieldEQ(FieldCreatedAt, v))
  107. }
  108. // IndexedAt applies equality check predicate on the "indexed_at" field. It's identical to IndexedAtEQ.
  109. func IndexedAt(v time.Time) predicate.BatchImageItem {
  110. return predicate.BatchImageItem(sql.FieldEQ(FieldIndexedAt, v))
  111. }
  112. // JobIDEQ applies the EQ predicate on the "job_id" field.
  113. func JobIDEQ(v string) predicate.BatchImageItem {
  114. return predicate.BatchImageItem(sql.FieldEQ(FieldJobID, v))
  115. }
  116. // JobIDNEQ applies the NEQ predicate on the "job_id" field.
  117. func JobIDNEQ(v string) predicate.BatchImageItem {
  118. return predicate.BatchImageItem(sql.FieldNEQ(FieldJobID, v))
  119. }
  120. // JobIDIn applies the In predicate on the "job_id" field.
  121. func JobIDIn(vs ...string) predicate.BatchImageItem {
  122. return predicate.BatchImageItem(sql.FieldIn(FieldJobID, vs...))
  123. }
  124. // JobIDNotIn applies the NotIn predicate on the "job_id" field.
  125. func JobIDNotIn(vs ...string) predicate.BatchImageItem {
  126. return predicate.BatchImageItem(sql.FieldNotIn(FieldJobID, vs...))
  127. }
  128. // JobIDGT applies the GT predicate on the "job_id" field.
  129. func JobIDGT(v string) predicate.BatchImageItem {
  130. return predicate.BatchImageItem(sql.FieldGT(FieldJobID, v))
  131. }
  132. // JobIDGTE applies the GTE predicate on the "job_id" field.
  133. func JobIDGTE(v string) predicate.BatchImageItem {
  134. return predicate.BatchImageItem(sql.FieldGTE(FieldJobID, v))
  135. }
  136. // JobIDLT applies the LT predicate on the "job_id" field.
  137. func JobIDLT(v string) predicate.BatchImageItem {
  138. return predicate.BatchImageItem(sql.FieldLT(FieldJobID, v))
  139. }
  140. // JobIDLTE applies the LTE predicate on the "job_id" field.
  141. func JobIDLTE(v string) predicate.BatchImageItem {
  142. return predicate.BatchImageItem(sql.FieldLTE(FieldJobID, v))
  143. }
  144. // JobIDContains applies the Contains predicate on the "job_id" field.
  145. func JobIDContains(v string) predicate.BatchImageItem {
  146. return predicate.BatchImageItem(sql.FieldContains(FieldJobID, v))
  147. }
  148. // JobIDHasPrefix applies the HasPrefix predicate on the "job_id" field.
  149. func JobIDHasPrefix(v string) predicate.BatchImageItem {
  150. return predicate.BatchImageItem(sql.FieldHasPrefix(FieldJobID, v))
  151. }
  152. // JobIDHasSuffix applies the HasSuffix predicate on the "job_id" field.
  153. func JobIDHasSuffix(v string) predicate.BatchImageItem {
  154. return predicate.BatchImageItem(sql.FieldHasSuffix(FieldJobID, v))
  155. }
  156. // JobIDEqualFold applies the EqualFold predicate on the "job_id" field.
  157. func JobIDEqualFold(v string) predicate.BatchImageItem {
  158. return predicate.BatchImageItem(sql.FieldEqualFold(FieldJobID, v))
  159. }
  160. // JobIDContainsFold applies the ContainsFold predicate on the "job_id" field.
  161. func JobIDContainsFold(v string) predicate.BatchImageItem {
  162. return predicate.BatchImageItem(sql.FieldContainsFold(FieldJobID, v))
  163. }
  164. // CustomIDEQ applies the EQ predicate on the "custom_id" field.
  165. func CustomIDEQ(v string) predicate.BatchImageItem {
  166. return predicate.BatchImageItem(sql.FieldEQ(FieldCustomID, v))
  167. }
  168. // CustomIDNEQ applies the NEQ predicate on the "custom_id" field.
  169. func CustomIDNEQ(v string) predicate.BatchImageItem {
  170. return predicate.BatchImageItem(sql.FieldNEQ(FieldCustomID, v))
  171. }
  172. // CustomIDIn applies the In predicate on the "custom_id" field.
  173. func CustomIDIn(vs ...string) predicate.BatchImageItem {
  174. return predicate.BatchImageItem(sql.FieldIn(FieldCustomID, vs...))
  175. }
  176. // CustomIDNotIn applies the NotIn predicate on the "custom_id" field.
  177. func CustomIDNotIn(vs ...string) predicate.BatchImageItem {
  178. return predicate.BatchImageItem(sql.FieldNotIn(FieldCustomID, vs...))
  179. }
  180. // CustomIDGT applies the GT predicate on the "custom_id" field.
  181. func CustomIDGT(v string) predicate.BatchImageItem {
  182. return predicate.BatchImageItem(sql.FieldGT(FieldCustomID, v))
  183. }
  184. // CustomIDGTE applies the GTE predicate on the "custom_id" field.
  185. func CustomIDGTE(v string) predicate.BatchImageItem {
  186. return predicate.BatchImageItem(sql.FieldGTE(FieldCustomID, v))
  187. }
  188. // CustomIDLT applies the LT predicate on the "custom_id" field.
  189. func CustomIDLT(v string) predicate.BatchImageItem {
  190. return predicate.BatchImageItem(sql.FieldLT(FieldCustomID, v))
  191. }
  192. // CustomIDLTE applies the LTE predicate on the "custom_id" field.
  193. func CustomIDLTE(v string) predicate.BatchImageItem {
  194. return predicate.BatchImageItem(sql.FieldLTE(FieldCustomID, v))
  195. }
  196. // CustomIDContains applies the Contains predicate on the "custom_id" field.
  197. func CustomIDContains(v string) predicate.BatchImageItem {
  198. return predicate.BatchImageItem(sql.FieldContains(FieldCustomID, v))
  199. }
  200. // CustomIDHasPrefix applies the HasPrefix predicate on the "custom_id" field.
  201. func CustomIDHasPrefix(v string) predicate.BatchImageItem {
  202. return predicate.BatchImageItem(sql.FieldHasPrefix(FieldCustomID, v))
  203. }
  204. // CustomIDHasSuffix applies the HasSuffix predicate on the "custom_id" field.
  205. func CustomIDHasSuffix(v string) predicate.BatchImageItem {
  206. return predicate.BatchImageItem(sql.FieldHasSuffix(FieldCustomID, v))
  207. }
  208. // CustomIDEqualFold applies the EqualFold predicate on the "custom_id" field.
  209. func CustomIDEqualFold(v string) predicate.BatchImageItem {
  210. return predicate.BatchImageItem(sql.FieldEqualFold(FieldCustomID, v))
  211. }
  212. // CustomIDContainsFold applies the ContainsFold predicate on the "custom_id" field.
  213. func CustomIDContainsFold(v string) predicate.BatchImageItem {
  214. return predicate.BatchImageItem(sql.FieldContainsFold(FieldCustomID, v))
  215. }
  216. // StatusEQ applies the EQ predicate on the "status" field.
  217. func StatusEQ(v string) predicate.BatchImageItem {
  218. return predicate.BatchImageItem(sql.FieldEQ(FieldStatus, v))
  219. }
  220. // StatusNEQ applies the NEQ predicate on the "status" field.
  221. func StatusNEQ(v string) predicate.BatchImageItem {
  222. return predicate.BatchImageItem(sql.FieldNEQ(FieldStatus, v))
  223. }
  224. // StatusIn applies the In predicate on the "status" field.
  225. func StatusIn(vs ...string) predicate.BatchImageItem {
  226. return predicate.BatchImageItem(sql.FieldIn(FieldStatus, vs...))
  227. }
  228. // StatusNotIn applies the NotIn predicate on the "status" field.
  229. func StatusNotIn(vs ...string) predicate.BatchImageItem {
  230. return predicate.BatchImageItem(sql.FieldNotIn(FieldStatus, vs...))
  231. }
  232. // StatusGT applies the GT predicate on the "status" field.
  233. func StatusGT(v string) predicate.BatchImageItem {
  234. return predicate.BatchImageItem(sql.FieldGT(FieldStatus, v))
  235. }
  236. // StatusGTE applies the GTE predicate on the "status" field.
  237. func StatusGTE(v string) predicate.BatchImageItem {
  238. return predicate.BatchImageItem(sql.FieldGTE(FieldStatus, v))
  239. }
  240. // StatusLT applies the LT predicate on the "status" field.
  241. func StatusLT(v string) predicate.BatchImageItem {
  242. return predicate.BatchImageItem(sql.FieldLT(FieldStatus, v))
  243. }
  244. // StatusLTE applies the LTE predicate on the "status" field.
  245. func StatusLTE(v string) predicate.BatchImageItem {
  246. return predicate.BatchImageItem(sql.FieldLTE(FieldStatus, v))
  247. }
  248. // StatusContains applies the Contains predicate on the "status" field.
  249. func StatusContains(v string) predicate.BatchImageItem {
  250. return predicate.BatchImageItem(sql.FieldContains(FieldStatus, v))
  251. }
  252. // StatusHasPrefix applies the HasPrefix predicate on the "status" field.
  253. func StatusHasPrefix(v string) predicate.BatchImageItem {
  254. return predicate.BatchImageItem(sql.FieldHasPrefix(FieldStatus, v))
  255. }
  256. // StatusHasSuffix applies the HasSuffix predicate on the "status" field.
  257. func StatusHasSuffix(v string) predicate.BatchImageItem {
  258. return predicate.BatchImageItem(sql.FieldHasSuffix(FieldStatus, v))
  259. }
  260. // StatusEqualFold applies the EqualFold predicate on the "status" field.
  261. func StatusEqualFold(v string) predicate.BatchImageItem {
  262. return predicate.BatchImageItem(sql.FieldEqualFold(FieldStatus, v))
  263. }
  264. // StatusContainsFold applies the ContainsFold predicate on the "status" field.
  265. func StatusContainsFold(v string) predicate.BatchImageItem {
  266. return predicate.BatchImageItem(sql.FieldContainsFold(FieldStatus, v))
  267. }
  268. // RequestHashEQ applies the EQ predicate on the "request_hash" field.
  269. func RequestHashEQ(v string) predicate.BatchImageItem {
  270. return predicate.BatchImageItem(sql.FieldEQ(FieldRequestHash, v))
  271. }
  272. // RequestHashNEQ applies the NEQ predicate on the "request_hash" field.
  273. func RequestHashNEQ(v string) predicate.BatchImageItem {
  274. return predicate.BatchImageItem(sql.FieldNEQ(FieldRequestHash, v))
  275. }
  276. // RequestHashIn applies the In predicate on the "request_hash" field.
  277. func RequestHashIn(vs ...string) predicate.BatchImageItem {
  278. return predicate.BatchImageItem(sql.FieldIn(FieldRequestHash, vs...))
  279. }
  280. // RequestHashNotIn applies the NotIn predicate on the "request_hash" field.
  281. func RequestHashNotIn(vs ...string) predicate.BatchImageItem {
  282. return predicate.BatchImageItem(sql.FieldNotIn(FieldRequestHash, vs...))
  283. }
  284. // RequestHashGT applies the GT predicate on the "request_hash" field.
  285. func RequestHashGT(v string) predicate.BatchImageItem {
  286. return predicate.BatchImageItem(sql.FieldGT(FieldRequestHash, v))
  287. }
  288. // RequestHashGTE applies the GTE predicate on the "request_hash" field.
  289. func RequestHashGTE(v string) predicate.BatchImageItem {
  290. return predicate.BatchImageItem(sql.FieldGTE(FieldRequestHash, v))
  291. }
  292. // RequestHashLT applies the LT predicate on the "request_hash" field.
  293. func RequestHashLT(v string) predicate.BatchImageItem {
  294. return predicate.BatchImageItem(sql.FieldLT(FieldRequestHash, v))
  295. }
  296. // RequestHashLTE applies the LTE predicate on the "request_hash" field.
  297. func RequestHashLTE(v string) predicate.BatchImageItem {
  298. return predicate.BatchImageItem(sql.FieldLTE(FieldRequestHash, v))
  299. }
  300. // RequestHashContains applies the Contains predicate on the "request_hash" field.
  301. func RequestHashContains(v string) predicate.BatchImageItem {
  302. return predicate.BatchImageItem(sql.FieldContains(FieldRequestHash, v))
  303. }
  304. // RequestHashHasPrefix applies the HasPrefix predicate on the "request_hash" field.
  305. func RequestHashHasPrefix(v string) predicate.BatchImageItem {
  306. return predicate.BatchImageItem(sql.FieldHasPrefix(FieldRequestHash, v))
  307. }
  308. // RequestHashHasSuffix applies the HasSuffix predicate on the "request_hash" field.
  309. func RequestHashHasSuffix(v string) predicate.BatchImageItem {
  310. return predicate.BatchImageItem(sql.FieldHasSuffix(FieldRequestHash, v))
  311. }
  312. // RequestHashIsNil applies the IsNil predicate on the "request_hash" field.
  313. func RequestHashIsNil() predicate.BatchImageItem {
  314. return predicate.BatchImageItem(sql.FieldIsNull(FieldRequestHash))
  315. }
  316. // RequestHashNotNil applies the NotNil predicate on the "request_hash" field.
  317. func RequestHashNotNil() predicate.BatchImageItem {
  318. return predicate.BatchImageItem(sql.FieldNotNull(FieldRequestHash))
  319. }
  320. // RequestHashEqualFold applies the EqualFold predicate on the "request_hash" field.
  321. func RequestHashEqualFold(v string) predicate.BatchImageItem {
  322. return predicate.BatchImageItem(sql.FieldEqualFold(FieldRequestHash, v))
  323. }
  324. // RequestHashContainsFold applies the ContainsFold predicate on the "request_hash" field.
  325. func RequestHashContainsFold(v string) predicate.BatchImageItem {
  326. return predicate.BatchImageItem(sql.FieldContainsFold(FieldRequestHash, v))
  327. }
  328. // PromptPreviewEQ applies the EQ predicate on the "prompt_preview" field.
  329. func PromptPreviewEQ(v string) predicate.BatchImageItem {
  330. return predicate.BatchImageItem(sql.FieldEQ(FieldPromptPreview, v))
  331. }
  332. // PromptPreviewNEQ applies the NEQ predicate on the "prompt_preview" field.
  333. func PromptPreviewNEQ(v string) predicate.BatchImageItem {
  334. return predicate.BatchImageItem(sql.FieldNEQ(FieldPromptPreview, v))
  335. }
  336. // PromptPreviewIn applies the In predicate on the "prompt_preview" field.
  337. func PromptPreviewIn(vs ...string) predicate.BatchImageItem {
  338. return predicate.BatchImageItem(sql.FieldIn(FieldPromptPreview, vs...))
  339. }
  340. // PromptPreviewNotIn applies the NotIn predicate on the "prompt_preview" field.
  341. func PromptPreviewNotIn(vs ...string) predicate.BatchImageItem {
  342. return predicate.BatchImageItem(sql.FieldNotIn(FieldPromptPreview, vs...))
  343. }
  344. // PromptPreviewGT applies the GT predicate on the "prompt_preview" field.
  345. func PromptPreviewGT(v string) predicate.BatchImageItem {
  346. return predicate.BatchImageItem(sql.FieldGT(FieldPromptPreview, v))
  347. }
  348. // PromptPreviewGTE applies the GTE predicate on the "prompt_preview" field.
  349. func PromptPreviewGTE(v string) predicate.BatchImageItem {
  350. return predicate.BatchImageItem(sql.FieldGTE(FieldPromptPreview, v))
  351. }
  352. // PromptPreviewLT applies the LT predicate on the "prompt_preview" field.
  353. func PromptPreviewLT(v string) predicate.BatchImageItem {
  354. return predicate.BatchImageItem(sql.FieldLT(FieldPromptPreview, v))
  355. }
  356. // PromptPreviewLTE applies the LTE predicate on the "prompt_preview" field.
  357. func PromptPreviewLTE(v string) predicate.BatchImageItem {
  358. return predicate.BatchImageItem(sql.FieldLTE(FieldPromptPreview, v))
  359. }
  360. // PromptPreviewContains applies the Contains predicate on the "prompt_preview" field.
  361. func PromptPreviewContains(v string) predicate.BatchImageItem {
  362. return predicate.BatchImageItem(sql.FieldContains(FieldPromptPreview, v))
  363. }
  364. // PromptPreviewHasPrefix applies the HasPrefix predicate on the "prompt_preview" field.
  365. func PromptPreviewHasPrefix(v string) predicate.BatchImageItem {
  366. return predicate.BatchImageItem(sql.FieldHasPrefix(FieldPromptPreview, v))
  367. }
  368. // PromptPreviewHasSuffix applies the HasSuffix predicate on the "prompt_preview" field.
  369. func PromptPreviewHasSuffix(v string) predicate.BatchImageItem {
  370. return predicate.BatchImageItem(sql.FieldHasSuffix(FieldPromptPreview, v))
  371. }
  372. // PromptPreviewIsNil applies the IsNil predicate on the "prompt_preview" field.
  373. func PromptPreviewIsNil() predicate.BatchImageItem {
  374. return predicate.BatchImageItem(sql.FieldIsNull(FieldPromptPreview))
  375. }
  376. // PromptPreviewNotNil applies the NotNil predicate on the "prompt_preview" field.
  377. func PromptPreviewNotNil() predicate.BatchImageItem {
  378. return predicate.BatchImageItem(sql.FieldNotNull(FieldPromptPreview))
  379. }
  380. // PromptPreviewEqualFold applies the EqualFold predicate on the "prompt_preview" field.
  381. func PromptPreviewEqualFold(v string) predicate.BatchImageItem {
  382. return predicate.BatchImageItem(sql.FieldEqualFold(FieldPromptPreview, v))
  383. }
  384. // PromptPreviewContainsFold applies the ContainsFold predicate on the "prompt_preview" field.
  385. func PromptPreviewContainsFold(v string) predicate.BatchImageItem {
  386. return predicate.BatchImageItem(sql.FieldContainsFold(FieldPromptPreview, v))
  387. }
  388. // ProviderSourceObjectEQ applies the EQ predicate on the "provider_source_object" field.
  389. func ProviderSourceObjectEQ(v string) predicate.BatchImageItem {
  390. return predicate.BatchImageItem(sql.FieldEQ(FieldProviderSourceObject, v))
  391. }
  392. // ProviderSourceObjectNEQ applies the NEQ predicate on the "provider_source_object" field.
  393. func ProviderSourceObjectNEQ(v string) predicate.BatchImageItem {
  394. return predicate.BatchImageItem(sql.FieldNEQ(FieldProviderSourceObject, v))
  395. }
  396. // ProviderSourceObjectIn applies the In predicate on the "provider_source_object" field.
  397. func ProviderSourceObjectIn(vs ...string) predicate.BatchImageItem {
  398. return predicate.BatchImageItem(sql.FieldIn(FieldProviderSourceObject, vs...))
  399. }
  400. // ProviderSourceObjectNotIn applies the NotIn predicate on the "provider_source_object" field.
  401. func ProviderSourceObjectNotIn(vs ...string) predicate.BatchImageItem {
  402. return predicate.BatchImageItem(sql.FieldNotIn(FieldProviderSourceObject, vs...))
  403. }
  404. // ProviderSourceObjectGT applies the GT predicate on the "provider_source_object" field.
  405. func ProviderSourceObjectGT(v string) predicate.BatchImageItem {
  406. return predicate.BatchImageItem(sql.FieldGT(FieldProviderSourceObject, v))
  407. }
  408. // ProviderSourceObjectGTE applies the GTE predicate on the "provider_source_object" field.
  409. func ProviderSourceObjectGTE(v string) predicate.BatchImageItem {
  410. return predicate.BatchImageItem(sql.FieldGTE(FieldProviderSourceObject, v))
  411. }
  412. // ProviderSourceObjectLT applies the LT predicate on the "provider_source_object" field.
  413. func ProviderSourceObjectLT(v string) predicate.BatchImageItem {
  414. return predicate.BatchImageItem(sql.FieldLT(FieldProviderSourceObject, v))
  415. }
  416. // ProviderSourceObjectLTE applies the LTE predicate on the "provider_source_object" field.
  417. func ProviderSourceObjectLTE(v string) predicate.BatchImageItem {
  418. return predicate.BatchImageItem(sql.FieldLTE(FieldProviderSourceObject, v))
  419. }
  420. // ProviderSourceObjectContains applies the Contains predicate on the "provider_source_object" field.
  421. func ProviderSourceObjectContains(v string) predicate.BatchImageItem {
  422. return predicate.BatchImageItem(sql.FieldContains(FieldProviderSourceObject, v))
  423. }
  424. // ProviderSourceObjectHasPrefix applies the HasPrefix predicate on the "provider_source_object" field.
  425. func ProviderSourceObjectHasPrefix(v string) predicate.BatchImageItem {
  426. return predicate.BatchImageItem(sql.FieldHasPrefix(FieldProviderSourceObject, v))
  427. }
  428. // ProviderSourceObjectHasSuffix applies the HasSuffix predicate on the "provider_source_object" field.
  429. func ProviderSourceObjectHasSuffix(v string) predicate.BatchImageItem {
  430. return predicate.BatchImageItem(sql.FieldHasSuffix(FieldProviderSourceObject, v))
  431. }
  432. // ProviderSourceObjectIsNil applies the IsNil predicate on the "provider_source_object" field.
  433. func ProviderSourceObjectIsNil() predicate.BatchImageItem {
  434. return predicate.BatchImageItem(sql.FieldIsNull(FieldProviderSourceObject))
  435. }
  436. // ProviderSourceObjectNotNil applies the NotNil predicate on the "provider_source_object" field.
  437. func ProviderSourceObjectNotNil() predicate.BatchImageItem {
  438. return predicate.BatchImageItem(sql.FieldNotNull(FieldProviderSourceObject))
  439. }
  440. // ProviderSourceObjectEqualFold applies the EqualFold predicate on the "provider_source_object" field.
  441. func ProviderSourceObjectEqualFold(v string) predicate.BatchImageItem {
  442. return predicate.BatchImageItem(sql.FieldEqualFold(FieldProviderSourceObject, v))
  443. }
  444. // ProviderSourceObjectContainsFold applies the ContainsFold predicate on the "provider_source_object" field.
  445. func ProviderSourceObjectContainsFold(v string) predicate.BatchImageItem {
  446. return predicate.BatchImageItem(sql.FieldContainsFold(FieldProviderSourceObject, v))
  447. }
  448. // SourceLineNumberEQ applies the EQ predicate on the "source_line_number" field.
  449. func SourceLineNumberEQ(v int) predicate.BatchImageItem {
  450. return predicate.BatchImageItem(sql.FieldEQ(FieldSourceLineNumber, v))
  451. }
  452. // SourceLineNumberNEQ applies the NEQ predicate on the "source_line_number" field.
  453. func SourceLineNumberNEQ(v int) predicate.BatchImageItem {
  454. return predicate.BatchImageItem(sql.FieldNEQ(FieldSourceLineNumber, v))
  455. }
  456. // SourceLineNumberIn applies the In predicate on the "source_line_number" field.
  457. func SourceLineNumberIn(vs ...int) predicate.BatchImageItem {
  458. return predicate.BatchImageItem(sql.FieldIn(FieldSourceLineNumber, vs...))
  459. }
  460. // SourceLineNumberNotIn applies the NotIn predicate on the "source_line_number" field.
  461. func SourceLineNumberNotIn(vs ...int) predicate.BatchImageItem {
  462. return predicate.BatchImageItem(sql.FieldNotIn(FieldSourceLineNumber, vs...))
  463. }
  464. // SourceLineNumberGT applies the GT predicate on the "source_line_number" field.
  465. func SourceLineNumberGT(v int) predicate.BatchImageItem {
  466. return predicate.BatchImageItem(sql.FieldGT(FieldSourceLineNumber, v))
  467. }
  468. // SourceLineNumberGTE applies the GTE predicate on the "source_line_number" field.
  469. func SourceLineNumberGTE(v int) predicate.BatchImageItem {
  470. return predicate.BatchImageItem(sql.FieldGTE(FieldSourceLineNumber, v))
  471. }
  472. // SourceLineNumberLT applies the LT predicate on the "source_line_number" field.
  473. func SourceLineNumberLT(v int) predicate.BatchImageItem {
  474. return predicate.BatchImageItem(sql.FieldLT(FieldSourceLineNumber, v))
  475. }
  476. // SourceLineNumberLTE applies the LTE predicate on the "source_line_number" field.
  477. func SourceLineNumberLTE(v int) predicate.BatchImageItem {
  478. return predicate.BatchImageItem(sql.FieldLTE(FieldSourceLineNumber, v))
  479. }
  480. // SourceLineNumberIsNil applies the IsNil predicate on the "source_line_number" field.
  481. func SourceLineNumberIsNil() predicate.BatchImageItem {
  482. return predicate.BatchImageItem(sql.FieldIsNull(FieldSourceLineNumber))
  483. }
  484. // SourceLineNumberNotNil applies the NotNil predicate on the "source_line_number" field.
  485. func SourceLineNumberNotNil() predicate.BatchImageItem {
  486. return predicate.BatchImageItem(sql.FieldNotNull(FieldSourceLineNumber))
  487. }
  488. // SourceByteOffsetEQ applies the EQ predicate on the "source_byte_offset" field.
  489. func SourceByteOffsetEQ(v int64) predicate.BatchImageItem {
  490. return predicate.BatchImageItem(sql.FieldEQ(FieldSourceByteOffset, v))
  491. }
  492. // SourceByteOffsetNEQ applies the NEQ predicate on the "source_byte_offset" field.
  493. func SourceByteOffsetNEQ(v int64) predicate.BatchImageItem {
  494. return predicate.BatchImageItem(sql.FieldNEQ(FieldSourceByteOffset, v))
  495. }
  496. // SourceByteOffsetIn applies the In predicate on the "source_byte_offset" field.
  497. func SourceByteOffsetIn(vs ...int64) predicate.BatchImageItem {
  498. return predicate.BatchImageItem(sql.FieldIn(FieldSourceByteOffset, vs...))
  499. }
  500. // SourceByteOffsetNotIn applies the NotIn predicate on the "source_byte_offset" field.
  501. func SourceByteOffsetNotIn(vs ...int64) predicate.BatchImageItem {
  502. return predicate.BatchImageItem(sql.FieldNotIn(FieldSourceByteOffset, vs...))
  503. }
  504. // SourceByteOffsetGT applies the GT predicate on the "source_byte_offset" field.
  505. func SourceByteOffsetGT(v int64) predicate.BatchImageItem {
  506. return predicate.BatchImageItem(sql.FieldGT(FieldSourceByteOffset, v))
  507. }
  508. // SourceByteOffsetGTE applies the GTE predicate on the "source_byte_offset" field.
  509. func SourceByteOffsetGTE(v int64) predicate.BatchImageItem {
  510. return predicate.BatchImageItem(sql.FieldGTE(FieldSourceByteOffset, v))
  511. }
  512. // SourceByteOffsetLT applies the LT predicate on the "source_byte_offset" field.
  513. func SourceByteOffsetLT(v int64) predicate.BatchImageItem {
  514. return predicate.BatchImageItem(sql.FieldLT(FieldSourceByteOffset, v))
  515. }
  516. // SourceByteOffsetLTE applies the LTE predicate on the "source_byte_offset" field.
  517. func SourceByteOffsetLTE(v int64) predicate.BatchImageItem {
  518. return predicate.BatchImageItem(sql.FieldLTE(FieldSourceByteOffset, v))
  519. }
  520. // SourceByteOffsetIsNil applies the IsNil predicate on the "source_byte_offset" field.
  521. func SourceByteOffsetIsNil() predicate.BatchImageItem {
  522. return predicate.BatchImageItem(sql.FieldIsNull(FieldSourceByteOffset))
  523. }
  524. // SourceByteOffsetNotNil applies the NotNil predicate on the "source_byte_offset" field.
  525. func SourceByteOffsetNotNil() predicate.BatchImageItem {
  526. return predicate.BatchImageItem(sql.FieldNotNull(FieldSourceByteOffset))
  527. }
  528. // SourceByteLengthEQ applies the EQ predicate on the "source_byte_length" field.
  529. func SourceByteLengthEQ(v int64) predicate.BatchImageItem {
  530. return predicate.BatchImageItem(sql.FieldEQ(FieldSourceByteLength, v))
  531. }
  532. // SourceByteLengthNEQ applies the NEQ predicate on the "source_byte_length" field.
  533. func SourceByteLengthNEQ(v int64) predicate.BatchImageItem {
  534. return predicate.BatchImageItem(sql.FieldNEQ(FieldSourceByteLength, v))
  535. }
  536. // SourceByteLengthIn applies the In predicate on the "source_byte_length" field.
  537. func SourceByteLengthIn(vs ...int64) predicate.BatchImageItem {
  538. return predicate.BatchImageItem(sql.FieldIn(FieldSourceByteLength, vs...))
  539. }
  540. // SourceByteLengthNotIn applies the NotIn predicate on the "source_byte_length" field.
  541. func SourceByteLengthNotIn(vs ...int64) predicate.BatchImageItem {
  542. return predicate.BatchImageItem(sql.FieldNotIn(FieldSourceByteLength, vs...))
  543. }
  544. // SourceByteLengthGT applies the GT predicate on the "source_byte_length" field.
  545. func SourceByteLengthGT(v int64) predicate.BatchImageItem {
  546. return predicate.BatchImageItem(sql.FieldGT(FieldSourceByteLength, v))
  547. }
  548. // SourceByteLengthGTE applies the GTE predicate on the "source_byte_length" field.
  549. func SourceByteLengthGTE(v int64) predicate.BatchImageItem {
  550. return predicate.BatchImageItem(sql.FieldGTE(FieldSourceByteLength, v))
  551. }
  552. // SourceByteLengthLT applies the LT predicate on the "source_byte_length" field.
  553. func SourceByteLengthLT(v int64) predicate.BatchImageItem {
  554. return predicate.BatchImageItem(sql.FieldLT(FieldSourceByteLength, v))
  555. }
  556. // SourceByteLengthLTE applies the LTE predicate on the "source_byte_length" field.
  557. func SourceByteLengthLTE(v int64) predicate.BatchImageItem {
  558. return predicate.BatchImageItem(sql.FieldLTE(FieldSourceByteLength, v))
  559. }
  560. // SourceByteLengthIsNil applies the IsNil predicate on the "source_byte_length" field.
  561. func SourceByteLengthIsNil() predicate.BatchImageItem {
  562. return predicate.BatchImageItem(sql.FieldIsNull(FieldSourceByteLength))
  563. }
  564. // SourceByteLengthNotNil applies the NotNil predicate on the "source_byte_length" field.
  565. func SourceByteLengthNotNil() predicate.BatchImageItem {
  566. return predicate.BatchImageItem(sql.FieldNotNull(FieldSourceByteLength))
  567. }
  568. // MimeTypeEQ applies the EQ predicate on the "mime_type" field.
  569. func MimeTypeEQ(v string) predicate.BatchImageItem {
  570. return predicate.BatchImageItem(sql.FieldEQ(FieldMimeType, v))
  571. }
  572. // MimeTypeNEQ applies the NEQ predicate on the "mime_type" field.
  573. func MimeTypeNEQ(v string) predicate.BatchImageItem {
  574. return predicate.BatchImageItem(sql.FieldNEQ(FieldMimeType, v))
  575. }
  576. // MimeTypeIn applies the In predicate on the "mime_type" field.
  577. func MimeTypeIn(vs ...string) predicate.BatchImageItem {
  578. return predicate.BatchImageItem(sql.FieldIn(FieldMimeType, vs...))
  579. }
  580. // MimeTypeNotIn applies the NotIn predicate on the "mime_type" field.
  581. func MimeTypeNotIn(vs ...string) predicate.BatchImageItem {
  582. return predicate.BatchImageItem(sql.FieldNotIn(FieldMimeType, vs...))
  583. }
  584. // MimeTypeGT applies the GT predicate on the "mime_type" field.
  585. func MimeTypeGT(v string) predicate.BatchImageItem {
  586. return predicate.BatchImageItem(sql.FieldGT(FieldMimeType, v))
  587. }
  588. // MimeTypeGTE applies the GTE predicate on the "mime_type" field.
  589. func MimeTypeGTE(v string) predicate.BatchImageItem {
  590. return predicate.BatchImageItem(sql.FieldGTE(FieldMimeType, v))
  591. }
  592. // MimeTypeLT applies the LT predicate on the "mime_type" field.
  593. func MimeTypeLT(v string) predicate.BatchImageItem {
  594. return predicate.BatchImageItem(sql.FieldLT(FieldMimeType, v))
  595. }
  596. // MimeTypeLTE applies the LTE predicate on the "mime_type" field.
  597. func MimeTypeLTE(v string) predicate.BatchImageItem {
  598. return predicate.BatchImageItem(sql.FieldLTE(FieldMimeType, v))
  599. }
  600. // MimeTypeContains applies the Contains predicate on the "mime_type" field.
  601. func MimeTypeContains(v string) predicate.BatchImageItem {
  602. return predicate.BatchImageItem(sql.FieldContains(FieldMimeType, v))
  603. }
  604. // MimeTypeHasPrefix applies the HasPrefix predicate on the "mime_type" field.
  605. func MimeTypeHasPrefix(v string) predicate.BatchImageItem {
  606. return predicate.BatchImageItem(sql.FieldHasPrefix(FieldMimeType, v))
  607. }
  608. // MimeTypeHasSuffix applies the HasSuffix predicate on the "mime_type" field.
  609. func MimeTypeHasSuffix(v string) predicate.BatchImageItem {
  610. return predicate.BatchImageItem(sql.FieldHasSuffix(FieldMimeType, v))
  611. }
  612. // MimeTypeIsNil applies the IsNil predicate on the "mime_type" field.
  613. func MimeTypeIsNil() predicate.BatchImageItem {
  614. return predicate.BatchImageItem(sql.FieldIsNull(FieldMimeType))
  615. }
  616. // MimeTypeNotNil applies the NotNil predicate on the "mime_type" field.
  617. func MimeTypeNotNil() predicate.BatchImageItem {
  618. return predicate.BatchImageItem(sql.FieldNotNull(FieldMimeType))
  619. }
  620. // MimeTypeEqualFold applies the EqualFold predicate on the "mime_type" field.
  621. func MimeTypeEqualFold(v string) predicate.BatchImageItem {
  622. return predicate.BatchImageItem(sql.FieldEqualFold(FieldMimeType, v))
  623. }
  624. // MimeTypeContainsFold applies the ContainsFold predicate on the "mime_type" field.
  625. func MimeTypeContainsFold(v string) predicate.BatchImageItem {
  626. return predicate.BatchImageItem(sql.FieldContainsFold(FieldMimeType, v))
  627. }
  628. // FileExtensionEQ applies the EQ predicate on the "file_extension" field.
  629. func FileExtensionEQ(v string) predicate.BatchImageItem {
  630. return predicate.BatchImageItem(sql.FieldEQ(FieldFileExtension, v))
  631. }
  632. // FileExtensionNEQ applies the NEQ predicate on the "file_extension" field.
  633. func FileExtensionNEQ(v string) predicate.BatchImageItem {
  634. return predicate.BatchImageItem(sql.FieldNEQ(FieldFileExtension, v))
  635. }
  636. // FileExtensionIn applies the In predicate on the "file_extension" field.
  637. func FileExtensionIn(vs ...string) predicate.BatchImageItem {
  638. return predicate.BatchImageItem(sql.FieldIn(FieldFileExtension, vs...))
  639. }
  640. // FileExtensionNotIn applies the NotIn predicate on the "file_extension" field.
  641. func FileExtensionNotIn(vs ...string) predicate.BatchImageItem {
  642. return predicate.BatchImageItem(sql.FieldNotIn(FieldFileExtension, vs...))
  643. }
  644. // FileExtensionGT applies the GT predicate on the "file_extension" field.
  645. func FileExtensionGT(v string) predicate.BatchImageItem {
  646. return predicate.BatchImageItem(sql.FieldGT(FieldFileExtension, v))
  647. }
  648. // FileExtensionGTE applies the GTE predicate on the "file_extension" field.
  649. func FileExtensionGTE(v string) predicate.BatchImageItem {
  650. return predicate.BatchImageItem(sql.FieldGTE(FieldFileExtension, v))
  651. }
  652. // FileExtensionLT applies the LT predicate on the "file_extension" field.
  653. func FileExtensionLT(v string) predicate.BatchImageItem {
  654. return predicate.BatchImageItem(sql.FieldLT(FieldFileExtension, v))
  655. }
  656. // FileExtensionLTE applies the LTE predicate on the "file_extension" field.
  657. func FileExtensionLTE(v string) predicate.BatchImageItem {
  658. return predicate.BatchImageItem(sql.FieldLTE(FieldFileExtension, v))
  659. }
  660. // FileExtensionContains applies the Contains predicate on the "file_extension" field.
  661. func FileExtensionContains(v string) predicate.BatchImageItem {
  662. return predicate.BatchImageItem(sql.FieldContains(FieldFileExtension, v))
  663. }
  664. // FileExtensionHasPrefix applies the HasPrefix predicate on the "file_extension" field.
  665. func FileExtensionHasPrefix(v string) predicate.BatchImageItem {
  666. return predicate.BatchImageItem(sql.FieldHasPrefix(FieldFileExtension, v))
  667. }
  668. // FileExtensionHasSuffix applies the HasSuffix predicate on the "file_extension" field.
  669. func FileExtensionHasSuffix(v string) predicate.BatchImageItem {
  670. return predicate.BatchImageItem(sql.FieldHasSuffix(FieldFileExtension, v))
  671. }
  672. // FileExtensionIsNil applies the IsNil predicate on the "file_extension" field.
  673. func FileExtensionIsNil() predicate.BatchImageItem {
  674. return predicate.BatchImageItem(sql.FieldIsNull(FieldFileExtension))
  675. }
  676. // FileExtensionNotNil applies the NotNil predicate on the "file_extension" field.
  677. func FileExtensionNotNil() predicate.BatchImageItem {
  678. return predicate.BatchImageItem(sql.FieldNotNull(FieldFileExtension))
  679. }
  680. // FileExtensionEqualFold applies the EqualFold predicate on the "file_extension" field.
  681. func FileExtensionEqualFold(v string) predicate.BatchImageItem {
  682. return predicate.BatchImageItem(sql.FieldEqualFold(FieldFileExtension, v))
  683. }
  684. // FileExtensionContainsFold applies the ContainsFold predicate on the "file_extension" field.
  685. func FileExtensionContainsFold(v string) predicate.BatchImageItem {
  686. return predicate.BatchImageItem(sql.FieldContainsFold(FieldFileExtension, v))
  687. }
  688. // ImageCountEQ applies the EQ predicate on the "image_count" field.
  689. func ImageCountEQ(v int) predicate.BatchImageItem {
  690. return predicate.BatchImageItem(sql.FieldEQ(FieldImageCount, v))
  691. }
  692. // ImageCountNEQ applies the NEQ predicate on the "image_count" field.
  693. func ImageCountNEQ(v int) predicate.BatchImageItem {
  694. return predicate.BatchImageItem(sql.FieldNEQ(FieldImageCount, v))
  695. }
  696. // ImageCountIn applies the In predicate on the "image_count" field.
  697. func ImageCountIn(vs ...int) predicate.BatchImageItem {
  698. return predicate.BatchImageItem(sql.FieldIn(FieldImageCount, vs...))
  699. }
  700. // ImageCountNotIn applies the NotIn predicate on the "image_count" field.
  701. func ImageCountNotIn(vs ...int) predicate.BatchImageItem {
  702. return predicate.BatchImageItem(sql.FieldNotIn(FieldImageCount, vs...))
  703. }
  704. // ImageCountGT applies the GT predicate on the "image_count" field.
  705. func ImageCountGT(v int) predicate.BatchImageItem {
  706. return predicate.BatchImageItem(sql.FieldGT(FieldImageCount, v))
  707. }
  708. // ImageCountGTE applies the GTE predicate on the "image_count" field.
  709. func ImageCountGTE(v int) predicate.BatchImageItem {
  710. return predicate.BatchImageItem(sql.FieldGTE(FieldImageCount, v))
  711. }
  712. // ImageCountLT applies the LT predicate on the "image_count" field.
  713. func ImageCountLT(v int) predicate.BatchImageItem {
  714. return predicate.BatchImageItem(sql.FieldLT(FieldImageCount, v))
  715. }
  716. // ImageCountLTE applies the LTE predicate on the "image_count" field.
  717. func ImageCountLTE(v int) predicate.BatchImageItem {
  718. return predicate.BatchImageItem(sql.FieldLTE(FieldImageCount, v))
  719. }
  720. // ErrorCodeEQ applies the EQ predicate on the "error_code" field.
  721. func ErrorCodeEQ(v string) predicate.BatchImageItem {
  722. return predicate.BatchImageItem(sql.FieldEQ(FieldErrorCode, v))
  723. }
  724. // ErrorCodeNEQ applies the NEQ predicate on the "error_code" field.
  725. func ErrorCodeNEQ(v string) predicate.BatchImageItem {
  726. return predicate.BatchImageItem(sql.FieldNEQ(FieldErrorCode, v))
  727. }
  728. // ErrorCodeIn applies the In predicate on the "error_code" field.
  729. func ErrorCodeIn(vs ...string) predicate.BatchImageItem {
  730. return predicate.BatchImageItem(sql.FieldIn(FieldErrorCode, vs...))
  731. }
  732. // ErrorCodeNotIn applies the NotIn predicate on the "error_code" field.
  733. func ErrorCodeNotIn(vs ...string) predicate.BatchImageItem {
  734. return predicate.BatchImageItem(sql.FieldNotIn(FieldErrorCode, vs...))
  735. }
  736. // ErrorCodeGT applies the GT predicate on the "error_code" field.
  737. func ErrorCodeGT(v string) predicate.BatchImageItem {
  738. return predicate.BatchImageItem(sql.FieldGT(FieldErrorCode, v))
  739. }
  740. // ErrorCodeGTE applies the GTE predicate on the "error_code" field.
  741. func ErrorCodeGTE(v string) predicate.BatchImageItem {
  742. return predicate.BatchImageItem(sql.FieldGTE(FieldErrorCode, v))
  743. }
  744. // ErrorCodeLT applies the LT predicate on the "error_code" field.
  745. func ErrorCodeLT(v string) predicate.BatchImageItem {
  746. return predicate.BatchImageItem(sql.FieldLT(FieldErrorCode, v))
  747. }
  748. // ErrorCodeLTE applies the LTE predicate on the "error_code" field.
  749. func ErrorCodeLTE(v string) predicate.BatchImageItem {
  750. return predicate.BatchImageItem(sql.FieldLTE(FieldErrorCode, v))
  751. }
  752. // ErrorCodeContains applies the Contains predicate on the "error_code" field.
  753. func ErrorCodeContains(v string) predicate.BatchImageItem {
  754. return predicate.BatchImageItem(sql.FieldContains(FieldErrorCode, v))
  755. }
  756. // ErrorCodeHasPrefix applies the HasPrefix predicate on the "error_code" field.
  757. func ErrorCodeHasPrefix(v string) predicate.BatchImageItem {
  758. return predicate.BatchImageItem(sql.FieldHasPrefix(FieldErrorCode, v))
  759. }
  760. // ErrorCodeHasSuffix applies the HasSuffix predicate on the "error_code" field.
  761. func ErrorCodeHasSuffix(v string) predicate.BatchImageItem {
  762. return predicate.BatchImageItem(sql.FieldHasSuffix(FieldErrorCode, v))
  763. }
  764. // ErrorCodeIsNil applies the IsNil predicate on the "error_code" field.
  765. func ErrorCodeIsNil() predicate.BatchImageItem {
  766. return predicate.BatchImageItem(sql.FieldIsNull(FieldErrorCode))
  767. }
  768. // ErrorCodeNotNil applies the NotNil predicate on the "error_code" field.
  769. func ErrorCodeNotNil() predicate.BatchImageItem {
  770. return predicate.BatchImageItem(sql.FieldNotNull(FieldErrorCode))
  771. }
  772. // ErrorCodeEqualFold applies the EqualFold predicate on the "error_code" field.
  773. func ErrorCodeEqualFold(v string) predicate.BatchImageItem {
  774. return predicate.BatchImageItem(sql.FieldEqualFold(FieldErrorCode, v))
  775. }
  776. // ErrorCodeContainsFold applies the ContainsFold predicate on the "error_code" field.
  777. func ErrorCodeContainsFold(v string) predicate.BatchImageItem {
  778. return predicate.BatchImageItem(sql.FieldContainsFold(FieldErrorCode, v))
  779. }
  780. // ErrorMessageEQ applies the EQ predicate on the "error_message" field.
  781. func ErrorMessageEQ(v string) predicate.BatchImageItem {
  782. return predicate.BatchImageItem(sql.FieldEQ(FieldErrorMessage, v))
  783. }
  784. // ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.
  785. func ErrorMessageNEQ(v string) predicate.BatchImageItem {
  786. return predicate.BatchImageItem(sql.FieldNEQ(FieldErrorMessage, v))
  787. }
  788. // ErrorMessageIn applies the In predicate on the "error_message" field.
  789. func ErrorMessageIn(vs ...string) predicate.BatchImageItem {
  790. return predicate.BatchImageItem(sql.FieldIn(FieldErrorMessage, vs...))
  791. }
  792. // ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.
  793. func ErrorMessageNotIn(vs ...string) predicate.BatchImageItem {
  794. return predicate.BatchImageItem(sql.FieldNotIn(FieldErrorMessage, vs...))
  795. }
  796. // ErrorMessageGT applies the GT predicate on the "error_message" field.
  797. func ErrorMessageGT(v string) predicate.BatchImageItem {
  798. return predicate.BatchImageItem(sql.FieldGT(FieldErrorMessage, v))
  799. }
  800. // ErrorMessageGTE applies the GTE predicate on the "error_message" field.
  801. func ErrorMessageGTE(v string) predicate.BatchImageItem {
  802. return predicate.BatchImageItem(sql.FieldGTE(FieldErrorMessage, v))
  803. }
  804. // ErrorMessageLT applies the LT predicate on the "error_message" field.
  805. func ErrorMessageLT(v string) predicate.BatchImageItem {
  806. return predicate.BatchImageItem(sql.FieldLT(FieldErrorMessage, v))
  807. }
  808. // ErrorMessageLTE applies the LTE predicate on the "error_message" field.
  809. func ErrorMessageLTE(v string) predicate.BatchImageItem {
  810. return predicate.BatchImageItem(sql.FieldLTE(FieldErrorMessage, v))
  811. }
  812. // ErrorMessageContains applies the Contains predicate on the "error_message" field.
  813. func ErrorMessageContains(v string) predicate.BatchImageItem {
  814. return predicate.BatchImageItem(sql.FieldContains(FieldErrorMessage, v))
  815. }
  816. // ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.
  817. func ErrorMessageHasPrefix(v string) predicate.BatchImageItem {
  818. return predicate.BatchImageItem(sql.FieldHasPrefix(FieldErrorMessage, v))
  819. }
  820. // ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.
  821. func ErrorMessageHasSuffix(v string) predicate.BatchImageItem {
  822. return predicate.BatchImageItem(sql.FieldHasSuffix(FieldErrorMessage, v))
  823. }
  824. // ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.
  825. func ErrorMessageIsNil() predicate.BatchImageItem {
  826. return predicate.BatchImageItem(sql.FieldIsNull(FieldErrorMessage))
  827. }
  828. // ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.
  829. func ErrorMessageNotNil() predicate.BatchImageItem {
  830. return predicate.BatchImageItem(sql.FieldNotNull(FieldErrorMessage))
  831. }
  832. // ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.
  833. func ErrorMessageEqualFold(v string) predicate.BatchImageItem {
  834. return predicate.BatchImageItem(sql.FieldEqualFold(FieldErrorMessage, v))
  835. }
  836. // ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.
  837. func ErrorMessageContainsFold(v string) predicate.BatchImageItem {
  838. return predicate.BatchImageItem(sql.FieldContainsFold(FieldErrorMessage, v))
  839. }
  840. // BilledAmountEQ applies the EQ predicate on the "billed_amount" field.
  841. func BilledAmountEQ(v float64) predicate.BatchImageItem {
  842. return predicate.BatchImageItem(sql.FieldEQ(FieldBilledAmount, v))
  843. }
  844. // BilledAmountNEQ applies the NEQ predicate on the "billed_amount" field.
  845. func BilledAmountNEQ(v float64) predicate.BatchImageItem {
  846. return predicate.BatchImageItem(sql.FieldNEQ(FieldBilledAmount, v))
  847. }
  848. // BilledAmountIn applies the In predicate on the "billed_amount" field.
  849. func BilledAmountIn(vs ...float64) predicate.BatchImageItem {
  850. return predicate.BatchImageItem(sql.FieldIn(FieldBilledAmount, vs...))
  851. }
  852. // BilledAmountNotIn applies the NotIn predicate on the "billed_amount" field.
  853. func BilledAmountNotIn(vs ...float64) predicate.BatchImageItem {
  854. return predicate.BatchImageItem(sql.FieldNotIn(FieldBilledAmount, vs...))
  855. }
  856. // BilledAmountGT applies the GT predicate on the "billed_amount" field.
  857. func BilledAmountGT(v float64) predicate.BatchImageItem {
  858. return predicate.BatchImageItem(sql.FieldGT(FieldBilledAmount, v))
  859. }
  860. // BilledAmountGTE applies the GTE predicate on the "billed_amount" field.
  861. func BilledAmountGTE(v float64) predicate.BatchImageItem {
  862. return predicate.BatchImageItem(sql.FieldGTE(FieldBilledAmount, v))
  863. }
  864. // BilledAmountLT applies the LT predicate on the "billed_amount" field.
  865. func BilledAmountLT(v float64) predicate.BatchImageItem {
  866. return predicate.BatchImageItem(sql.FieldLT(FieldBilledAmount, v))
  867. }
  868. // BilledAmountLTE applies the LTE predicate on the "billed_amount" field.
  869. func BilledAmountLTE(v float64) predicate.BatchImageItem {
  870. return predicate.BatchImageItem(sql.FieldLTE(FieldBilledAmount, v))
  871. }
  872. // BilledAmountIsNil applies the IsNil predicate on the "billed_amount" field.
  873. func BilledAmountIsNil() predicate.BatchImageItem {
  874. return predicate.BatchImageItem(sql.FieldIsNull(FieldBilledAmount))
  875. }
  876. // BilledAmountNotNil applies the NotNil predicate on the "billed_amount" field.
  877. func BilledAmountNotNil() predicate.BatchImageItem {
  878. return predicate.BatchImageItem(sql.FieldNotNull(FieldBilledAmount))
  879. }
  880. // CreatedAtEQ applies the EQ predicate on the "created_at" field.
  881. func CreatedAtEQ(v time.Time) predicate.BatchImageItem {
  882. return predicate.BatchImageItem(sql.FieldEQ(FieldCreatedAt, v))
  883. }
  884. // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
  885. func CreatedAtNEQ(v time.Time) predicate.BatchImageItem {
  886. return predicate.BatchImageItem(sql.FieldNEQ(FieldCreatedAt, v))
  887. }
  888. // CreatedAtIn applies the In predicate on the "created_at" field.
  889. func CreatedAtIn(vs ...time.Time) predicate.BatchImageItem {
  890. return predicate.BatchImageItem(sql.FieldIn(FieldCreatedAt, vs...))
  891. }
  892. // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
  893. func CreatedAtNotIn(vs ...time.Time) predicate.BatchImageItem {
  894. return predicate.BatchImageItem(sql.FieldNotIn(FieldCreatedAt, vs...))
  895. }
  896. // CreatedAtGT applies the GT predicate on the "created_at" field.
  897. func CreatedAtGT(v time.Time) predicate.BatchImageItem {
  898. return predicate.BatchImageItem(sql.FieldGT(FieldCreatedAt, v))
  899. }
  900. // CreatedAtGTE applies the GTE predicate on the "created_at" field.
  901. func CreatedAtGTE(v time.Time) predicate.BatchImageItem {
  902. return predicate.BatchImageItem(sql.FieldGTE(FieldCreatedAt, v))
  903. }
  904. // CreatedAtLT applies the LT predicate on the "created_at" field.
  905. func CreatedAtLT(v time.Time) predicate.BatchImageItem {
  906. return predicate.BatchImageItem(sql.FieldLT(FieldCreatedAt, v))
  907. }
  908. // CreatedAtLTE applies the LTE predicate on the "created_at" field.
  909. func CreatedAtLTE(v time.Time) predicate.BatchImageItem {
  910. return predicate.BatchImageItem(sql.FieldLTE(FieldCreatedAt, v))
  911. }
  912. // IndexedAtEQ applies the EQ predicate on the "indexed_at" field.
  913. func IndexedAtEQ(v time.Time) predicate.BatchImageItem {
  914. return predicate.BatchImageItem(sql.FieldEQ(FieldIndexedAt, v))
  915. }
  916. // IndexedAtNEQ applies the NEQ predicate on the "indexed_at" field.
  917. func IndexedAtNEQ(v time.Time) predicate.BatchImageItem {
  918. return predicate.BatchImageItem(sql.FieldNEQ(FieldIndexedAt, v))
  919. }
  920. // IndexedAtIn applies the In predicate on the "indexed_at" field.
  921. func IndexedAtIn(vs ...time.Time) predicate.BatchImageItem {
  922. return predicate.BatchImageItem(sql.FieldIn(FieldIndexedAt, vs...))
  923. }
  924. // IndexedAtNotIn applies the NotIn predicate on the "indexed_at" field.
  925. func IndexedAtNotIn(vs ...time.Time) predicate.BatchImageItem {
  926. return predicate.BatchImageItem(sql.FieldNotIn(FieldIndexedAt, vs...))
  927. }
  928. // IndexedAtGT applies the GT predicate on the "indexed_at" field.
  929. func IndexedAtGT(v time.Time) predicate.BatchImageItem {
  930. return predicate.BatchImageItem(sql.FieldGT(FieldIndexedAt, v))
  931. }
  932. // IndexedAtGTE applies the GTE predicate on the "indexed_at" field.
  933. func IndexedAtGTE(v time.Time) predicate.BatchImageItem {
  934. return predicate.BatchImageItem(sql.FieldGTE(FieldIndexedAt, v))
  935. }
  936. // IndexedAtLT applies the LT predicate on the "indexed_at" field.
  937. func IndexedAtLT(v time.Time) predicate.BatchImageItem {
  938. return predicate.BatchImageItem(sql.FieldLT(FieldIndexedAt, v))
  939. }
  940. // IndexedAtLTE applies the LTE predicate on the "indexed_at" field.
  941. func IndexedAtLTE(v time.Time) predicate.BatchImageItem {
  942. return predicate.BatchImageItem(sql.FieldLTE(FieldIndexedAt, v))
  943. }
  944. // IndexedAtIsNil applies the IsNil predicate on the "indexed_at" field.
  945. func IndexedAtIsNil() predicate.BatchImageItem {
  946. return predicate.BatchImageItem(sql.FieldIsNull(FieldIndexedAt))
  947. }
  948. // IndexedAtNotNil applies the NotNil predicate on the "indexed_at" field.
  949. func IndexedAtNotNil() predicate.BatchImageItem {
  950. return predicate.BatchImageItem(sql.FieldNotNull(FieldIndexedAt))
  951. }
  952. // And groups predicates with the AND operator between them.
  953. func And(predicates ...predicate.BatchImageItem) predicate.BatchImageItem {
  954. return predicate.BatchImageItem(sql.AndPredicates(predicates...))
  955. }
  956. // Or groups predicates with the OR operator between them.
  957. func Or(predicates ...predicate.BatchImageItem) predicate.BatchImageItem {
  958. return predicate.BatchImageItem(sql.OrPredicates(predicates...))
  959. }
  960. // Not applies the not operator on the given predicate.
  961. func Not(p predicate.BatchImageItem) predicate.BatchImageItem {
  962. return predicate.BatchImageItem(sql.NotPredicates(p))
  963. }