Skip to content

Commit 6b7b7fc

Browse files
committed
feat: update kotlin query classes
1 parent ec8b264 commit 6b7b7fc

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

templates/android/library/src/main/java/io/appwrite/Query.kt.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ class Query {
66

77
fun notEqual(attribute: String, value: Any) = Query.addQuery(attribute, "notEqual", value)
88

9-
fun lesser(attribute: String, value: Any) = Query.addQuery(attribute, "lesser", value)
9+
fun lessThan(attribute: String, value: Any) = Query.addQuery(attribute, "lessThan", value)
1010

11-
fun lesserEqual(attribute: String, value: Any) = Query.addQuery(attribute, "lesserEqual", value)
11+
fun lessThanEqual(attribute: String, value: Any) = Query.addQuery(attribute, "lessThanEqual", value)
1212

13-
fun greater(attribute: String, value: Any) = Query.addQuery(attribute, "greater", value)
13+
fun greaterThan(attribute: String, value: Any) = Query.addQuery(attribute, "greaterThan", value)
1414

15-
fun greaterEqual(attribute: String, value: Any) = Query.addQuery(attribute, "greaterEqual", value)
15+
fun greaterThanEqual(attribute: String, value: Any) = Query.addQuery(attribute, "greaterThanEqual", value)
1616

1717
fun search(attribute: String, value: String) = Query.addQuery(attribute, "search", value)
1818

templates/kotlin/src/main/kotlin/io/appwrite/Query.kt.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ class Query {
66

77
fun notEqual(attribute: String, value: Any) = Query.addQuery(attribute, "notEqual", value)
88

9-
fun lesser(attribute: String, value: Any) = Query.addQuery(attribute, "lesser", value)
9+
fun lessThan(attribute: String, value: Any) = Query.addQuery(attribute, "lessThan", value)
1010

11-
fun lesserEqual(attribute: String, value: Any) = Query.addQuery(attribute, "lesserEqual", value)
11+
fun lessThanEqual(attribute: String, value: Any) = Query.addQuery(attribute, "lessThanEqual", value)
1212

13-
fun greater(attribute: String, value: Any) = Query.addQuery(attribute, "greater", value)
13+
fun greaterThan(attribute: String, value: Any) = Query.addQuery(attribute, "greaterThan", value)
1414

15-
fun greaterEqual(attribute: String, value: Any) = Query.addQuery(attribute, "greaterEqual", value)
15+
fun greaterThanEqual(attribute: String, value: Any) = Query.addQuery(attribute, "greaterThanEqual", value)
1616

1717
fun search(attribute: String, value: String) = Query.addQuery(attribute, "search", value)
1818

0 commit comments

Comments
 (0)