pub async fn connect_from_env() -> Result<KineticaPool, Error>Connect to Kinetica using environment variables.
See connection_url_from_env for the expected environment variables.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
connect_from_env — Kinetica Rust API
pub async fn connect_from_env() -> Result<KineticaPool, Error>Connect to Kinetica using environment variables.
See connection_url_from_env for the expected environment variables.
use gpudb_api::sqlx_support::connect_from_env;
let pool = connect_from_env().await?;