← API reference
CANONICAL TYPE REFERENCE

QuerySchemaPayload

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

Inferred output columns with names and data types

Validation errors with typo-correcting suggestions

validBoolean!

True if the query is valid (errors is empty)

namedParameters[String!]!

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

View exact 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!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.