1
0
Fork 0
mirror of synced 2024-09-13 08:03:33 +12:00
appwrite/app/sdks/php/docs/examples/database/update-document.md

15 lines
257 B
Markdown
Raw Normal View History

2019-05-09 18:54:39 +12:00
<?php
use Appwrite\Client;
use Appwrite\Services\Database;
$client = new Client();
$client
2019-10-02 07:10:33 +13:00
->setProject('')
->setKey('')
2019-05-09 18:54:39 +12:00
;
$database = new Database($client);
2019-10-22 06:15:27 +13:00
$result = $database->updateDocument('[COLLECTION_ID]', '[DOCUMENT_ID]', '{}', [], []);