Module sql

Source
Available on crate feature flight only.
Expand description

Default FlightDriver for Flight SQL

Structs§

FlightSqlDriver
Default Flight SQL driver. Requires a QUERY to be passed as a table option. If USERNAME (and optionally PASSWORD) are passed, will perform the Handshake using basic authentication. Any additional headers for the GetFlightInfo call can be passed as table options using the HEADER_PREFIX prefix. If a token is returned by the server with the handshake response, it will be stored as a gRPC authorization header within the returned FlightMetadata, to be sent with the subsequent DoGet requests.

Constants§

HEADER_PREFIX
PASSWORD
QUERY
USERNAME