schema_exists {SCDB}R Documentation

Test if a schema exists in given connection

Description

Test if a schema exists in given connection

Usage

schema_exists(conn, schema)

Arguments

conn

(DBIConnection(1))
Connection object.

schema

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

Value

TRUE if the given schema is found on conn.

Examples


  conn <- get_connection()

  schema_exists(conn, "test")

  close_connection(conn)


[Package SCDB version 0.4.0 Index]