Skip to main content

api.getDatabaseData()

Reads rows from a database, view, or materialized view using the structured query shape. Notes:
  • This is the canonical read API.
  • debug:true previews the complete estimated read/count plans without fetching records. The result contains only debug.explain and optional debug.countExplain. Unsupported data sources and writable caller transactions reject diagnostics.
  • Pass take: null for a bounded 2,000-row page without a warning.
  • Omitting take also uses 2,000 rows and logs one warning per execution.

Overloads

Example

See all api methods or runtime basics.
Last modified on November 8, 2026