where.go 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544
  1. // Code generated by ent, DO NOT EDIT.
  2. package addwechatfriendlog
  3. import (
  4. "wechat-api/ent/predicate"
  5. "entgo.io/ent/dialect/sql"
  6. )
  7. // ID filters vertices based on their ID field.
  8. func ID(id int64) predicate.AddWechatFriendLog {
  9. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldID, id))
  10. }
  11. // IDEQ applies the EQ predicate on the ID field.
  12. func IDEQ(id int64) predicate.AddWechatFriendLog {
  13. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldID, id))
  14. }
  15. // IDNEQ applies the NEQ predicate on the ID field.
  16. func IDNEQ(id int64) predicate.AddWechatFriendLog {
  17. return predicate.AddWechatFriendLog(sql.FieldNEQ(FieldID, id))
  18. }
  19. // IDIn applies the In predicate on the ID field.
  20. func IDIn(ids ...int64) predicate.AddWechatFriendLog {
  21. return predicate.AddWechatFriendLog(sql.FieldIn(FieldID, ids...))
  22. }
  23. // IDNotIn applies the NotIn predicate on the ID field.
  24. func IDNotIn(ids ...int64) predicate.AddWechatFriendLog {
  25. return predicate.AddWechatFriendLog(sql.FieldNotIn(FieldID, ids...))
  26. }
  27. // IDGT applies the GT predicate on the ID field.
  28. func IDGT(id int64) predicate.AddWechatFriendLog {
  29. return predicate.AddWechatFriendLog(sql.FieldGT(FieldID, id))
  30. }
  31. // IDGTE applies the GTE predicate on the ID field.
  32. func IDGTE(id int64) predicate.AddWechatFriendLog {
  33. return predicate.AddWechatFriendLog(sql.FieldGTE(FieldID, id))
  34. }
  35. // IDLT applies the LT predicate on the ID field.
  36. func IDLT(id int64) predicate.AddWechatFriendLog {
  37. return predicate.AddWechatFriendLog(sql.FieldLT(FieldID, id))
  38. }
  39. // IDLTE applies the LTE predicate on the ID field.
  40. func IDLTE(id int64) predicate.AddWechatFriendLog {
  41. return predicate.AddWechatFriendLog(sql.FieldLTE(FieldID, id))
  42. }
  43. // OwnerWxID applies equality check predicate on the "owner_wx_id" field. It's identical to OwnerWxIDEQ.
  44. func OwnerWxID(v string) predicate.AddWechatFriendLog {
  45. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldOwnerWxID, v))
  46. }
  47. // OwnerWxType applies equality check predicate on the "owner_wx_type" field. It's identical to OwnerWxTypeEQ.
  48. func OwnerWxType(v int) predicate.AddWechatFriendLog {
  49. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldOwnerWxType, v))
  50. }
  51. // FindContent applies equality check predicate on the "find_content" field. It's identical to FindContentEQ.
  52. func FindContent(v string) predicate.AddWechatFriendLog {
  53. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldFindContent, v))
  54. }
  55. // Message applies equality check predicate on the "message" field. It's identical to MessageEQ.
  56. func Message(v string) predicate.AddWechatFriendLog {
  57. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldMessage, v))
  58. }
  59. // IsCanAdd applies equality check predicate on the "is_can_add" field. It's identical to IsCanAddEQ.
  60. func IsCanAdd(v int) predicate.AddWechatFriendLog {
  61. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldIsCanAdd, v))
  62. }
  63. // TaskID applies equality check predicate on the "task_id" field. It's identical to TaskIDEQ.
  64. func TaskID(v int64) predicate.AddWechatFriendLog {
  65. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldTaskID, v))
  66. }
  67. // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
  68. func CreatedAt(v int64) predicate.AddWechatFriendLog {
  69. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldCreatedAt, v))
  70. }
  71. // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
  72. func UpdatedAt(v int64) predicate.AddWechatFriendLog {
  73. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldUpdatedAt, v))
  74. }
  75. // OwnerWxIDEQ applies the EQ predicate on the "owner_wx_id" field.
  76. func OwnerWxIDEQ(v string) predicate.AddWechatFriendLog {
  77. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldOwnerWxID, v))
  78. }
  79. // OwnerWxIDNEQ applies the NEQ predicate on the "owner_wx_id" field.
  80. func OwnerWxIDNEQ(v string) predicate.AddWechatFriendLog {
  81. return predicate.AddWechatFriendLog(sql.FieldNEQ(FieldOwnerWxID, v))
  82. }
  83. // OwnerWxIDIn applies the In predicate on the "owner_wx_id" field.
  84. func OwnerWxIDIn(vs ...string) predicate.AddWechatFriendLog {
  85. return predicate.AddWechatFriendLog(sql.FieldIn(FieldOwnerWxID, vs...))
  86. }
  87. // OwnerWxIDNotIn applies the NotIn predicate on the "owner_wx_id" field.
  88. func OwnerWxIDNotIn(vs ...string) predicate.AddWechatFriendLog {
  89. return predicate.AddWechatFriendLog(sql.FieldNotIn(FieldOwnerWxID, vs...))
  90. }
  91. // OwnerWxIDGT applies the GT predicate on the "owner_wx_id" field.
  92. func OwnerWxIDGT(v string) predicate.AddWechatFriendLog {
  93. return predicate.AddWechatFriendLog(sql.FieldGT(FieldOwnerWxID, v))
  94. }
  95. // OwnerWxIDGTE applies the GTE predicate on the "owner_wx_id" field.
  96. func OwnerWxIDGTE(v string) predicate.AddWechatFriendLog {
  97. return predicate.AddWechatFriendLog(sql.FieldGTE(FieldOwnerWxID, v))
  98. }
  99. // OwnerWxIDLT applies the LT predicate on the "owner_wx_id" field.
  100. func OwnerWxIDLT(v string) predicate.AddWechatFriendLog {
  101. return predicate.AddWechatFriendLog(sql.FieldLT(FieldOwnerWxID, v))
  102. }
  103. // OwnerWxIDLTE applies the LTE predicate on the "owner_wx_id" field.
  104. func OwnerWxIDLTE(v string) predicate.AddWechatFriendLog {
  105. return predicate.AddWechatFriendLog(sql.FieldLTE(FieldOwnerWxID, v))
  106. }
  107. // OwnerWxIDContains applies the Contains predicate on the "owner_wx_id" field.
  108. func OwnerWxIDContains(v string) predicate.AddWechatFriendLog {
  109. return predicate.AddWechatFriendLog(sql.FieldContains(FieldOwnerWxID, v))
  110. }
  111. // OwnerWxIDHasPrefix applies the HasPrefix predicate on the "owner_wx_id" field.
  112. func OwnerWxIDHasPrefix(v string) predicate.AddWechatFriendLog {
  113. return predicate.AddWechatFriendLog(sql.FieldHasPrefix(FieldOwnerWxID, v))
  114. }
  115. // OwnerWxIDHasSuffix applies the HasSuffix predicate on the "owner_wx_id" field.
  116. func OwnerWxIDHasSuffix(v string) predicate.AddWechatFriendLog {
  117. return predicate.AddWechatFriendLog(sql.FieldHasSuffix(FieldOwnerWxID, v))
  118. }
  119. // OwnerWxIDEqualFold applies the EqualFold predicate on the "owner_wx_id" field.
  120. func OwnerWxIDEqualFold(v string) predicate.AddWechatFriendLog {
  121. return predicate.AddWechatFriendLog(sql.FieldEqualFold(FieldOwnerWxID, v))
  122. }
  123. // OwnerWxIDContainsFold applies the ContainsFold predicate on the "owner_wx_id" field.
  124. func OwnerWxIDContainsFold(v string) predicate.AddWechatFriendLog {
  125. return predicate.AddWechatFriendLog(sql.FieldContainsFold(FieldOwnerWxID, v))
  126. }
  127. // OwnerWxTypeEQ applies the EQ predicate on the "owner_wx_type" field.
  128. func OwnerWxTypeEQ(v int) predicate.AddWechatFriendLog {
  129. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldOwnerWxType, v))
  130. }
  131. // OwnerWxTypeNEQ applies the NEQ predicate on the "owner_wx_type" field.
  132. func OwnerWxTypeNEQ(v int) predicate.AddWechatFriendLog {
  133. return predicate.AddWechatFriendLog(sql.FieldNEQ(FieldOwnerWxType, v))
  134. }
  135. // OwnerWxTypeIn applies the In predicate on the "owner_wx_type" field.
  136. func OwnerWxTypeIn(vs ...int) predicate.AddWechatFriendLog {
  137. return predicate.AddWechatFriendLog(sql.FieldIn(FieldOwnerWxType, vs...))
  138. }
  139. // OwnerWxTypeNotIn applies the NotIn predicate on the "owner_wx_type" field.
  140. func OwnerWxTypeNotIn(vs ...int) predicate.AddWechatFriendLog {
  141. return predicate.AddWechatFriendLog(sql.FieldNotIn(FieldOwnerWxType, vs...))
  142. }
  143. // OwnerWxTypeGT applies the GT predicate on the "owner_wx_type" field.
  144. func OwnerWxTypeGT(v int) predicate.AddWechatFriendLog {
  145. return predicate.AddWechatFriendLog(sql.FieldGT(FieldOwnerWxType, v))
  146. }
  147. // OwnerWxTypeGTE applies the GTE predicate on the "owner_wx_type" field.
  148. func OwnerWxTypeGTE(v int) predicate.AddWechatFriendLog {
  149. return predicate.AddWechatFriendLog(sql.FieldGTE(FieldOwnerWxType, v))
  150. }
  151. // OwnerWxTypeLT applies the LT predicate on the "owner_wx_type" field.
  152. func OwnerWxTypeLT(v int) predicate.AddWechatFriendLog {
  153. return predicate.AddWechatFriendLog(sql.FieldLT(FieldOwnerWxType, v))
  154. }
  155. // OwnerWxTypeLTE applies the LTE predicate on the "owner_wx_type" field.
  156. func OwnerWxTypeLTE(v int) predicate.AddWechatFriendLog {
  157. return predicate.AddWechatFriendLog(sql.FieldLTE(FieldOwnerWxType, v))
  158. }
  159. // FindContentEQ applies the EQ predicate on the "find_content" field.
  160. func FindContentEQ(v string) predicate.AddWechatFriendLog {
  161. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldFindContent, v))
  162. }
  163. // FindContentNEQ applies the NEQ predicate on the "find_content" field.
  164. func FindContentNEQ(v string) predicate.AddWechatFriendLog {
  165. return predicate.AddWechatFriendLog(sql.FieldNEQ(FieldFindContent, v))
  166. }
  167. // FindContentIn applies the In predicate on the "find_content" field.
  168. func FindContentIn(vs ...string) predicate.AddWechatFriendLog {
  169. return predicate.AddWechatFriendLog(sql.FieldIn(FieldFindContent, vs...))
  170. }
  171. // FindContentNotIn applies the NotIn predicate on the "find_content" field.
  172. func FindContentNotIn(vs ...string) predicate.AddWechatFriendLog {
  173. return predicate.AddWechatFriendLog(sql.FieldNotIn(FieldFindContent, vs...))
  174. }
  175. // FindContentGT applies the GT predicate on the "find_content" field.
  176. func FindContentGT(v string) predicate.AddWechatFriendLog {
  177. return predicate.AddWechatFriendLog(sql.FieldGT(FieldFindContent, v))
  178. }
  179. // FindContentGTE applies the GTE predicate on the "find_content" field.
  180. func FindContentGTE(v string) predicate.AddWechatFriendLog {
  181. return predicate.AddWechatFriendLog(sql.FieldGTE(FieldFindContent, v))
  182. }
  183. // FindContentLT applies the LT predicate on the "find_content" field.
  184. func FindContentLT(v string) predicate.AddWechatFriendLog {
  185. return predicate.AddWechatFriendLog(sql.FieldLT(FieldFindContent, v))
  186. }
  187. // FindContentLTE applies the LTE predicate on the "find_content" field.
  188. func FindContentLTE(v string) predicate.AddWechatFriendLog {
  189. return predicate.AddWechatFriendLog(sql.FieldLTE(FieldFindContent, v))
  190. }
  191. // FindContentContains applies the Contains predicate on the "find_content" field.
  192. func FindContentContains(v string) predicate.AddWechatFriendLog {
  193. return predicate.AddWechatFriendLog(sql.FieldContains(FieldFindContent, v))
  194. }
  195. // FindContentHasPrefix applies the HasPrefix predicate on the "find_content" field.
  196. func FindContentHasPrefix(v string) predicate.AddWechatFriendLog {
  197. return predicate.AddWechatFriendLog(sql.FieldHasPrefix(FieldFindContent, v))
  198. }
  199. // FindContentHasSuffix applies the HasSuffix predicate on the "find_content" field.
  200. func FindContentHasSuffix(v string) predicate.AddWechatFriendLog {
  201. return predicate.AddWechatFriendLog(sql.FieldHasSuffix(FieldFindContent, v))
  202. }
  203. // FindContentEqualFold applies the EqualFold predicate on the "find_content" field.
  204. func FindContentEqualFold(v string) predicate.AddWechatFriendLog {
  205. return predicate.AddWechatFriendLog(sql.FieldEqualFold(FieldFindContent, v))
  206. }
  207. // FindContentContainsFold applies the ContainsFold predicate on the "find_content" field.
  208. func FindContentContainsFold(v string) predicate.AddWechatFriendLog {
  209. return predicate.AddWechatFriendLog(sql.FieldContainsFold(FieldFindContent, v))
  210. }
  211. // MessageEQ applies the EQ predicate on the "message" field.
  212. func MessageEQ(v string) predicate.AddWechatFriendLog {
  213. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldMessage, v))
  214. }
  215. // MessageNEQ applies the NEQ predicate on the "message" field.
  216. func MessageNEQ(v string) predicate.AddWechatFriendLog {
  217. return predicate.AddWechatFriendLog(sql.FieldNEQ(FieldMessage, v))
  218. }
  219. // MessageIn applies the In predicate on the "message" field.
  220. func MessageIn(vs ...string) predicate.AddWechatFriendLog {
  221. return predicate.AddWechatFriendLog(sql.FieldIn(FieldMessage, vs...))
  222. }
  223. // MessageNotIn applies the NotIn predicate on the "message" field.
  224. func MessageNotIn(vs ...string) predicate.AddWechatFriendLog {
  225. return predicate.AddWechatFriendLog(sql.FieldNotIn(FieldMessage, vs...))
  226. }
  227. // MessageGT applies the GT predicate on the "message" field.
  228. func MessageGT(v string) predicate.AddWechatFriendLog {
  229. return predicate.AddWechatFriendLog(sql.FieldGT(FieldMessage, v))
  230. }
  231. // MessageGTE applies the GTE predicate on the "message" field.
  232. func MessageGTE(v string) predicate.AddWechatFriendLog {
  233. return predicate.AddWechatFriendLog(sql.FieldGTE(FieldMessage, v))
  234. }
  235. // MessageLT applies the LT predicate on the "message" field.
  236. func MessageLT(v string) predicate.AddWechatFriendLog {
  237. return predicate.AddWechatFriendLog(sql.FieldLT(FieldMessage, v))
  238. }
  239. // MessageLTE applies the LTE predicate on the "message" field.
  240. func MessageLTE(v string) predicate.AddWechatFriendLog {
  241. return predicate.AddWechatFriendLog(sql.FieldLTE(FieldMessage, v))
  242. }
  243. // MessageContains applies the Contains predicate on the "message" field.
  244. func MessageContains(v string) predicate.AddWechatFriendLog {
  245. return predicate.AddWechatFriendLog(sql.FieldContains(FieldMessage, v))
  246. }
  247. // MessageHasPrefix applies the HasPrefix predicate on the "message" field.
  248. func MessageHasPrefix(v string) predicate.AddWechatFriendLog {
  249. return predicate.AddWechatFriendLog(sql.FieldHasPrefix(FieldMessage, v))
  250. }
  251. // MessageHasSuffix applies the HasSuffix predicate on the "message" field.
  252. func MessageHasSuffix(v string) predicate.AddWechatFriendLog {
  253. return predicate.AddWechatFriendLog(sql.FieldHasSuffix(FieldMessage, v))
  254. }
  255. // MessageEqualFold applies the EqualFold predicate on the "message" field.
  256. func MessageEqualFold(v string) predicate.AddWechatFriendLog {
  257. return predicate.AddWechatFriendLog(sql.FieldEqualFold(FieldMessage, v))
  258. }
  259. // MessageContainsFold applies the ContainsFold predicate on the "message" field.
  260. func MessageContainsFold(v string) predicate.AddWechatFriendLog {
  261. return predicate.AddWechatFriendLog(sql.FieldContainsFold(FieldMessage, v))
  262. }
  263. // FindRequestIsNil applies the IsNil predicate on the "find_request" field.
  264. func FindRequestIsNil() predicate.AddWechatFriendLog {
  265. return predicate.AddWechatFriendLog(sql.FieldIsNull(FieldFindRequest))
  266. }
  267. // FindRequestNotNil applies the NotNil predicate on the "find_request" field.
  268. func FindRequestNotNil() predicate.AddWechatFriendLog {
  269. return predicate.AddWechatFriendLog(sql.FieldNotNull(FieldFindRequest))
  270. }
  271. // FindResultIsNil applies the IsNil predicate on the "find_result" field.
  272. func FindResultIsNil() predicate.AddWechatFriendLog {
  273. return predicate.AddWechatFriendLog(sql.FieldIsNull(FieldFindResult))
  274. }
  275. // FindResultNotNil applies the NotNil predicate on the "find_result" field.
  276. func FindResultNotNil() predicate.AddWechatFriendLog {
  277. return predicate.AddWechatFriendLog(sql.FieldNotNull(FieldFindResult))
  278. }
  279. // IsCanAddEQ applies the EQ predicate on the "is_can_add" field.
  280. func IsCanAddEQ(v int) predicate.AddWechatFriendLog {
  281. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldIsCanAdd, v))
  282. }
  283. // IsCanAddNEQ applies the NEQ predicate on the "is_can_add" field.
  284. func IsCanAddNEQ(v int) predicate.AddWechatFriendLog {
  285. return predicate.AddWechatFriendLog(sql.FieldNEQ(FieldIsCanAdd, v))
  286. }
  287. // IsCanAddIn applies the In predicate on the "is_can_add" field.
  288. func IsCanAddIn(vs ...int) predicate.AddWechatFriendLog {
  289. return predicate.AddWechatFriendLog(sql.FieldIn(FieldIsCanAdd, vs...))
  290. }
  291. // IsCanAddNotIn applies the NotIn predicate on the "is_can_add" field.
  292. func IsCanAddNotIn(vs ...int) predicate.AddWechatFriendLog {
  293. return predicate.AddWechatFriendLog(sql.FieldNotIn(FieldIsCanAdd, vs...))
  294. }
  295. // IsCanAddGT applies the GT predicate on the "is_can_add" field.
  296. func IsCanAddGT(v int) predicate.AddWechatFriendLog {
  297. return predicate.AddWechatFriendLog(sql.FieldGT(FieldIsCanAdd, v))
  298. }
  299. // IsCanAddGTE applies the GTE predicate on the "is_can_add" field.
  300. func IsCanAddGTE(v int) predicate.AddWechatFriendLog {
  301. return predicate.AddWechatFriendLog(sql.FieldGTE(FieldIsCanAdd, v))
  302. }
  303. // IsCanAddLT applies the LT predicate on the "is_can_add" field.
  304. func IsCanAddLT(v int) predicate.AddWechatFriendLog {
  305. return predicate.AddWechatFriendLog(sql.FieldLT(FieldIsCanAdd, v))
  306. }
  307. // IsCanAddLTE applies the LTE predicate on the "is_can_add" field.
  308. func IsCanAddLTE(v int) predicate.AddWechatFriendLog {
  309. return predicate.AddWechatFriendLog(sql.FieldLTE(FieldIsCanAdd, v))
  310. }
  311. // TaskIDEQ applies the EQ predicate on the "task_id" field.
  312. func TaskIDEQ(v int64) predicate.AddWechatFriendLog {
  313. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldTaskID, v))
  314. }
  315. // TaskIDNEQ applies the NEQ predicate on the "task_id" field.
  316. func TaskIDNEQ(v int64) predicate.AddWechatFriendLog {
  317. return predicate.AddWechatFriendLog(sql.FieldNEQ(FieldTaskID, v))
  318. }
  319. // TaskIDIn applies the In predicate on the "task_id" field.
  320. func TaskIDIn(vs ...int64) predicate.AddWechatFriendLog {
  321. return predicate.AddWechatFriendLog(sql.FieldIn(FieldTaskID, vs...))
  322. }
  323. // TaskIDNotIn applies the NotIn predicate on the "task_id" field.
  324. func TaskIDNotIn(vs ...int64) predicate.AddWechatFriendLog {
  325. return predicate.AddWechatFriendLog(sql.FieldNotIn(FieldTaskID, vs...))
  326. }
  327. // TaskIDGT applies the GT predicate on the "task_id" field.
  328. func TaskIDGT(v int64) predicate.AddWechatFriendLog {
  329. return predicate.AddWechatFriendLog(sql.FieldGT(FieldTaskID, v))
  330. }
  331. // TaskIDGTE applies the GTE predicate on the "task_id" field.
  332. func TaskIDGTE(v int64) predicate.AddWechatFriendLog {
  333. return predicate.AddWechatFriendLog(sql.FieldGTE(FieldTaskID, v))
  334. }
  335. // TaskIDLT applies the LT predicate on the "task_id" field.
  336. func TaskIDLT(v int64) predicate.AddWechatFriendLog {
  337. return predicate.AddWechatFriendLog(sql.FieldLT(FieldTaskID, v))
  338. }
  339. // TaskIDLTE applies the LTE predicate on the "task_id" field.
  340. func TaskIDLTE(v int64) predicate.AddWechatFriendLog {
  341. return predicate.AddWechatFriendLog(sql.FieldLTE(FieldTaskID, v))
  342. }
  343. // AddRequestIsNil applies the IsNil predicate on the "add_request" field.
  344. func AddRequestIsNil() predicate.AddWechatFriendLog {
  345. return predicate.AddWechatFriendLog(sql.FieldIsNull(FieldAddRequest))
  346. }
  347. // AddRequestNotNil applies the NotNil predicate on the "add_request" field.
  348. func AddRequestNotNil() predicate.AddWechatFriendLog {
  349. return predicate.AddWechatFriendLog(sql.FieldNotNull(FieldAddRequest))
  350. }
  351. // AddResultIsNil applies the IsNil predicate on the "add_result" field.
  352. func AddResultIsNil() predicate.AddWechatFriendLog {
  353. return predicate.AddWechatFriendLog(sql.FieldIsNull(FieldAddResult))
  354. }
  355. // AddResultNotNil applies the NotNil predicate on the "add_result" field.
  356. func AddResultNotNil() predicate.AddWechatFriendLog {
  357. return predicate.AddWechatFriendLog(sql.FieldNotNull(FieldAddResult))
  358. }
  359. // CreatedAtEQ applies the EQ predicate on the "created_at" field.
  360. func CreatedAtEQ(v int64) predicate.AddWechatFriendLog {
  361. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldCreatedAt, v))
  362. }
  363. // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
  364. func CreatedAtNEQ(v int64) predicate.AddWechatFriendLog {
  365. return predicate.AddWechatFriendLog(sql.FieldNEQ(FieldCreatedAt, v))
  366. }
  367. // CreatedAtIn applies the In predicate on the "created_at" field.
  368. func CreatedAtIn(vs ...int64) predicate.AddWechatFriendLog {
  369. return predicate.AddWechatFriendLog(sql.FieldIn(FieldCreatedAt, vs...))
  370. }
  371. // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
  372. func CreatedAtNotIn(vs ...int64) predicate.AddWechatFriendLog {
  373. return predicate.AddWechatFriendLog(sql.FieldNotIn(FieldCreatedAt, vs...))
  374. }
  375. // CreatedAtGT applies the GT predicate on the "created_at" field.
  376. func CreatedAtGT(v int64) predicate.AddWechatFriendLog {
  377. return predicate.AddWechatFriendLog(sql.FieldGT(FieldCreatedAt, v))
  378. }
  379. // CreatedAtGTE applies the GTE predicate on the "created_at" field.
  380. func CreatedAtGTE(v int64) predicate.AddWechatFriendLog {
  381. return predicate.AddWechatFriendLog(sql.FieldGTE(FieldCreatedAt, v))
  382. }
  383. // CreatedAtLT applies the LT predicate on the "created_at" field.
  384. func CreatedAtLT(v int64) predicate.AddWechatFriendLog {
  385. return predicate.AddWechatFriendLog(sql.FieldLT(FieldCreatedAt, v))
  386. }
  387. // CreatedAtLTE applies the LTE predicate on the "created_at" field.
  388. func CreatedAtLTE(v int64) predicate.AddWechatFriendLog {
  389. return predicate.AddWechatFriendLog(sql.FieldLTE(FieldCreatedAt, v))
  390. }
  391. // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
  392. func UpdatedAtEQ(v int64) predicate.AddWechatFriendLog {
  393. return predicate.AddWechatFriendLog(sql.FieldEQ(FieldUpdatedAt, v))
  394. }
  395. // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
  396. func UpdatedAtNEQ(v int64) predicate.AddWechatFriendLog {
  397. return predicate.AddWechatFriendLog(sql.FieldNEQ(FieldUpdatedAt, v))
  398. }
  399. // UpdatedAtIn applies the In predicate on the "updated_at" field.
  400. func UpdatedAtIn(vs ...int64) predicate.AddWechatFriendLog {
  401. return predicate.AddWechatFriendLog(sql.FieldIn(FieldUpdatedAt, vs...))
  402. }
  403. // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
  404. func UpdatedAtNotIn(vs ...int64) predicate.AddWechatFriendLog {
  405. return predicate.AddWechatFriendLog(sql.FieldNotIn(FieldUpdatedAt, vs...))
  406. }
  407. // UpdatedAtGT applies the GT predicate on the "updated_at" field.
  408. func UpdatedAtGT(v int64) predicate.AddWechatFriendLog {
  409. return predicate.AddWechatFriendLog(sql.FieldGT(FieldUpdatedAt, v))
  410. }
  411. // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
  412. func UpdatedAtGTE(v int64) predicate.AddWechatFriendLog {
  413. return predicate.AddWechatFriendLog(sql.FieldGTE(FieldUpdatedAt, v))
  414. }
  415. // UpdatedAtLT applies the LT predicate on the "updated_at" field.
  416. func UpdatedAtLT(v int64) predicate.AddWechatFriendLog {
  417. return predicate.AddWechatFriendLog(sql.FieldLT(FieldUpdatedAt, v))
  418. }
  419. // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
  420. func UpdatedAtLTE(v int64) predicate.AddWechatFriendLog {
  421. return predicate.AddWechatFriendLog(sql.FieldLTE(FieldUpdatedAt, v))
  422. }
  423. // And groups predicates with the AND operator between them.
  424. func And(predicates ...predicate.AddWechatFriendLog) predicate.AddWechatFriendLog {
  425. return predicate.AddWechatFriendLog(sql.AndPredicates(predicates...))
  426. }
  427. // Or groups predicates with the OR operator between them.
  428. func Or(predicates ...predicate.AddWechatFriendLog) predicate.AddWechatFriendLog {
  429. return predicate.AddWechatFriendLog(sql.OrPredicates(predicates...))
  430. }
  431. // Not applies the not operator on the given predicate.
  432. func Not(p predicate.AddWechatFriendLog) predicate.AddWechatFriendLog {
  433. return predicate.AddWechatFriendLog(sql.NotPredicates(p))
  434. }