api / StatesQuery

# StatesQuery

`interface StatesQuery`

Extremely rudimentary query language which should most likely be replaced with a product

### Types

Criteria | `interface Criteria`
Selection | `data class Selection : StatesQuery`

### Companion Object Functions

select | `fun select(criteria: Criteria): Selection`
selectAllDeals | `fun selectAllDeals(): Selection`
selectDeal | `fun selectDeal(ref: String): Selection`

### Inheritors

Selection | `data class Selection : StatesQuery`