Skip to content

Initialize a new SQLContext

Description

Initialize a new SQLContext

Usage

pl$SQLContext(...)

Arguments

\<dynamic-dots\> Elements that are known in the current SQLContext. It accepts any R object that can be converted to a LazyFrame via as_polars_lf(). All elements must be named.

Value

An object of class “polars_sql_context”

Examples

library("polars")

pl$SQLContext(mtcars = mtcars)
#> <polars_object>
pl$SQLContext(mtcars = mtcars, a = data.frame(x = 1))
#> <polars_object>