dropEXTENSION | R Documentation |
Generate a PostgreSQL DROP EXTENSION statement, optionally execute the statement if con is not NULL.
dropEXTENSION(
name,
if_exists = FALSE,
cascade = FALSE,
restrict = FALSE,
con = NULL
)
name |
A string, the "name" parameter for PostgreSQL DROP EXTENSION. |
if_exists |
TRUE/FALSE, if TRUE, adds "IF EXISTS" to PostgreSQL DROP EXTENSION statement. |
cascade |
TRUE/FALSE, if TRUE, adds "CASCADE" to PostgreSQL DROP EXTENSION statement. |
restrict |
TRUE/FALSE, if TRUE, adds "RESTRICT" to PostgreSQL DROP EXTENSION statement. |
con |
A database connection that can be passed to DBI::dbSendQuery/DBI::dbGetQuery. |
A string, PostgreSQL DROP EXTENSION statement; or the results retrieved by DBI::dbSendQuery after executing the statement.
dropEXTENSION("pgcrypto")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.