mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 08:28:42 +00:00
update: examples.
This commit is contained in:
parent
562f5c2a1e
commit
eb201fe2ae
2 changed files with 19 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
appwrite tables listLogs \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--tableId <TABLE_ID> \
|
||||
|
||||
15
docs/examples/1.8.x/console-web/examples/tables/list-logs.md
Normal file
15
docs/examples/1.8.x/console-web/examples/tables/list-logs.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import { Client, Tables } from "@appwrite.io/console";
|
||||
|
||||
const client = new Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
|
||||
const tables = new Tables(client);
|
||||
|
||||
const result = await tables.listLogs(
|
||||
'<DATABASE_ID>', // databaseId
|
||||
'<TABLE_ID>', // tableId
|
||||
[] // queries (optional)
|
||||
);
|
||||
|
||||
console.log(result);
|
||||
Loading…
Reference in a new issue