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
2019-10-21 20:15:27 +03:00

15 lines
No EOL
257 B
Markdown

<?php
use Appwrite\Client;
use Appwrite\Services\Database;
$client = new Client();
$client
->setProject('')
->setKey('')
;
$database = new Database($client);
$result = $database->updateDocument('[COLLECTION_ID]', '[DOCUMENT_ID]', '{}', [], []);