Query rows
Use the structured query model for most requests. It supports:- bounded pagination;
- field projection;
- nested
and,or, andnotfilters; - sorting, grouping, and distinct selection;
- type-aware casts;
- supported joins and common table expressions on surfaces that explicitly allow them.
Platform API read paths
The generated Platform API exposes two complementary read operations:
Both return
data, results, and next, plus total only when count is requested. The body-based query does not publish a larger guaranteed page ceiling. Keep pages bounded and prefer keyset-like business filters for large data sets instead of increasing skip indefinitely.
Preview a read plan
Usedebug: true on api.getDatabaseData to inspect the complete estimated read
plan before fetching records. count: true also previews the count plan. The
result contains debug.explain and optional debug.countExplain; it contains no
records or pagination result. Omit debug to fetch records normally.
getDatabaseData, rather than row, count or walk helpers. An unsupported data
source rejects the diagnostic request without running the read.
Continue with databases.
