# Interface: FlowQueryDefinition
Definition of a Flo.w reactive dataset query.
# Hierarchy
- FlowQueryDefinition
# Properties
# attributes
• Optional attributes: FlowQueryAttribute[]
Attributes to return in results.
# datasetId
• datasetId: string
ID of dataset to query.
# distinct
• Optional distinct: string | string[]
DISTINCT ON attributes
# format
• Optional format: FlowQueryResultFormat
Format of returned data.
# group
• Optional group: (string | number)[]
Group results by attributes.
# limit
• Optional limit: number
Limit number of returned results
# order
• Optional order: FlowQueryOrderClause[]
Sort results by attributes.
# params
• Optional params: FlowQueryExtraParams
Additional query parameters.
# sample
• Optional sample: FlowQuerySampleOptions
Sampling options.
# where
• Optional where: FlowQueryWhereClauses
Filter results using 'where' clauses.