powered by
Test if a schema exists in given connection
schema_exists(conn, schema)
TRUE if the given schema is found on conn.
conn
(DBIConnection(1)) Connection object.
DBIConnection(1)
(character(1)) The schema name to test existence for.
character(1)
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