current_database | R Documentation |
Returns the current database in this session. By default your session will be
connected to the "default" database (named "default") and to change database
you can use set_current_database()
.
current_database(sc)
sc |
A |
character(1)
, the current database name.
set_current_database()
, database_exists()
, list_databases()
## Not run: sc <- sparklyr::spark_connect(master = "local") current_database(sc = sc) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.