Safe Haskell | Safe-Infered |
---|
Data.Factual.Query.MatchQuery
Contents
Description
This module exports the type used to create match queries.
- data MatchQuery = MatchQuery [MatchValue]
- data MatchValue
MatchQuery type
data MatchQuery Source
A match query is formed as an array of match values. These values will be compared with Factual records to return a cleaner, more canonical row of data.
Constructors
MatchQuery [MatchValue] |
Instances
MatchValue type
data MatchValue Source
A match value can either be a String or a Number (Double). The first argument is the name of the field and the second argument is the input value.
Instances