Create a schema for the current dialect
Source:R/Dialect-mssql.R, R/Dialect-postgres.R, R/Dialect.R, and 1 more
create_schema.RdBy default, this is a no-op. Implement dialect-specific ones as needed.
Usage
create_schema.mssql(x, .schema)
create_schema.postgres(x, .schema)
create_schema(x, .schema)
create_schema.default(x, .schema)
create_schema.sqlite(x, .schema)Functions
create_schema.mssql(): Create the schema for SQL Server. `CREATE SCHEMA` must be the only statement in its batch, so it is run through `EXEC`.create_schema.postgres(): Create the schema for PostgreSQL. Suppresses notices when the schema already exists.create_schema.sqlite(): SQLite does not support schemas