schema_exists: Test if a schema exists in given connection

View source: R/schema_exists.R

schema_existsR 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)


SCDB documentation built on Oct. 4, 2024, 1:09 a.m.