View source: R/check_if_table_exists.R
check_if_table_exists | R Documentation |
Check if a database table exists.
check_if_table_exists(db_con, table_name)
db_con |
A DBI database connection. See 'db_connection()' for details. |
table_name |
(String) The name of the table or view to be checked. |
True, if the table exists, false otherwise.
## Not run:
res <- DIZutils::check_if_table_exists(
db_con = DIZutils::db_connection(...),
table_name = "my_table"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.