Skip to main content
If the query is not based on a topic, this parameter will not be included in the generated query view modeling.

Syntax

query:
  topic: <topic_name>

Properties

query
object[]
An object containing the individual parameters that make up a query view’s query definition.

Examples

Query based on orders topic
query:
  fields:
    users.age: age
    users.created_at[year]: created_at_year
  topic: orders