Native model
report_source
Declare a named report_source value and reference it as report_source.your_name. Models have no separate platform identity or lifecycle.
Fields
One query whose rows become a dataset named after the source. Write MicroSQL or a read-only GraphQL query; parameter values are supplied when the report runs.
cursorVariableOptionalGraphQL only: the variable that receives the next page's cursor, so every page is loaded. Needs a resultPath pointing at a connection with edges and pageInfo.
kindRequiredThe query language.
- Allowed values
["MICRO_SQL","GRAPHQL"]
nameRequiredName of the dataset this source produces, used by transforms, outputs and templates. parameters, datasets and reportMeta are reserved.
queryRequiredstring
- Minimum length
0
resultPathOptionalGraphQL only: dot path under data to the rows. Leave it out to use the whole result.
Only the fields listed here are accepted.