← All types
ReportingOb Object

QuerySchemaPayload

Result of analyzing a MicroSQL query's output schema without executing it

Fields

Inferred output columns with names and data types

Validation errors with typo-correcting suggestions

valid

Boolean!Non-null

True if the query is valid (errors is empty)

Named parameter placeholders found in the query (e.g. ['status', 'region'] for :status and :region)

Referenced by (1)
Exact type SDL
"""
Result of analyzing a MicroSQL query's output schema without executing it
"""
type QuerySchemaPayload {
  """Inferred output columns with names and data types"""
  columns: [QueryColumnInfo!]!
  """Validation errors with typo-correcting suggestions"""
  errors: [QuerySchemaError!]!
  """True if the query is valid (errors is empty)"""
  valid: Boolean!
  """
  Named parameter placeholders found in the query (e.g. ['status', 'region'] for :status and :region)
  """
  namedParameters: [String!]!
}