StructsΒ§
- Backend
KeyData - Column
- Command
Starting - Description
- Extended
Request - An request to execute a SQL query using the extended protocol.
- Notice
- Parameter
Status - SqlError
- SqlResponse
- The response to a
SqlRequest
.
EnumsΒ§
- Error
- SqlRequest
- A request to execute SQL over HTTP.
- SqlResult
- The result of a single query in a
SqlResponse
. - Statement
Result π - WebSocket
Auth - WebSocket
Response
StaticsΒ§
- PER_
REPLICA_ π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_
promsql_ πquery - execute_
request π - Executes an entire
SqlRequest
. - execute_
stmt π - Executes a single statement in a
SqlRequest
. - execute_
stmt_ πgroup - Returns Ok(Err) if any statement errorβd during execution.
- forward_
notices π - Forwards a collection of Notices to the provided
WebSocket
. - handle_
promsql - handle_
promsql_ πquery - handle_
sql - handle_
sql_ ws - is_
txn_ πexit_ stmt - make_
notices π - run_ws π
- run_
ws_ πrequest - send_
and_ πretire - send_
ws_ πresponse - Sends a single
WebSocketResponse
over the providedWebSocket
.