Skip to content

Commit b45c5f3

Browse files
committed
Fix between query output
1 parent 631ea0c commit b45c5f3

31 files changed

+623
-232
lines changed

CHANGELOG.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
* Update internal variable names to prevent name collision
1010
* Fix: content range header inconsistency in chunked uploads [#648](https://github.com/appwrite/sdk-generator/pull/648)
1111

12-
## 8.0.1
13-
14-
* Added documentation comments
15-
* Added unit tests
16-
* Upgraded dependencies
17-
1812
## 9.0.0
1913

2014
* Support for Appwrite 1.4.0
@@ -30,6 +24,12 @@
3024
* The `updateFile` method now includes the ability to update the file name.
3125
* The `updateMembershipRoles` method has been renamed to `updateMembership`.
3226

27+
## 8.0.1
28+
29+
* Added documentation comments
30+
* Added unit tests
31+
* Upgraded dependencies
32+
3333
## 8.0.0
3434

3535
* Added relationships support
@@ -183,7 +183,7 @@
183183
- BREAKING Renamed users.deleteUser to users.delete
184184
- BREAKING Renamed parameter inviteId to membershipId on teams.updateMembershipStatus, teams.deleteMembership
185185
- JWT Support client.setJWT('JWT_GENERATED_IN_CLIENT')
186-
- [Update membership roles](https://appwrite.io/docs/client/teams?sdk=dart#teamsUpdateMembershipRoles)
186+
- [Update membership roles](https://appwrite.io/docs/references/cloud/server-dart/teams?sdk=dart#updateMembershipRoles)
187187
- New awesome image preview features, supports borderRadius, borderColor, borderWidth
188188

189189
## 0.5.0-dev.1

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Add this to your package's `pubspec.yaml` file:
2323

2424
```yml
2525
dependencies:
26-
dart_appwrite: ^10.0.0
26+
dart_appwrite: ^10.0.1
2727
```
2828
2929
You can install packages from the command line:
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import 'package:dart_appwrite/dart_appwrite.dart';
2+
3+
void main() { // Init SDK
4+
Client client = Client();
5+
Health health = Health(client);
6+
7+
client
8+
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
9+
.setProject('5df5acd0d48c2') // Your project ID
10+
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
11+
;
12+
13+
Future result = health.getQueueBuilds(
14+
);
15+
16+
result
17+
.then((response) {
18+
print(response);
19+
}).catchError((error) {
20+
print(error.response);
21+
});
22+
}

docs/examples/health/get-queue-certificates.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ void main() { // Init SDK
1010
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
1111
;
1212

13-
Future result = health.getQueueCertificates();
13+
Future result = health.getQueueCertificates(
14+
);
1415

1516
result
1617
.then((response) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import 'package:dart_appwrite/dart_appwrite.dart';
2+
3+
void main() { // Init SDK
4+
Client client = Client();
5+
Health health = Health(client);
6+
7+
client
8+
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
9+
.setProject('5df5acd0d48c2') // Your project ID
10+
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
11+
;
12+
13+
Future result = health.getQueueDatabases(
14+
);
15+
16+
result
17+
.then((response) {
18+
print(response);
19+
}).catchError((error) {
20+
print(error.response);
21+
});
22+
}
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import 'package:dart_appwrite/dart_appwrite.dart';
2+
3+
void main() { // Init SDK
4+
Client client = Client();
5+
Health health = Health(client);
6+
7+
client
8+
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
9+
.setProject('5df5acd0d48c2') // Your project ID
10+
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
11+
;
12+
13+
Future result = health.getQueueDeletes(
14+
);
15+
16+
result
17+
.then((response) {
18+
print(response);
19+
}).catchError((error) {
20+
print(error.response);
21+
});
22+
}

docs/examples/health/get-queue-functions.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ void main() { // Init SDK
1010
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
1111
;
1212

13-
Future result = health.getQueueFunctions();
13+
Future result = health.getQueueFunctions(
14+
);
1415

1516
result
1617
.then((response) {

docs/examples/health/get-queue-logs.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ void main() { // Init SDK
1010
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
1111
;
1212

13-
Future result = health.getQueueLogs();
13+
Future result = health.getQueueLogs(
14+
);
1415

1516
result
1617
.then((response) {
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import 'package:dart_appwrite/dart_appwrite.dart';
2+
3+
void main() { // Init SDK
4+
Client client = Client();
5+
Health health = Health(client);
6+
7+
client
8+
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
9+
.setProject('5df5acd0d48c2') // Your project ID
10+
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
11+
;
12+
13+
Future result = health.getQueueMails(
14+
);
15+
16+
result
17+
.then((response) {
18+
print(response);
19+
}).catchError((error) {
20+
print(error.response);
21+
});
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import 'package:dart_appwrite/dart_appwrite.dart';
2+
3+
void main() { // Init SDK
4+
Client client = Client();
5+
Health health = Health(client);
6+
7+
client
8+
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
9+
.setProject('5df5acd0d48c2') // Your project ID
10+
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
11+
;
12+
13+
Future result = health.getQueueMessaging(
14+
);
15+
16+
result
17+
.then((response) {
18+
print(response);
19+
}).catchError((error) {
20+
print(error.response);
21+
});
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import 'package:dart_appwrite/dart_appwrite.dart';
2+
3+
void main() { // Init SDK
4+
Client client = Client();
5+
Health health = Health(client);
6+
7+
client
8+
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
9+
.setProject('5df5acd0d48c2') // Your project ID
10+
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
11+
;
12+
13+
Future result = health.getQueueMigrations(
14+
);
15+
16+
result
17+
.then((response) {
18+
print(response);
19+
}).catchError((error) {
20+
print(error.response);
21+
});
22+
}

docs/examples/health/get-queue-webhooks.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ void main() { // Init SDK
1010
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
1111
;
1212

13-
Future result = health.getQueueWebhooks();
13+
Future result = health.getQueueWebhooks(
14+
);
1415

1516
result
1617
.then((response) {

lib/query.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Query {
4848

4949
/// Filter resources where [attribute] is between [start] and [end] (inclusive).
5050
static String between(String attribute, dynamic start, dynamic end) =>
51-
_addQuery(attribute, 'between', [start, end]);
51+
'between("$attribute", ${_parseValues(start)}, ${_parseValues(end)})';
5252

5353
/// Filter resources where [attribute] starts with [value].
5454
static String startsWith(String attribute, String value) =>

0 commit comments

Comments
 (0)