Module mz_environmentd::http::sql
source · Structs§
- An request to execute a SQL query using the extended protocol.
- The response to a
SqlRequest
.
Enums§
- A request to execute SQL over HTTP.
- The result of a single query in a
SqlResponse
. - Statement
Result π
Statics§
- PER_
REPLIC πA_ LABELS
Traits§
- Result
Sender πTrait describing how to transmit a response to a client. HTTP clients accumulate into a Vec and send all at once. WebSocket clients send each message as they occur.
Functions§
- await_
rows π - execute_
request πExecutes an entireSqlRequest
. - execute_
stmt πExecutes a single statement in aSqlRequest
. - execute_
stmt_ πgroup Returns Ok(Err) if any statement errorβd during execution. - forward_
notices πForwards a collection of Notices to the providedWebSocket
. - handle_
promsql_ πquery - is_
txn_ πexit_ stmt - make_
notices π - run_ws π
- run_
ws_ πrequest - send_
and_ πretire - send_
ws_ πresponse Sends a singleWebSocketResponse
over the providedWebSocket
.