15 lines
221 B
Markdown
15 lines
221 B
Markdown
|
<?php
|
||
|
|
||
|
use Appwrite\Client;
|
||
|
use Appwrite\Services\Database;
|
||
|
|
||
|
$client = new Client();
|
||
|
|
||
|
$client
|
||
|
setProject('')
|
||
|
setKey('')
|
||
|
;
|
||
|
|
||
|
$database = new Database($client);
|
||
|
|
||
|
$result = $database->listDocuments('[COLLECTION_ID]');
|