Skip to content

Commit 6b754aa

Browse files
authored
Merge pull request #91 from appwrite/dev
feat: Dart SDK update for version 18.1.0
2 parents 16a7403 + 420540e commit 6b754aa

26 files changed

+54
-40
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 18.1.0
4+
5+
* Add `orderRandom` query support
6+
37
## 18.0.0
48

59
* Rename `CreditCard` enum value `unionChinaPay` to `unionPay`

README.md

Lines changed: 1 addition & 1 deletion
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: ^18.0.0
26+
dart_appwrite: ^18.1.0
2727
```
2828
2929
You can install packages from the command line:

docs/examples/databases/create-line-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ AttributeLine result = await databases.createLineAttribute(
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
xrequired: false,
15-
xdefault: [[1,2], [3, 4]], // (optional)
15+
xdefault: [[1, 2], [3, 4], [5, 6]], // (optional)
1616
);

docs/examples/databases/create-point-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ AttributePoint result = await databases.createPointAttribute(
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
xrequired: false,
15-
xdefault: [[1,2], [3, 4]], // (optional)
15+
xdefault: [1, 2], // (optional)
1616
);

docs/examples/databases/create-polygon-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ AttributePolygon result = await databases.createPolygonAttribute(
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
xrequired: false,
15-
xdefault: [[1,2], [3, 4]], // (optional)
15+
xdefault: [[[1, 2], [3, 4], [5, 6], [1, 2]]], // (optional)
1616
);

docs/examples/databases/update-line-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ AttributeLine result = await databases.updateLineAttribute(
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
xrequired: false,
15-
xdefault: [[1,2], [3, 4]], // (optional)
15+
xdefault: [[1, 2], [3, 4], [5, 6]], // (optional)
1616
newKey: '', // (optional)
1717
);

docs/examples/databases/update-point-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ AttributePoint result = await databases.updatePointAttribute(
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
xrequired: false,
15-
xdefault: [[1,2], [3, 4]], // (optional)
15+
xdefault: [1, 2], // (optional)
1616
newKey: '', // (optional)
1717
);

docs/examples/databases/update-polygon-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ AttributePolygon result = await databases.updatePolygonAttribute(
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
xrequired: false,
15-
xdefault: [[1,2], [3, 4]], // (optional)
15+
xdefault: [[[1, 2], [3, 4], [5, 6], [1, 2]]], // (optional)
1616
newKey: '', // (optional)
1717
);

docs/examples/tablesdb/create-line-column.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ ColumnLine result = await tablesDB.createLineColumn(
1212
tableId: '<TABLE_ID>',
1313
key: '',
1414
xrequired: false,
15-
xdefault: [[1,2], [3, 4]], // (optional)
15+
xdefault: [[1, 2], [3, 4], [5, 6]], // (optional)
1616
);

docs/examples/tablesdb/create-point-column.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ ColumnPoint result = await tablesDB.createPointColumn(
1212
tableId: '<TABLE_ID>',
1313
key: '',
1414
xrequired: false,
15-
xdefault: [[1,2], [3, 4]], // (optional)
15+
xdefault: [1, 2], // (optional)
1616
);

0 commit comments

Comments
 (0)