Skip to content
Back

CLI - get Database Totals

  • 0
  • 2
  • Databases
  • Cloud
19 Aug, 2026, 16:11

Is there a way with the Appwrite CLI to get table row totals (count)❓

TL;DR
Use the Appwrite CLI command to get table row totals by listing rows with a limit of 1 and parsing the JSON output to display the total count.
19 Aug, 2026, 16:17

yes! eg.

TypeScript
appwrite tablesdb list-rows \
  --database-id <db_id> \
  --table-id <table_id> \
  --limit 1 \
  --json | jq -r '.total'
1
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more