---
title: "SqlInput"
description: "a read-only query, in a strategy"
section: concepts
address: /concepts/sqlinput
contract: 0476e35e6e275db5
---

# SqlInput

a read-only query, in a strategy

[figure: SqlInput is a value at none scope. The drawing shows its fields and the objects that they point at.]

| property | value |
|---|---|
| kind | value |
| scope | none |
| key | none |
| store | none |
| family | harness |



## Fields


| field | type | required | note |
|---|---|---|---|
| `query` | `text` | yes |  |
| `strategy` | `id` | yes |  |
| `bound` | `count` | no |  |



## Routes that use it
- [`/v1/ask/sql`](/reference/ask/sql) takes it as input
