15 lines
No EOL
238 B
Markdown
15 lines
No EOL
238 B
Markdown
<?php
|
|
|
|
use Appwrite\Client;
|
|
use Appwrite\Services\Database;
|
|
|
|
$client = new Client();
|
|
|
|
$client
|
|
->setProject('')
|
|
->setKey('')
|
|
;
|
|
|
|
$database = new Database($client);
|
|
|
|
$result = $database->updateCollection('[COLLECTION_ID]', '[NAME]'); |