mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Updated docs and SDK samples
This commit is contained in:
1 parent
1ed91a71b3
commit
4611b985b0
435 files changed
+11803
-569
No files matched your search
@@ -0,0 +1,13 @@
|
||||
let sdk = new Appwrite();
|
||||
|
||||
sdk
|
||||
.setProject('')
|
||||
;
|
||||
|
||||
let promise = sdk.database.createDocument('[COLLECTION_ID]', '{}', [], []);
|
||||
|
||||
promise.then(function (response) {
|
||||
console.log(response);
|
||||
}, function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
Reference in new issue
Block a user