Struct polars_sql::SQLContext
source · pub struct SQLContext {
pub table_map: PlHashMap<String, LazyFrame>,
}Fields§
§table_map: PlHashMap<String, LazyFrame>Implementations§
source§impl SQLContext
impl SQLContext
pub fn try_new() -> PolarsResult<Self>
pub fn register(&mut self, name: &str, lf: LazyFrame)
pub fn execute_statement(&self, stmt: &Statement) -> PolarsResult<LazyFrame>
pub fn execute(&self, query: &str) -> PolarsResult<LazyFrame>
Trait Implementations§
source§impl Clone for SQLContext
impl Clone for SQLContext
source§fn clone(&self) -> SQLContext
fn clone(&self) -> SQLContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for SQLContext
impl Default for SQLContext
source§fn default() -> SQLContext
fn default() -> SQLContext
Returns the “default value” for a type. Read more