Skip to content

Commit 7724101

Browse files
committed
feat: update javascript query classes
1 parent efd123c commit 7724101

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

templates/node/lib/query.js.twig

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ class Query {
55
static notEqual = (attribute, value) =>
66
Query.addQuery(attribute, "notEqual", value);
77

8-
static lesser = (attribute, value) =>
9-
Query.addQuery(attribute, "lesser", value);
8+
static lessThan = (attribute, value) =>
9+
Query.addQuery(attribute, "lessThan", value);
1010

11-
static lesserEqual = (attribute, value) =>
12-
Query.addQuery(attribute, "lesserEqual", value);
11+
static lessThanEqual = (attribute, value) =>
12+
Query.addQuery(attribute, "lessThanEqual", value);
1313

14-
static greater = (attribute, value) =>
15-
Query.addQuery(attribute, "greater", value);
14+
static greaterThan = (attribute, value) =>
15+
Query.addQuery(attribute, "greaterThan", value);
1616

17-
static greaterEqual = (attribute, value) =>
18-
Query.addQuery(attribute, "greaterEqual", value);
17+
static greaterThanEqual = (attribute, value) =>
18+
Query.addQuery(attribute, "greaterThanEqual", value);
1919

2020
static search = (attribute, value) =>
2121
Query.addQuery(attribute, "search", value);

0 commit comments

Comments
 (0)