Skip to main content

read_sql_query

Function read_sql_query 

Source
pub fn read_sql_query<C: SqlConnection>(
    conn: &C,
    query: &str,
) -> Result<DataFrame, IoError>
Expand description

Read the result of a SQL query into a DataFrame.

Matches pd.read_sql_query(sql, con). This is the query-only spelling of read_sql; table-name dispatch stays on read_sql_table.