Skip to content

Commit b5eb92c

Browse files
committed
feat: update swift query classes
1 parent 519064a commit b5eb92c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

templates/swift/Sources/Query.swift.twig

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ public class Query {
88
buildQueryWhere(attribute, is: "notEqual", to: value)
99
}
1010

11-
public static func lesser(_ attribute: String, value: Any) -> String {
12-
buildQueryWhere(attribute, is: "lesser", to: value)
11+
public static func lessThan(_ attribute: String, value: Any) -> String {
12+
buildQueryWhere(attribute, is: "lessThan", to: value)
1313
}
1414

15-
public static func lesserEqual(attribute: String, value: Any) -> String {
16-
buildQueryWhere(attribute, is: "lesserEqual", to: value)
15+
public static func lessThanEqual(attribute: String, value: Any) -> String {
16+
buildQueryWhere(attribute, is: "lessThanEqual", to: value)
1717
}
1818

19-
public static func greater(_ attribute: String, value: Any) -> String {
20-
buildQueryWhere(attribute, is: "greater", to: value)
19+
public static func greaterThan(_ attribute: String, value: Any) -> String {
20+
buildQueryWhere(attribute, is: "greaterThan", to: value)
2121
}
2222

23-
public static func greaterEqual(_ attribute: String, value: Any) -> String {
24-
buildQueryWhere(attribute, is: "greaterEqual", to: value)
23+
public static func greaterThanEqual(_ attribute: String, value: Any) -> String {
24+
buildQueryWhere(attribute, is: "greaterThanEqual", to: value)
2525
}
2626

2727
public static func search(_ attribute: String, value: String) -> String {

0 commit comments

Comments
 (0)