Documentation Index
Fetch the complete documentation index at: https://docs.ivory.finance/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Request body
| Field | Required | Default | Description |
|---|---|---|---|
sql | Yes | — | QuestDB SQL query |
limit | No | 1000 | Auto-appended LIMIT for SELECT queries that have none |
QuestDB SQL highlights
QuestDB extends SQL with time-series primitives:| Clause | Description | Example |
|---|---|---|
SAMPLE BY | Aggregate by time bucket | SAMPLE BY 1h |
LATEST ON | Last row per partition key | LATEST ON ts PARTITION BY ticker |
dateadd() | Date arithmetic | dateadd(d, -7, now()) |
TIMESTAMP(col) | Designate timestamp column | Used in CREATE TABLE |
Every query is logged in
rt.questdb_queries for audit purposes. The log records the SQL, row count returned, and latency.
