where.go 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000
  1. // Code generated by ent, DO NOT EDIT.
  2. package whatsapp
  3. import (
  4. "time"
  5. "wechat-api/ent/predicate"
  6. "entgo.io/ent/dialect/sql"
  7. )
  8. // ID filters vertices based on their ID field.
  9. func ID(id uint64) predicate.Whatsapp {
  10. return predicate.Whatsapp(sql.FieldEQ(FieldID, id))
  11. }
  12. // IDEQ applies the EQ predicate on the ID field.
  13. func IDEQ(id uint64) predicate.Whatsapp {
  14. return predicate.Whatsapp(sql.FieldEQ(FieldID, id))
  15. }
  16. // IDNEQ applies the NEQ predicate on the ID field.
  17. func IDNEQ(id uint64) predicate.Whatsapp {
  18. return predicate.Whatsapp(sql.FieldNEQ(FieldID, id))
  19. }
  20. // IDIn applies the In predicate on the ID field.
  21. func IDIn(ids ...uint64) predicate.Whatsapp {
  22. return predicate.Whatsapp(sql.FieldIn(FieldID, ids...))
  23. }
  24. // IDNotIn applies the NotIn predicate on the ID field.
  25. func IDNotIn(ids ...uint64) predicate.Whatsapp {
  26. return predicate.Whatsapp(sql.FieldNotIn(FieldID, ids...))
  27. }
  28. // IDGT applies the GT predicate on the ID field.
  29. func IDGT(id uint64) predicate.Whatsapp {
  30. return predicate.Whatsapp(sql.FieldGT(FieldID, id))
  31. }
  32. // IDGTE applies the GTE predicate on the ID field.
  33. func IDGTE(id uint64) predicate.Whatsapp {
  34. return predicate.Whatsapp(sql.FieldGTE(FieldID, id))
  35. }
  36. // IDLT applies the LT predicate on the ID field.
  37. func IDLT(id uint64) predicate.Whatsapp {
  38. return predicate.Whatsapp(sql.FieldLT(FieldID, id))
  39. }
  40. // IDLTE applies the LTE predicate on the ID field.
  41. func IDLTE(id uint64) predicate.Whatsapp {
  42. return predicate.Whatsapp(sql.FieldLTE(FieldID, id))
  43. }
  44. // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
  45. func CreatedAt(v time.Time) predicate.Whatsapp {
  46. return predicate.Whatsapp(sql.FieldEQ(FieldCreatedAt, v))
  47. }
  48. // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
  49. func UpdatedAt(v time.Time) predicate.Whatsapp {
  50. return predicate.Whatsapp(sql.FieldEQ(FieldUpdatedAt, v))
  51. }
  52. // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
  53. func Status(v uint8) predicate.Whatsapp {
  54. return predicate.Whatsapp(sql.FieldEQ(FieldStatus, v))
  55. }
  56. // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
  57. func DeletedAt(v time.Time) predicate.Whatsapp {
  58. return predicate.Whatsapp(sql.FieldEQ(FieldDeletedAt, v))
  59. }
  60. // Ak applies equality check predicate on the "ak" field. It's identical to AkEQ.
  61. func Ak(v string) predicate.Whatsapp {
  62. return predicate.Whatsapp(sql.FieldEQ(FieldAk, v))
  63. }
  64. // Sk applies equality check predicate on the "sk" field. It's identical to SkEQ.
  65. func Sk(v string) predicate.Whatsapp {
  66. return predicate.Whatsapp(sql.FieldEQ(FieldSk, v))
  67. }
  68. // Callback applies equality check predicate on the "callback" field. It's identical to CallbackEQ.
  69. func Callback(v string) predicate.Whatsapp {
  70. return predicate.Whatsapp(sql.FieldEQ(FieldCallback, v))
  71. }
  72. // Account applies equality check predicate on the "account" field. It's identical to AccountEQ.
  73. func Account(v string) predicate.Whatsapp {
  74. return predicate.Whatsapp(sql.FieldEQ(FieldAccount, v))
  75. }
  76. // Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
  77. func Nickname(v string) predicate.Whatsapp {
  78. return predicate.Whatsapp(sql.FieldEQ(FieldNickname, v))
  79. }
  80. // Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
  81. func Phone(v string) predicate.Whatsapp {
  82. return predicate.Whatsapp(sql.FieldEQ(FieldPhone, v))
  83. }
  84. // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
  85. func OrganizationID(v uint64) predicate.Whatsapp {
  86. return predicate.Whatsapp(sql.FieldEQ(FieldOrganizationID, v))
  87. }
  88. // AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.
  89. func AgentID(v uint64) predicate.Whatsapp {
  90. return predicate.Whatsapp(sql.FieldEQ(FieldAgentID, v))
  91. }
  92. // APIBase applies equality check predicate on the "api_base" field. It's identical to APIBaseEQ.
  93. func APIBase(v string) predicate.Whatsapp {
  94. return predicate.Whatsapp(sql.FieldEQ(FieldAPIBase, v))
  95. }
  96. // APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.
  97. func APIKey(v string) predicate.Whatsapp {
  98. return predicate.Whatsapp(sql.FieldEQ(FieldAPIKey, v))
  99. }
  100. // CreatedAtEQ applies the EQ predicate on the "created_at" field.
  101. func CreatedAtEQ(v time.Time) predicate.Whatsapp {
  102. return predicate.Whatsapp(sql.FieldEQ(FieldCreatedAt, v))
  103. }
  104. // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
  105. func CreatedAtNEQ(v time.Time) predicate.Whatsapp {
  106. return predicate.Whatsapp(sql.FieldNEQ(FieldCreatedAt, v))
  107. }
  108. // CreatedAtIn applies the In predicate on the "created_at" field.
  109. func CreatedAtIn(vs ...time.Time) predicate.Whatsapp {
  110. return predicate.Whatsapp(sql.FieldIn(FieldCreatedAt, vs...))
  111. }
  112. // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
  113. func CreatedAtNotIn(vs ...time.Time) predicate.Whatsapp {
  114. return predicate.Whatsapp(sql.FieldNotIn(FieldCreatedAt, vs...))
  115. }
  116. // CreatedAtGT applies the GT predicate on the "created_at" field.
  117. func CreatedAtGT(v time.Time) predicate.Whatsapp {
  118. return predicate.Whatsapp(sql.FieldGT(FieldCreatedAt, v))
  119. }
  120. // CreatedAtGTE applies the GTE predicate on the "created_at" field.
  121. func CreatedAtGTE(v time.Time) predicate.Whatsapp {
  122. return predicate.Whatsapp(sql.FieldGTE(FieldCreatedAt, v))
  123. }
  124. // CreatedAtLT applies the LT predicate on the "created_at" field.
  125. func CreatedAtLT(v time.Time) predicate.Whatsapp {
  126. return predicate.Whatsapp(sql.FieldLT(FieldCreatedAt, v))
  127. }
  128. // CreatedAtLTE applies the LTE predicate on the "created_at" field.
  129. func CreatedAtLTE(v time.Time) predicate.Whatsapp {
  130. return predicate.Whatsapp(sql.FieldLTE(FieldCreatedAt, v))
  131. }
  132. // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
  133. func UpdatedAtEQ(v time.Time) predicate.Whatsapp {
  134. return predicate.Whatsapp(sql.FieldEQ(FieldUpdatedAt, v))
  135. }
  136. // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
  137. func UpdatedAtNEQ(v time.Time) predicate.Whatsapp {
  138. return predicate.Whatsapp(sql.FieldNEQ(FieldUpdatedAt, v))
  139. }
  140. // UpdatedAtIn applies the In predicate on the "updated_at" field.
  141. func UpdatedAtIn(vs ...time.Time) predicate.Whatsapp {
  142. return predicate.Whatsapp(sql.FieldIn(FieldUpdatedAt, vs...))
  143. }
  144. // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
  145. func UpdatedAtNotIn(vs ...time.Time) predicate.Whatsapp {
  146. return predicate.Whatsapp(sql.FieldNotIn(FieldUpdatedAt, vs...))
  147. }
  148. // UpdatedAtGT applies the GT predicate on the "updated_at" field.
  149. func UpdatedAtGT(v time.Time) predicate.Whatsapp {
  150. return predicate.Whatsapp(sql.FieldGT(FieldUpdatedAt, v))
  151. }
  152. // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
  153. func UpdatedAtGTE(v time.Time) predicate.Whatsapp {
  154. return predicate.Whatsapp(sql.FieldGTE(FieldUpdatedAt, v))
  155. }
  156. // UpdatedAtLT applies the LT predicate on the "updated_at" field.
  157. func UpdatedAtLT(v time.Time) predicate.Whatsapp {
  158. return predicate.Whatsapp(sql.FieldLT(FieldUpdatedAt, v))
  159. }
  160. // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
  161. func UpdatedAtLTE(v time.Time) predicate.Whatsapp {
  162. return predicate.Whatsapp(sql.FieldLTE(FieldUpdatedAt, v))
  163. }
  164. // StatusEQ applies the EQ predicate on the "status" field.
  165. func StatusEQ(v uint8) predicate.Whatsapp {
  166. return predicate.Whatsapp(sql.FieldEQ(FieldStatus, v))
  167. }
  168. // StatusNEQ applies the NEQ predicate on the "status" field.
  169. func StatusNEQ(v uint8) predicate.Whatsapp {
  170. return predicate.Whatsapp(sql.FieldNEQ(FieldStatus, v))
  171. }
  172. // StatusIn applies the In predicate on the "status" field.
  173. func StatusIn(vs ...uint8) predicate.Whatsapp {
  174. return predicate.Whatsapp(sql.FieldIn(FieldStatus, vs...))
  175. }
  176. // StatusNotIn applies the NotIn predicate on the "status" field.
  177. func StatusNotIn(vs ...uint8) predicate.Whatsapp {
  178. return predicate.Whatsapp(sql.FieldNotIn(FieldStatus, vs...))
  179. }
  180. // StatusGT applies the GT predicate on the "status" field.
  181. func StatusGT(v uint8) predicate.Whatsapp {
  182. return predicate.Whatsapp(sql.FieldGT(FieldStatus, v))
  183. }
  184. // StatusGTE applies the GTE predicate on the "status" field.
  185. func StatusGTE(v uint8) predicate.Whatsapp {
  186. return predicate.Whatsapp(sql.FieldGTE(FieldStatus, v))
  187. }
  188. // StatusLT applies the LT predicate on the "status" field.
  189. func StatusLT(v uint8) predicate.Whatsapp {
  190. return predicate.Whatsapp(sql.FieldLT(FieldStatus, v))
  191. }
  192. // StatusLTE applies the LTE predicate on the "status" field.
  193. func StatusLTE(v uint8) predicate.Whatsapp {
  194. return predicate.Whatsapp(sql.FieldLTE(FieldStatus, v))
  195. }
  196. // StatusIsNil applies the IsNil predicate on the "status" field.
  197. func StatusIsNil() predicate.Whatsapp {
  198. return predicate.Whatsapp(sql.FieldIsNull(FieldStatus))
  199. }
  200. // StatusNotNil applies the NotNil predicate on the "status" field.
  201. func StatusNotNil() predicate.Whatsapp {
  202. return predicate.Whatsapp(sql.FieldNotNull(FieldStatus))
  203. }
  204. // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
  205. func DeletedAtEQ(v time.Time) predicate.Whatsapp {
  206. return predicate.Whatsapp(sql.FieldEQ(FieldDeletedAt, v))
  207. }
  208. // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
  209. func DeletedAtNEQ(v time.Time) predicate.Whatsapp {
  210. return predicate.Whatsapp(sql.FieldNEQ(FieldDeletedAt, v))
  211. }
  212. // DeletedAtIn applies the In predicate on the "deleted_at" field.
  213. func DeletedAtIn(vs ...time.Time) predicate.Whatsapp {
  214. return predicate.Whatsapp(sql.FieldIn(FieldDeletedAt, vs...))
  215. }
  216. // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
  217. func DeletedAtNotIn(vs ...time.Time) predicate.Whatsapp {
  218. return predicate.Whatsapp(sql.FieldNotIn(FieldDeletedAt, vs...))
  219. }
  220. // DeletedAtGT applies the GT predicate on the "deleted_at" field.
  221. func DeletedAtGT(v time.Time) predicate.Whatsapp {
  222. return predicate.Whatsapp(sql.FieldGT(FieldDeletedAt, v))
  223. }
  224. // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
  225. func DeletedAtGTE(v time.Time) predicate.Whatsapp {
  226. return predicate.Whatsapp(sql.FieldGTE(FieldDeletedAt, v))
  227. }
  228. // DeletedAtLT applies the LT predicate on the "deleted_at" field.
  229. func DeletedAtLT(v time.Time) predicate.Whatsapp {
  230. return predicate.Whatsapp(sql.FieldLT(FieldDeletedAt, v))
  231. }
  232. // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
  233. func DeletedAtLTE(v time.Time) predicate.Whatsapp {
  234. return predicate.Whatsapp(sql.FieldLTE(FieldDeletedAt, v))
  235. }
  236. // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
  237. func DeletedAtIsNil() predicate.Whatsapp {
  238. return predicate.Whatsapp(sql.FieldIsNull(FieldDeletedAt))
  239. }
  240. // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
  241. func DeletedAtNotNil() predicate.Whatsapp {
  242. return predicate.Whatsapp(sql.FieldNotNull(FieldDeletedAt))
  243. }
  244. // AkEQ applies the EQ predicate on the "ak" field.
  245. func AkEQ(v string) predicate.Whatsapp {
  246. return predicate.Whatsapp(sql.FieldEQ(FieldAk, v))
  247. }
  248. // AkNEQ applies the NEQ predicate on the "ak" field.
  249. func AkNEQ(v string) predicate.Whatsapp {
  250. return predicate.Whatsapp(sql.FieldNEQ(FieldAk, v))
  251. }
  252. // AkIn applies the In predicate on the "ak" field.
  253. func AkIn(vs ...string) predicate.Whatsapp {
  254. return predicate.Whatsapp(sql.FieldIn(FieldAk, vs...))
  255. }
  256. // AkNotIn applies the NotIn predicate on the "ak" field.
  257. func AkNotIn(vs ...string) predicate.Whatsapp {
  258. return predicate.Whatsapp(sql.FieldNotIn(FieldAk, vs...))
  259. }
  260. // AkGT applies the GT predicate on the "ak" field.
  261. func AkGT(v string) predicate.Whatsapp {
  262. return predicate.Whatsapp(sql.FieldGT(FieldAk, v))
  263. }
  264. // AkGTE applies the GTE predicate on the "ak" field.
  265. func AkGTE(v string) predicate.Whatsapp {
  266. return predicate.Whatsapp(sql.FieldGTE(FieldAk, v))
  267. }
  268. // AkLT applies the LT predicate on the "ak" field.
  269. func AkLT(v string) predicate.Whatsapp {
  270. return predicate.Whatsapp(sql.FieldLT(FieldAk, v))
  271. }
  272. // AkLTE applies the LTE predicate on the "ak" field.
  273. func AkLTE(v string) predicate.Whatsapp {
  274. return predicate.Whatsapp(sql.FieldLTE(FieldAk, v))
  275. }
  276. // AkContains applies the Contains predicate on the "ak" field.
  277. func AkContains(v string) predicate.Whatsapp {
  278. return predicate.Whatsapp(sql.FieldContains(FieldAk, v))
  279. }
  280. // AkHasPrefix applies the HasPrefix predicate on the "ak" field.
  281. func AkHasPrefix(v string) predicate.Whatsapp {
  282. return predicate.Whatsapp(sql.FieldHasPrefix(FieldAk, v))
  283. }
  284. // AkHasSuffix applies the HasSuffix predicate on the "ak" field.
  285. func AkHasSuffix(v string) predicate.Whatsapp {
  286. return predicate.Whatsapp(sql.FieldHasSuffix(FieldAk, v))
  287. }
  288. // AkIsNil applies the IsNil predicate on the "ak" field.
  289. func AkIsNil() predicate.Whatsapp {
  290. return predicate.Whatsapp(sql.FieldIsNull(FieldAk))
  291. }
  292. // AkNotNil applies the NotNil predicate on the "ak" field.
  293. func AkNotNil() predicate.Whatsapp {
  294. return predicate.Whatsapp(sql.FieldNotNull(FieldAk))
  295. }
  296. // AkEqualFold applies the EqualFold predicate on the "ak" field.
  297. func AkEqualFold(v string) predicate.Whatsapp {
  298. return predicate.Whatsapp(sql.FieldEqualFold(FieldAk, v))
  299. }
  300. // AkContainsFold applies the ContainsFold predicate on the "ak" field.
  301. func AkContainsFold(v string) predicate.Whatsapp {
  302. return predicate.Whatsapp(sql.FieldContainsFold(FieldAk, v))
  303. }
  304. // SkEQ applies the EQ predicate on the "sk" field.
  305. func SkEQ(v string) predicate.Whatsapp {
  306. return predicate.Whatsapp(sql.FieldEQ(FieldSk, v))
  307. }
  308. // SkNEQ applies the NEQ predicate on the "sk" field.
  309. func SkNEQ(v string) predicate.Whatsapp {
  310. return predicate.Whatsapp(sql.FieldNEQ(FieldSk, v))
  311. }
  312. // SkIn applies the In predicate on the "sk" field.
  313. func SkIn(vs ...string) predicate.Whatsapp {
  314. return predicate.Whatsapp(sql.FieldIn(FieldSk, vs...))
  315. }
  316. // SkNotIn applies the NotIn predicate on the "sk" field.
  317. func SkNotIn(vs ...string) predicate.Whatsapp {
  318. return predicate.Whatsapp(sql.FieldNotIn(FieldSk, vs...))
  319. }
  320. // SkGT applies the GT predicate on the "sk" field.
  321. func SkGT(v string) predicate.Whatsapp {
  322. return predicate.Whatsapp(sql.FieldGT(FieldSk, v))
  323. }
  324. // SkGTE applies the GTE predicate on the "sk" field.
  325. func SkGTE(v string) predicate.Whatsapp {
  326. return predicate.Whatsapp(sql.FieldGTE(FieldSk, v))
  327. }
  328. // SkLT applies the LT predicate on the "sk" field.
  329. func SkLT(v string) predicate.Whatsapp {
  330. return predicate.Whatsapp(sql.FieldLT(FieldSk, v))
  331. }
  332. // SkLTE applies the LTE predicate on the "sk" field.
  333. func SkLTE(v string) predicate.Whatsapp {
  334. return predicate.Whatsapp(sql.FieldLTE(FieldSk, v))
  335. }
  336. // SkContains applies the Contains predicate on the "sk" field.
  337. func SkContains(v string) predicate.Whatsapp {
  338. return predicate.Whatsapp(sql.FieldContains(FieldSk, v))
  339. }
  340. // SkHasPrefix applies the HasPrefix predicate on the "sk" field.
  341. func SkHasPrefix(v string) predicate.Whatsapp {
  342. return predicate.Whatsapp(sql.FieldHasPrefix(FieldSk, v))
  343. }
  344. // SkHasSuffix applies the HasSuffix predicate on the "sk" field.
  345. func SkHasSuffix(v string) predicate.Whatsapp {
  346. return predicate.Whatsapp(sql.FieldHasSuffix(FieldSk, v))
  347. }
  348. // SkEqualFold applies the EqualFold predicate on the "sk" field.
  349. func SkEqualFold(v string) predicate.Whatsapp {
  350. return predicate.Whatsapp(sql.FieldEqualFold(FieldSk, v))
  351. }
  352. // SkContainsFold applies the ContainsFold predicate on the "sk" field.
  353. func SkContainsFold(v string) predicate.Whatsapp {
  354. return predicate.Whatsapp(sql.FieldContainsFold(FieldSk, v))
  355. }
  356. // CallbackEQ applies the EQ predicate on the "callback" field.
  357. func CallbackEQ(v string) predicate.Whatsapp {
  358. return predicate.Whatsapp(sql.FieldEQ(FieldCallback, v))
  359. }
  360. // CallbackNEQ applies the NEQ predicate on the "callback" field.
  361. func CallbackNEQ(v string) predicate.Whatsapp {
  362. return predicate.Whatsapp(sql.FieldNEQ(FieldCallback, v))
  363. }
  364. // CallbackIn applies the In predicate on the "callback" field.
  365. func CallbackIn(vs ...string) predicate.Whatsapp {
  366. return predicate.Whatsapp(sql.FieldIn(FieldCallback, vs...))
  367. }
  368. // CallbackNotIn applies the NotIn predicate on the "callback" field.
  369. func CallbackNotIn(vs ...string) predicate.Whatsapp {
  370. return predicate.Whatsapp(sql.FieldNotIn(FieldCallback, vs...))
  371. }
  372. // CallbackGT applies the GT predicate on the "callback" field.
  373. func CallbackGT(v string) predicate.Whatsapp {
  374. return predicate.Whatsapp(sql.FieldGT(FieldCallback, v))
  375. }
  376. // CallbackGTE applies the GTE predicate on the "callback" field.
  377. func CallbackGTE(v string) predicate.Whatsapp {
  378. return predicate.Whatsapp(sql.FieldGTE(FieldCallback, v))
  379. }
  380. // CallbackLT applies the LT predicate on the "callback" field.
  381. func CallbackLT(v string) predicate.Whatsapp {
  382. return predicate.Whatsapp(sql.FieldLT(FieldCallback, v))
  383. }
  384. // CallbackLTE applies the LTE predicate on the "callback" field.
  385. func CallbackLTE(v string) predicate.Whatsapp {
  386. return predicate.Whatsapp(sql.FieldLTE(FieldCallback, v))
  387. }
  388. // CallbackContains applies the Contains predicate on the "callback" field.
  389. func CallbackContains(v string) predicate.Whatsapp {
  390. return predicate.Whatsapp(sql.FieldContains(FieldCallback, v))
  391. }
  392. // CallbackHasPrefix applies the HasPrefix predicate on the "callback" field.
  393. func CallbackHasPrefix(v string) predicate.Whatsapp {
  394. return predicate.Whatsapp(sql.FieldHasPrefix(FieldCallback, v))
  395. }
  396. // CallbackHasSuffix applies the HasSuffix predicate on the "callback" field.
  397. func CallbackHasSuffix(v string) predicate.Whatsapp {
  398. return predicate.Whatsapp(sql.FieldHasSuffix(FieldCallback, v))
  399. }
  400. // CallbackEqualFold applies the EqualFold predicate on the "callback" field.
  401. func CallbackEqualFold(v string) predicate.Whatsapp {
  402. return predicate.Whatsapp(sql.FieldEqualFold(FieldCallback, v))
  403. }
  404. // CallbackContainsFold applies the ContainsFold predicate on the "callback" field.
  405. func CallbackContainsFold(v string) predicate.Whatsapp {
  406. return predicate.Whatsapp(sql.FieldContainsFold(FieldCallback, v))
  407. }
  408. // AccountEQ applies the EQ predicate on the "account" field.
  409. func AccountEQ(v string) predicate.Whatsapp {
  410. return predicate.Whatsapp(sql.FieldEQ(FieldAccount, v))
  411. }
  412. // AccountNEQ applies the NEQ predicate on the "account" field.
  413. func AccountNEQ(v string) predicate.Whatsapp {
  414. return predicate.Whatsapp(sql.FieldNEQ(FieldAccount, v))
  415. }
  416. // AccountIn applies the In predicate on the "account" field.
  417. func AccountIn(vs ...string) predicate.Whatsapp {
  418. return predicate.Whatsapp(sql.FieldIn(FieldAccount, vs...))
  419. }
  420. // AccountNotIn applies the NotIn predicate on the "account" field.
  421. func AccountNotIn(vs ...string) predicate.Whatsapp {
  422. return predicate.Whatsapp(sql.FieldNotIn(FieldAccount, vs...))
  423. }
  424. // AccountGT applies the GT predicate on the "account" field.
  425. func AccountGT(v string) predicate.Whatsapp {
  426. return predicate.Whatsapp(sql.FieldGT(FieldAccount, v))
  427. }
  428. // AccountGTE applies the GTE predicate on the "account" field.
  429. func AccountGTE(v string) predicate.Whatsapp {
  430. return predicate.Whatsapp(sql.FieldGTE(FieldAccount, v))
  431. }
  432. // AccountLT applies the LT predicate on the "account" field.
  433. func AccountLT(v string) predicate.Whatsapp {
  434. return predicate.Whatsapp(sql.FieldLT(FieldAccount, v))
  435. }
  436. // AccountLTE applies the LTE predicate on the "account" field.
  437. func AccountLTE(v string) predicate.Whatsapp {
  438. return predicate.Whatsapp(sql.FieldLTE(FieldAccount, v))
  439. }
  440. // AccountContains applies the Contains predicate on the "account" field.
  441. func AccountContains(v string) predicate.Whatsapp {
  442. return predicate.Whatsapp(sql.FieldContains(FieldAccount, v))
  443. }
  444. // AccountHasPrefix applies the HasPrefix predicate on the "account" field.
  445. func AccountHasPrefix(v string) predicate.Whatsapp {
  446. return predicate.Whatsapp(sql.FieldHasPrefix(FieldAccount, v))
  447. }
  448. // AccountHasSuffix applies the HasSuffix predicate on the "account" field.
  449. func AccountHasSuffix(v string) predicate.Whatsapp {
  450. return predicate.Whatsapp(sql.FieldHasSuffix(FieldAccount, v))
  451. }
  452. // AccountEqualFold applies the EqualFold predicate on the "account" field.
  453. func AccountEqualFold(v string) predicate.Whatsapp {
  454. return predicate.Whatsapp(sql.FieldEqualFold(FieldAccount, v))
  455. }
  456. // AccountContainsFold applies the ContainsFold predicate on the "account" field.
  457. func AccountContainsFold(v string) predicate.Whatsapp {
  458. return predicate.Whatsapp(sql.FieldContainsFold(FieldAccount, v))
  459. }
  460. // NicknameEQ applies the EQ predicate on the "nickname" field.
  461. func NicknameEQ(v string) predicate.Whatsapp {
  462. return predicate.Whatsapp(sql.FieldEQ(FieldNickname, v))
  463. }
  464. // NicknameNEQ applies the NEQ predicate on the "nickname" field.
  465. func NicknameNEQ(v string) predicate.Whatsapp {
  466. return predicate.Whatsapp(sql.FieldNEQ(FieldNickname, v))
  467. }
  468. // NicknameIn applies the In predicate on the "nickname" field.
  469. func NicknameIn(vs ...string) predicate.Whatsapp {
  470. return predicate.Whatsapp(sql.FieldIn(FieldNickname, vs...))
  471. }
  472. // NicknameNotIn applies the NotIn predicate on the "nickname" field.
  473. func NicknameNotIn(vs ...string) predicate.Whatsapp {
  474. return predicate.Whatsapp(sql.FieldNotIn(FieldNickname, vs...))
  475. }
  476. // NicknameGT applies the GT predicate on the "nickname" field.
  477. func NicknameGT(v string) predicate.Whatsapp {
  478. return predicate.Whatsapp(sql.FieldGT(FieldNickname, v))
  479. }
  480. // NicknameGTE applies the GTE predicate on the "nickname" field.
  481. func NicknameGTE(v string) predicate.Whatsapp {
  482. return predicate.Whatsapp(sql.FieldGTE(FieldNickname, v))
  483. }
  484. // NicknameLT applies the LT predicate on the "nickname" field.
  485. func NicknameLT(v string) predicate.Whatsapp {
  486. return predicate.Whatsapp(sql.FieldLT(FieldNickname, v))
  487. }
  488. // NicknameLTE applies the LTE predicate on the "nickname" field.
  489. func NicknameLTE(v string) predicate.Whatsapp {
  490. return predicate.Whatsapp(sql.FieldLTE(FieldNickname, v))
  491. }
  492. // NicknameContains applies the Contains predicate on the "nickname" field.
  493. func NicknameContains(v string) predicate.Whatsapp {
  494. return predicate.Whatsapp(sql.FieldContains(FieldNickname, v))
  495. }
  496. // NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
  497. func NicknameHasPrefix(v string) predicate.Whatsapp {
  498. return predicate.Whatsapp(sql.FieldHasPrefix(FieldNickname, v))
  499. }
  500. // NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
  501. func NicknameHasSuffix(v string) predicate.Whatsapp {
  502. return predicate.Whatsapp(sql.FieldHasSuffix(FieldNickname, v))
  503. }
  504. // NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
  505. func NicknameEqualFold(v string) predicate.Whatsapp {
  506. return predicate.Whatsapp(sql.FieldEqualFold(FieldNickname, v))
  507. }
  508. // NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
  509. func NicknameContainsFold(v string) predicate.Whatsapp {
  510. return predicate.Whatsapp(sql.FieldContainsFold(FieldNickname, v))
  511. }
  512. // PhoneEQ applies the EQ predicate on the "phone" field.
  513. func PhoneEQ(v string) predicate.Whatsapp {
  514. return predicate.Whatsapp(sql.FieldEQ(FieldPhone, v))
  515. }
  516. // PhoneNEQ applies the NEQ predicate on the "phone" field.
  517. func PhoneNEQ(v string) predicate.Whatsapp {
  518. return predicate.Whatsapp(sql.FieldNEQ(FieldPhone, v))
  519. }
  520. // PhoneIn applies the In predicate on the "phone" field.
  521. func PhoneIn(vs ...string) predicate.Whatsapp {
  522. return predicate.Whatsapp(sql.FieldIn(FieldPhone, vs...))
  523. }
  524. // PhoneNotIn applies the NotIn predicate on the "phone" field.
  525. func PhoneNotIn(vs ...string) predicate.Whatsapp {
  526. return predicate.Whatsapp(sql.FieldNotIn(FieldPhone, vs...))
  527. }
  528. // PhoneGT applies the GT predicate on the "phone" field.
  529. func PhoneGT(v string) predicate.Whatsapp {
  530. return predicate.Whatsapp(sql.FieldGT(FieldPhone, v))
  531. }
  532. // PhoneGTE applies the GTE predicate on the "phone" field.
  533. func PhoneGTE(v string) predicate.Whatsapp {
  534. return predicate.Whatsapp(sql.FieldGTE(FieldPhone, v))
  535. }
  536. // PhoneLT applies the LT predicate on the "phone" field.
  537. func PhoneLT(v string) predicate.Whatsapp {
  538. return predicate.Whatsapp(sql.FieldLT(FieldPhone, v))
  539. }
  540. // PhoneLTE applies the LTE predicate on the "phone" field.
  541. func PhoneLTE(v string) predicate.Whatsapp {
  542. return predicate.Whatsapp(sql.FieldLTE(FieldPhone, v))
  543. }
  544. // PhoneContains applies the Contains predicate on the "phone" field.
  545. func PhoneContains(v string) predicate.Whatsapp {
  546. return predicate.Whatsapp(sql.FieldContains(FieldPhone, v))
  547. }
  548. // PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
  549. func PhoneHasPrefix(v string) predicate.Whatsapp {
  550. return predicate.Whatsapp(sql.FieldHasPrefix(FieldPhone, v))
  551. }
  552. // PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
  553. func PhoneHasSuffix(v string) predicate.Whatsapp {
  554. return predicate.Whatsapp(sql.FieldHasSuffix(FieldPhone, v))
  555. }
  556. // PhoneEqualFold applies the EqualFold predicate on the "phone" field.
  557. func PhoneEqualFold(v string) predicate.Whatsapp {
  558. return predicate.Whatsapp(sql.FieldEqualFold(FieldPhone, v))
  559. }
  560. // PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
  561. func PhoneContainsFold(v string) predicate.Whatsapp {
  562. return predicate.Whatsapp(sql.FieldContainsFold(FieldPhone, v))
  563. }
  564. // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
  565. func OrganizationIDEQ(v uint64) predicate.Whatsapp {
  566. return predicate.Whatsapp(sql.FieldEQ(FieldOrganizationID, v))
  567. }
  568. // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
  569. func OrganizationIDNEQ(v uint64) predicate.Whatsapp {
  570. return predicate.Whatsapp(sql.FieldNEQ(FieldOrganizationID, v))
  571. }
  572. // OrganizationIDIn applies the In predicate on the "organization_id" field.
  573. func OrganizationIDIn(vs ...uint64) predicate.Whatsapp {
  574. return predicate.Whatsapp(sql.FieldIn(FieldOrganizationID, vs...))
  575. }
  576. // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
  577. func OrganizationIDNotIn(vs ...uint64) predicate.Whatsapp {
  578. return predicate.Whatsapp(sql.FieldNotIn(FieldOrganizationID, vs...))
  579. }
  580. // OrganizationIDGT applies the GT predicate on the "organization_id" field.
  581. func OrganizationIDGT(v uint64) predicate.Whatsapp {
  582. return predicate.Whatsapp(sql.FieldGT(FieldOrganizationID, v))
  583. }
  584. // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
  585. func OrganizationIDGTE(v uint64) predicate.Whatsapp {
  586. return predicate.Whatsapp(sql.FieldGTE(FieldOrganizationID, v))
  587. }
  588. // OrganizationIDLT applies the LT predicate on the "organization_id" field.
  589. func OrganizationIDLT(v uint64) predicate.Whatsapp {
  590. return predicate.Whatsapp(sql.FieldLT(FieldOrganizationID, v))
  591. }
  592. // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
  593. func OrganizationIDLTE(v uint64) predicate.Whatsapp {
  594. return predicate.Whatsapp(sql.FieldLTE(FieldOrganizationID, v))
  595. }
  596. // OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
  597. func OrganizationIDIsNil() predicate.Whatsapp {
  598. return predicate.Whatsapp(sql.FieldIsNull(FieldOrganizationID))
  599. }
  600. // OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
  601. func OrganizationIDNotNil() predicate.Whatsapp {
  602. return predicate.Whatsapp(sql.FieldNotNull(FieldOrganizationID))
  603. }
  604. // AgentIDEQ applies the EQ predicate on the "agent_id" field.
  605. func AgentIDEQ(v uint64) predicate.Whatsapp {
  606. return predicate.Whatsapp(sql.FieldEQ(FieldAgentID, v))
  607. }
  608. // AgentIDNEQ applies the NEQ predicate on the "agent_id" field.
  609. func AgentIDNEQ(v uint64) predicate.Whatsapp {
  610. return predicate.Whatsapp(sql.FieldNEQ(FieldAgentID, v))
  611. }
  612. // AgentIDIn applies the In predicate on the "agent_id" field.
  613. func AgentIDIn(vs ...uint64) predicate.Whatsapp {
  614. return predicate.Whatsapp(sql.FieldIn(FieldAgentID, vs...))
  615. }
  616. // AgentIDNotIn applies the NotIn predicate on the "agent_id" field.
  617. func AgentIDNotIn(vs ...uint64) predicate.Whatsapp {
  618. return predicate.Whatsapp(sql.FieldNotIn(FieldAgentID, vs...))
  619. }
  620. // AgentIDGT applies the GT predicate on the "agent_id" field.
  621. func AgentIDGT(v uint64) predicate.Whatsapp {
  622. return predicate.Whatsapp(sql.FieldGT(FieldAgentID, v))
  623. }
  624. // AgentIDGTE applies the GTE predicate on the "agent_id" field.
  625. func AgentIDGTE(v uint64) predicate.Whatsapp {
  626. return predicate.Whatsapp(sql.FieldGTE(FieldAgentID, v))
  627. }
  628. // AgentIDLT applies the LT predicate on the "agent_id" field.
  629. func AgentIDLT(v uint64) predicate.Whatsapp {
  630. return predicate.Whatsapp(sql.FieldLT(FieldAgentID, v))
  631. }
  632. // AgentIDLTE applies the LTE predicate on the "agent_id" field.
  633. func AgentIDLTE(v uint64) predicate.Whatsapp {
  634. return predicate.Whatsapp(sql.FieldLTE(FieldAgentID, v))
  635. }
  636. // APIBaseEQ applies the EQ predicate on the "api_base" field.
  637. func APIBaseEQ(v string) predicate.Whatsapp {
  638. return predicate.Whatsapp(sql.FieldEQ(FieldAPIBase, v))
  639. }
  640. // APIBaseNEQ applies the NEQ predicate on the "api_base" field.
  641. func APIBaseNEQ(v string) predicate.Whatsapp {
  642. return predicate.Whatsapp(sql.FieldNEQ(FieldAPIBase, v))
  643. }
  644. // APIBaseIn applies the In predicate on the "api_base" field.
  645. func APIBaseIn(vs ...string) predicate.Whatsapp {
  646. return predicate.Whatsapp(sql.FieldIn(FieldAPIBase, vs...))
  647. }
  648. // APIBaseNotIn applies the NotIn predicate on the "api_base" field.
  649. func APIBaseNotIn(vs ...string) predicate.Whatsapp {
  650. return predicate.Whatsapp(sql.FieldNotIn(FieldAPIBase, vs...))
  651. }
  652. // APIBaseGT applies the GT predicate on the "api_base" field.
  653. func APIBaseGT(v string) predicate.Whatsapp {
  654. return predicate.Whatsapp(sql.FieldGT(FieldAPIBase, v))
  655. }
  656. // APIBaseGTE applies the GTE predicate on the "api_base" field.
  657. func APIBaseGTE(v string) predicate.Whatsapp {
  658. return predicate.Whatsapp(sql.FieldGTE(FieldAPIBase, v))
  659. }
  660. // APIBaseLT applies the LT predicate on the "api_base" field.
  661. func APIBaseLT(v string) predicate.Whatsapp {
  662. return predicate.Whatsapp(sql.FieldLT(FieldAPIBase, v))
  663. }
  664. // APIBaseLTE applies the LTE predicate on the "api_base" field.
  665. func APIBaseLTE(v string) predicate.Whatsapp {
  666. return predicate.Whatsapp(sql.FieldLTE(FieldAPIBase, v))
  667. }
  668. // APIBaseContains applies the Contains predicate on the "api_base" field.
  669. func APIBaseContains(v string) predicate.Whatsapp {
  670. return predicate.Whatsapp(sql.FieldContains(FieldAPIBase, v))
  671. }
  672. // APIBaseHasPrefix applies the HasPrefix predicate on the "api_base" field.
  673. func APIBaseHasPrefix(v string) predicate.Whatsapp {
  674. return predicate.Whatsapp(sql.FieldHasPrefix(FieldAPIBase, v))
  675. }
  676. // APIBaseHasSuffix applies the HasSuffix predicate on the "api_base" field.
  677. func APIBaseHasSuffix(v string) predicate.Whatsapp {
  678. return predicate.Whatsapp(sql.FieldHasSuffix(FieldAPIBase, v))
  679. }
  680. // APIBaseIsNil applies the IsNil predicate on the "api_base" field.
  681. func APIBaseIsNil() predicate.Whatsapp {
  682. return predicate.Whatsapp(sql.FieldIsNull(FieldAPIBase))
  683. }
  684. // APIBaseNotNil applies the NotNil predicate on the "api_base" field.
  685. func APIBaseNotNil() predicate.Whatsapp {
  686. return predicate.Whatsapp(sql.FieldNotNull(FieldAPIBase))
  687. }
  688. // APIBaseEqualFold applies the EqualFold predicate on the "api_base" field.
  689. func APIBaseEqualFold(v string) predicate.Whatsapp {
  690. return predicate.Whatsapp(sql.FieldEqualFold(FieldAPIBase, v))
  691. }
  692. // APIBaseContainsFold applies the ContainsFold predicate on the "api_base" field.
  693. func APIBaseContainsFold(v string) predicate.Whatsapp {
  694. return predicate.Whatsapp(sql.FieldContainsFold(FieldAPIBase, v))
  695. }
  696. // APIKeyEQ applies the EQ predicate on the "api_key" field.
  697. func APIKeyEQ(v string) predicate.Whatsapp {
  698. return predicate.Whatsapp(sql.FieldEQ(FieldAPIKey, v))
  699. }
  700. // APIKeyNEQ applies the NEQ predicate on the "api_key" field.
  701. func APIKeyNEQ(v string) predicate.Whatsapp {
  702. return predicate.Whatsapp(sql.FieldNEQ(FieldAPIKey, v))
  703. }
  704. // APIKeyIn applies the In predicate on the "api_key" field.
  705. func APIKeyIn(vs ...string) predicate.Whatsapp {
  706. return predicate.Whatsapp(sql.FieldIn(FieldAPIKey, vs...))
  707. }
  708. // APIKeyNotIn applies the NotIn predicate on the "api_key" field.
  709. func APIKeyNotIn(vs ...string) predicate.Whatsapp {
  710. return predicate.Whatsapp(sql.FieldNotIn(FieldAPIKey, vs...))
  711. }
  712. // APIKeyGT applies the GT predicate on the "api_key" field.
  713. func APIKeyGT(v string) predicate.Whatsapp {
  714. return predicate.Whatsapp(sql.FieldGT(FieldAPIKey, v))
  715. }
  716. // APIKeyGTE applies the GTE predicate on the "api_key" field.
  717. func APIKeyGTE(v string) predicate.Whatsapp {
  718. return predicate.Whatsapp(sql.FieldGTE(FieldAPIKey, v))
  719. }
  720. // APIKeyLT applies the LT predicate on the "api_key" field.
  721. func APIKeyLT(v string) predicate.Whatsapp {
  722. return predicate.Whatsapp(sql.FieldLT(FieldAPIKey, v))
  723. }
  724. // APIKeyLTE applies the LTE predicate on the "api_key" field.
  725. func APIKeyLTE(v string) predicate.Whatsapp {
  726. return predicate.Whatsapp(sql.FieldLTE(FieldAPIKey, v))
  727. }
  728. // APIKeyContains applies the Contains predicate on the "api_key" field.
  729. func APIKeyContains(v string) predicate.Whatsapp {
  730. return predicate.Whatsapp(sql.FieldContains(FieldAPIKey, v))
  731. }
  732. // APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.
  733. func APIKeyHasPrefix(v string) predicate.Whatsapp {
  734. return predicate.Whatsapp(sql.FieldHasPrefix(FieldAPIKey, v))
  735. }
  736. // APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.
  737. func APIKeyHasSuffix(v string) predicate.Whatsapp {
  738. return predicate.Whatsapp(sql.FieldHasSuffix(FieldAPIKey, v))
  739. }
  740. // APIKeyIsNil applies the IsNil predicate on the "api_key" field.
  741. func APIKeyIsNil() predicate.Whatsapp {
  742. return predicate.Whatsapp(sql.FieldIsNull(FieldAPIKey))
  743. }
  744. // APIKeyNotNil applies the NotNil predicate on the "api_key" field.
  745. func APIKeyNotNil() predicate.Whatsapp {
  746. return predicate.Whatsapp(sql.FieldNotNull(FieldAPIKey))
  747. }
  748. // APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.
  749. func APIKeyEqualFold(v string) predicate.Whatsapp {
  750. return predicate.Whatsapp(sql.FieldEqualFold(FieldAPIKey, v))
  751. }
  752. // APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.
  753. func APIKeyContainsFold(v string) predicate.Whatsapp {
  754. return predicate.Whatsapp(sql.FieldContainsFold(FieldAPIKey, v))
  755. }
  756. // AllowListIsNil applies the IsNil predicate on the "allow_list" field.
  757. func AllowListIsNil() predicate.Whatsapp {
  758. return predicate.Whatsapp(sql.FieldIsNull(FieldAllowList))
  759. }
  760. // AllowListNotNil applies the NotNil predicate on the "allow_list" field.
  761. func AllowListNotNil() predicate.Whatsapp {
  762. return predicate.Whatsapp(sql.FieldNotNull(FieldAllowList))
  763. }
  764. // GroupAllowListIsNil applies the IsNil predicate on the "group_allow_list" field.
  765. func GroupAllowListIsNil() predicate.Whatsapp {
  766. return predicate.Whatsapp(sql.FieldIsNull(FieldGroupAllowList))
  767. }
  768. // GroupAllowListNotNil applies the NotNil predicate on the "group_allow_list" field.
  769. func GroupAllowListNotNil() predicate.Whatsapp {
  770. return predicate.Whatsapp(sql.FieldNotNull(FieldGroupAllowList))
  771. }
  772. // BlockListIsNil applies the IsNil predicate on the "block_list" field.
  773. func BlockListIsNil() predicate.Whatsapp {
  774. return predicate.Whatsapp(sql.FieldIsNull(FieldBlockList))
  775. }
  776. // BlockListNotNil applies the NotNil predicate on the "block_list" field.
  777. func BlockListNotNil() predicate.Whatsapp {
  778. return predicate.Whatsapp(sql.FieldNotNull(FieldBlockList))
  779. }
  780. // GroupBlockListIsNil applies the IsNil predicate on the "group_block_list" field.
  781. func GroupBlockListIsNil() predicate.Whatsapp {
  782. return predicate.Whatsapp(sql.FieldIsNull(FieldGroupBlockList))
  783. }
  784. // GroupBlockListNotNil applies the NotNil predicate on the "group_block_list" field.
  785. func GroupBlockListNotNil() predicate.Whatsapp {
  786. return predicate.Whatsapp(sql.FieldNotNull(FieldGroupBlockList))
  787. }
  788. // And groups predicates with the AND operator between them.
  789. func And(predicates ...predicate.Whatsapp) predicate.Whatsapp {
  790. return predicate.Whatsapp(sql.AndPredicates(predicates...))
  791. }
  792. // Or groups predicates with the OR operator between them.
  793. func Or(predicates ...predicate.Whatsapp) predicate.Whatsapp {
  794. return predicate.Whatsapp(sql.OrPredicates(predicates...))
  795. }
  796. // Not applies the not operator on the given predicate.
  797. func Not(p predicate.Whatsapp) predicate.Whatsapp {
  798. return predicate.Whatsapp(sql.NotPredicates(p))
  799. }