Files
appwrite/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-columns.md
2025-11-03 17:03:45 +13:00

511 B

using Appwrite; using Appwrite.Models; using Appwrite.Services;

Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key

TablesDB tablesDB = new TablesDB(client);

ColumnList result = await tablesDB.ListColumns( databaseId: "<DATABASE_ID>", tableId: "<TABLE_ID>", queries: new List(), // optional total: false // optional );