Skip to main content

read_sql_table_chunks

Function read_sql_table_chunks 

Source
pub fn read_sql_table_chunks<'conn, C: SqlConnection + 'conn>(
    conn: &'conn C,
    table_name: &str,
    chunk_size: usize,
) -> Result<SqlChunkIterator<'conn>, IoError>
Expand description

Read an entire SQL table as an iterator of DataFrame chunks.

Matches the supported subset of pd.read_sql_table(table_name, con, chunksize=...).