Learn R Programming

SCDB (version 0.5.1)

schema_exists: Test if a schema exists in given connection

Description

Test if a schema exists in given connection

Usage

schema_exists(conn, schema)

Value

TRUE if the given schema is found on conn.

Arguments

conn

(DBIConnection(1))
Connection object.

schema

(character(1))
The schema name to test existence for.

Examples

Run this code
if (FALSE) { # requireNamespace("RSQLite", quietly = TRUE)
  conn <- get_connection()

  schema_exists(conn, "test")

  close_connection(conn)
}

Run the code above in your browser using DataLab