Querying data sources
Hoverfly Cloud supports data queries from a CSV Data Source for Enterprise customers to do key value data lookups and simulate persistence.
Reading from a CSV Data Source
id
category
name
status
Single value lookup with {{csv}}
{{csv 'data-source-name' 'column-name' 'query-value' 'selected-column' }}{{ csv 'pets' 'id' '1001' 'name' }}ZipperMore advanced examples: Single value lookup with {{csv}}
Retrieve all rows as a map with {{csvAsMap}}
Retrieve filtered rows as a map with {{csvMatchingRows}}
Advanced querying with SQL SELECT {{csvSqlCommand}}
Last updated