mythix-orm 1.4.6 → 1.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,13 +60,13 @@ const FILTER_OPERATORS = {
60
60
  '<>': (Model, fieldName, query, value) => {
61
61
  return query.AND(Model.where[fieldName].LT(value[0]).OR[fieldName].GT(value[1]));
62
62
  },
63
- // Like (TODO: Mythix ORM needs to support this)
63
+ // Like
64
64
  '*': (Model, fieldName, query, value) => {
65
- return query.EQ(value);
65
+ return query.LIKE(value);
66
66
  },
67
- // NOT Like (TODO: Mythix ORM needs to support this)
67
+ // NOT Like
68
68
  '!*': (Model, fieldName, query, value) => {
69
- return query.EQ(value);
69
+ return query.NOT_LIKE(value);
70
70
  },
71
71
  };
72
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mythix-orm",
3
- "version": "1.4.6",
3
+ "version": "1.4.7",
4
4
  "description": "ORM for Mythix framework",
5
5
  "main": "lib/index.js",
6
6
  "type": "commonjs",