Skip to content

Commit c7405b6

Browse files
committed
Merge remote-tracking branch 'origin/master' into 1.5.x
2 parents d2ff5eb + d632700 commit c7405b6

File tree

20 files changed

+301
-163
lines changed

20 files changed

+301
-163
lines changed

src/SDK/Language/CLI.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ public function getFiles(): array
142142
'destination' => 'lib/config.js',
143143
'template' => 'cli/lib/config.js.twig',
144144
],
145+
[
146+
'scope' => 'default',
147+
'destination' => 'lib/paginate.js',
148+
'template' => 'cli/lib/paginate.js.twig',
149+
],
145150
[
146151
'scope' => 'default',
147152
'destination' => 'lib/client.js',

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ class Query {
2020

2121
fun isNotNull(attribute: String) = "isNotNull(\"${attribute}\")"
2222

23-
fun between(attribute: String, start: Int, end: Int) = Query.addQuery(attribute, "between", listOf(start, end))
23+
fun between(attribute: String, start: Int, end: Int) = "between(\"${attribute}\", ${start}, ${end})"
2424

25-
fun between(attribute: String, start: Double, end: Double) = Query.addQuery(attribute, "between", listOf(start, end))
25+
fun between(attribute: String, start: Double, end: Double) = "between(\"${attribute}\", ${start}, ${end})"
2626

27-
fun between(attribute: String, start: String, end: String) = Query.addQuery(attribute, "between", listOf(start, end))
27+
fun between(attribute: String, start: String, end: String) = "between(\"${attribute}\", \"${start}\", \"${end}\")"
2828

2929
fun startsWith(attribute: String, value: String) = Query.addQuery(attribute, "startsWith", value)
3030

0 commit comments

Comments
 (0)