update: examples.

This commit is contained in:
Darshan committed 2025-06-25 19:07:26 +05:30
1 parent 562f5c2a1e
commit eb201fe2ae
2 files changed
+19

No files matched your search

@@ -0,0 +1,4 @@
appwrite tables listLogs \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
@@ -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);