Skip to content

Commit 10a9810

Browse files
authored
Merge pull request #123 from appwrite/dev
feat: Node.js SDK update for version 19.1.0
2 parents 8a6785a + 68229e8 commit 10a9810

17 files changed

+36
-28
lines changed

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 @@ const result = await databases.createLineAttribute({
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
required: false,
15-
default: [[1,2], [3, 4]] // optional
15+
default: [[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 @@ const result = await databases.createPointAttribute({
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
required: false,
15-
default: [[1,2], [3, 4]] // optional
15+
default: [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 @@ const result = await databases.createPolygonAttribute({
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
required: false,
15-
default: [[1,2], [3, 4]] // optional
15+
default: [[[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 @@ const result = await databases.updateLineAttribute({
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
required: false,
15-
default: [[1,2], [3, 4]], // optional
15+
default: [[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 @@ const result = await databases.updatePointAttribute({
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
required: false,
15-
default: [[1,2], [3, 4]], // optional
15+
default: [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 @@ const result = await databases.updatePolygonAttribute({
1212
collectionId: '<COLLECTION_ID>',
1313
key: '',
1414
required: false,
15-
default: [[1,2], [3, 4]], // optional
15+
default: [[[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 @@ const result = await tablesDB.createLineColumn({
1212
tableId: '<TABLE_ID>',
1313
key: '',
1414
required: false,
15-
default: [[1,2], [3, 4]] // optional
15+
default: [[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 @@ const result = await tablesDB.createPointColumn({
1212
tableId: '<TABLE_ID>',
1313
key: '',
1414
required: false,
15-
default: [[1,2], [3, 4]] // optional
15+
default: [1, 2] // optional
1616
});

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ const result = await tablesDB.updateLineColumn({
1212
tableId: '<TABLE_ID>',
1313
key: '',
1414
required: false,
15-
default: [[1,2], [3, 4]], // optional
15+
default: [[1, 2], [3, 4], [5, 6]], // optional
1616
newKey: '' // optional
1717
});

0 commit comments

Comments
 (0)