Skip to content

Commit d19fb1f

Browse files
authored
Merge pull request #44 from appwrite/dev
Dev
2 parents c53379f + a8d1c8b commit d19fb1f

File tree

13 files changed

+151
-139
lines changed

13 files changed

+151
-139
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![Swift Package Manager](https://img.shields.io/github/v/release/appwrite/sdk-for-apple.svg?color=green&style=flat-square)
44
![License](https://img.shields.io/github/license/appwrite/sdk-for-apple.svg?style=flat-square)
5-
![Version](https://img.shields.io/badge/api%20version-1.4.2-blue.svg?style=flat-square)
5+
![Version](https://img.shields.io/badge/api%20version-1.4.12-blue.svg?style=flat-square)
66
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
77
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
88
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
@@ -31,7 +31,7 @@ Add the package to your `Package.swift` dependencies:
3131

3232
```swift
3333
dependencies: [
34-
.package(url: "[email protected]:appwrite/sdk-for-apple.git", from: "4.0.1"),
34+
.package(url: "[email protected]:appwrite/sdk-for-apple.git", from: "4.0.2"),
3535
],
3636
```
3737

Sources/Appwrite/Client.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ open class Client {
2323
"x-sdk-name": "Apple",
2424
"x-sdk-platform": "client",
2525
"x-sdk-language": "apple",
26-
"x-sdk-version": "4.0.1",
26+
"x-sdk-version": "4.0.2",
2727
"X-Appwrite-Response-Format": "1.4.0"
2828
]
2929

Sources/Appwrite/Query.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ public class Query {
3333
}
3434

3535
public static func between(_ attribute: String, start: Int, end: Int) -> String {
36-
buildQueryWhere(attribute, is: "between", to: [start, end])
36+
"between(\"\(attribute)\", \(start), \(end))"
3737
}
3838

3939
public static func between(_ attribute: String, start: Double, end: Double) -> String {
40-
buildQueryWhere(attribute, is: "between", to: [start, end])
40+
"between(\"\(attribute)\", \(start), \(end))"
4141
}
4242

4343
public static func between(_ attribute: String, start: String, end: String) -> String {
44-
buildQueryWhere(attribute, is: "between", to: [start, end])
44+
"between(\"\(attribute)\", \"\(start)\", \"\(end)\")"
4545
}
4646

4747
public static func startsWith(_ attribute: String, value: String) -> String {

0 commit comments

Comments
 (0)