Description Usage Arguments Value Examples
View source: R/AmerAssocIndividInvestorsAAII.R
Create a schema in the database.
1 2 3 4 5 6 7 8 9 | dbCreateSchemaEM(
connName,
schema,
role_specification = schema,
grant_all_roles = schema,
env,
display = TRUE,
exec = TRUE
)
|
connName |
String. Default is "connEM". Contains the name of the variable that contains the name of the "connection" in the environment "env". |
schema |
String. Required. Potential schema in the database. |
env |
Environment. Default is the .Global environment. This is the environment to return the connection object "connEM". |
display |
Logical. Whether to display the query (defaults to |
exec |
Logical. Whether to execute the query (defaults to |
role_specification. |
String. The schema role specification. Defaults to "schema". |
grant_all |
vector of Strings. Roles to be GRANT ALLed to this schema. Defaults to "schema". |
TRUE(success) or Error(failure)
1 2 3 4 5 6 7 8 9 | ## Not run:
# Does not check if the schema already exists
dbCreateSchemaEM(schema = "r_user")
# Later
dbCreateSchemaEM(schema = "r_user_2", role_specification = "r_user", grant_all_roles = "r_user")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.