Filters and Relations
Editions: Open Source · Free Cloud · Pro · Workers
Admin SDKs build list where variables and mutation connect maps from your published schema. Nested filter and relation keys are snake_case — do not invent camelCase remaps in app code.
List filters
- Pass structured filters through SDK helpers (
buildWhereFromFiltersin JS headless) rather than hand-rolling GraphQL. - Combine tenant filters on SaaS lists.
- Sort / limit / offset (or cursor) per Engine connection shape.
Relations on write
When creating/updating, attach relation connect payloads (ids to link). Disconnect uses the matching disconnect API for your SDK generation. After schema renames, regenerate SDKs so connect keys stay aligned.
Common bugs
| Bug | Fix |
|---|---|
| Empty relation on read | Select relation fields in the generated document |
| Connect ignored | Wrong snake key / stale codegen |
| Cross-tenant leakage | Enforce tenant filter server-side |