← All types
ReportingOb Object

ReportQueryPayload

Result of a MicroSQL reporting query

Fields

headers

[String!]!Non-null

Column names in result order

rows

[[JSON!]!]!Non-null

Result rows, each an array of typed JSON values (string, number, boolean, null) matching headers

rowCount

Int!Non-null

Number of rows returned

limit

IntNullable

Applied row limit; null when no query was executed

True when another matching row exists beyond this page

Next page OFFSET; use the same filters and stable unique ORDER BY

error

StringNullable

Error message if the query failed, null on success

Referenced by (2)
Exact type SDL
"""Result of a MicroSQL reporting query"""
type ReportQueryPayload {
  """Column names in result order"""
  headers: [String!]!
  """
  Result rows, each an array of typed JSON values (string, number, boolean, null) matching headers
  """
  rows: [[JSON!]!]!
  """Number of rows returned"""
  rowCount: Int!
  """Applied row limit; null when no query was executed"""
  limit: Int
  """True when another matching row exists beyond this page"""
  truncated: Boolean!
  """Next page OFFSET; use the same filters and stable unique ORDER BY"""
  nextOffset: Int
  """Error message if the query failed, null on success"""
  error: String
}