Skip to content

Unregister tables by name

Source code

Description

Unregister tables by name.

Usage

<SQLContext>$unregister(names)

Arguments

names A character vector of table names to unregister.

Value

Returns the SQLContext object invisibly.

Examples

library("polars")


# Initialise a new SQLContext and register the given tables.
ctx = pl$SQLContext(x = mtcars, y = mtcars, z = mtcars)
ctx$tables()
#> [1] "x" "y" "z"
# Unregister some tables.
ctx$unregister(c("x", "y"))
ctx$tables()
#> [1] "z"