factual-api-0.5.0: A driver for the Factual API

Safe HaskellSafe-Infered

Data.Factual.Query.MatchQuery

Contents

Description

This module exports the type used to create match queries.

Synopsis

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] 

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.