Skip to main content

Module request

Module request 

Source
Expand description

The POST /api/v2/statements request body and its query parameters.

Snowflake JSON keys are camelCase, so the structs use #[serde(rename_all = "camelCase")]; absent optionals are omitted on the wire (skip_serializing_if) so a minimal request serializes to just {"statement":"..."}. Identifier fields reuse the franken-snowflake-core newtypes, which serialize transparently as bare strings.

Modules§

bind_type
Common Snowflake binding type names (the type field of a Binding).

Structs§

Binding
A single positional, typed bind value.
SubmitQueryParams
The submit-time query parameters that ride on the POST URL rather than the body. They are the idempotency contract: a stable SubmitQueryParams::request_id plus retry=true makes a resubmit safe (the original result is returned instead of re-running). This struct is a typed carrier for the transport crate to render into a query string; it is not serialized into the body.
SubmitStatementRequest
The body of a POST /api/v2/statements submit.