2019-08-07 02:00:08 +12:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Appwrite\Client;
|
|
|
|
use Appwrite\Services\Database;
|
|
|
|
|
|
|
|
$client = new Client();
|
|
|
|
|
|
|
|
$client
|
2019-10-02 07:10:33 +13:00
|
|
|
->setProject('')
|
2020-01-29 02:16:33 +13:00
|
|
|
->setKey('')
|
2019-08-07 02:00:08 +12:00
|
|
|
;
|
|
|
|
|
|
|
|
$database = new Database($client);
|
|
|
|
|
|
|
|
$result = $database->getCollection('[COLLECTION_ID]');
|