config.sequelize.js 843 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. const Op = require('sequelize').Op;
  2. const operatorsAliases = {
  3. $eq: Op.eq,
  4. $ne: Op.ne,
  5. $gte: Op.gte,
  6. $gt: Op.gt,
  7. $lte: Op.lte,
  8. $lt: Op.lt,
  9. $not: Op.not,
  10. $in: Op.in,
  11. $notIn: Op.notIn,
  12. $is: Op.is,
  13. $like: Op.like,
  14. $notLike: Op.notLike,
  15. $iLike: Op.iLike,
  16. $notILike: Op.notILike,
  17. $regexp: Op.regexp,
  18. $notRegexp: Op.notRegexp,
  19. $iRegexp: Op.iRegexp,
  20. $notIRegexp: Op.notIRegexp,
  21. $between: Op.between,
  22. $notBetween: Op.notBetween,
  23. $overlap: Op.overlap,
  24. $contains: Op.contains,
  25. $contained: Op.contained,
  26. $adjacent: Op.adjacent,
  27. $strictLeft: Op.strictLeft,
  28. $strictRight: Op.strictRight,
  29. $noExtendRight: Op.noExtendRight,
  30. $noExtendLeft: Op.noExtendLeft,
  31. $and: Op.and,
  32. $or: Op.or,
  33. $any: Op.any,
  34. $all: Op.all,
  35. $values: Op.values,
  36. $col: Op.col
  37. };
  38. exports.operatorsAliases = operatorsAliases;