2019-06-10 06:13:55 +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-06-10 06:13:55 +12:00
|
|
|
;
|
|
|
|
|
|
|
|
$database = new Database($client);
|
|
|
|
|
2019-10-22 07:03:06 +13:00
|
|
|
$result = $database->updateCollection('[COLLECTION_ID]', '[NAME]', [], []);
|