13 lines
259 B
Markdown
13 lines
259 B
Markdown
|
let sdk = new Appwrite();
|
||
|
|
||
|
sdk
|
||
|
.setProject('')
|
||
|
;
|
||
|
|
||
|
let promise = sdk.database.updateDocument('[COLLECTION_ID]', '[DOCUMENT_ID]', '{}', [], []);
|
||
|
|
||
|
promise.then(function (response) {
|
||
|
console.log(response);
|
||
|
}, function (error) {
|
||
|
console.log(error);
|
||
|
});
|