mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
update: examples.
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user