13 lines
211 B
Markdown
13 lines
211 B
Markdown
|
let sdk = new Appwrite();
|
||
|
|
||
|
sdk
|
||
|
setProject('')
|
||
|
;
|
||
|
|
||
|
let promise = sdk.database.listCollections();
|
||
|
|
||
|
promise.then(function (response) {
|
||
|
console.log(response);
|
||
|
}, function (error) {
|
||
|
console.log(error);
|
||
|
});
|