Skip to main content

Module query

Module query 

Source
Expand description

Query contract DTOs (HTTP /query endpoints).

Previously mirrored between api/server/http/handlers/query_types.rs and cli/client/{types,request_types,response_types}.rs; this is the single source of truth for both sides.

Structs§

BatchQueryRequest
Batch query request: multiple auto-commit DML statements executed inside a single shared auto-commit batch window.
BatchQueryResponse
Batch query response: one QueryResponse per input statement, in order.
CloseCursorRequest
Release a cursor.
CloseCursorResponse
Cursor release outcome: false when the id was already gone.
ErrorPosition
Error position within the query text (1-based line and column).
ExplainRequest
Explain request: plan a statement without executing it.
FetchCursorRequest
Fetch one page from a cursor.
FetchCursorResponse
One fetched page: rows in column order plus exhaustion flag.
OpenCursorRequest
Open a forward-only cursor over a single statement’s result.
OpenCursorResponse
Open cursor response: server-assigned id plus upfront column names.
QueryData
Query data
QueryError
Query error.
QueryMetadata
Query metadata
QueryRequest
Query request
QueryResponse
Query response (structured)
QueryStageTimings
Per-stage timings in milliseconds for query portraits.
StreamQueryRequest
Streaming query request (SSE /stream endpoint).
ValidateRequest
Verify the response.
ValidateResponse
Verify the response.