Register multiple eager/lazy frames as tables, using the associated names
Description
Register multiple eager/lazy frames as tables, using the associated names
Usage
<SQLContext>$register_many(...)
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")
df <- pl$DataFrame(x = 1)
df2 <- pl$DataFrame(x = 2)
df3 <- pl$DataFrame(x = 3)
ctx <- pl$SQLContext()
ctx$register_many(tab1 = df, tab2 = df2, tab3 = df3)
#> <polars_object>