Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
connect_with_options — Kinetica Rust API
pub async fn connect_with_options( options: PgConnectOptions, max_connections: u32,) -> Result<KineticaPool, Error>
Connect to Kinetica using PgConnectOptions.
PgConnectOptions
This gives you full control over connection options.
use gpudb_api::sqlx_support::connect_with_options; use sqlx::postgres::PgConnectOptions; let options = PgConnectOptions::new() .host("localhost") .port(5432) .username("admin") .password("password") .database("postgres"); let pool = connect_with_options(options, 10).await?;