postgres_to_polars 0.2.0

A Rust library for direct and performant conversion of PostgreSQL data to Polars dataframes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::ClientOptions;

#[derive(Debug, Clone)]
pub struct PoolOptions {
    pub max_connections: u32,
    pub client_options: ClientOptions,
}

impl PoolOptions {
    pub fn new(client_options: ClientOptions, max_connections: u32) -> Self {
        Self {
            max_connections,
            client_options,
        }
    }
}