generateSqlSchema.Rd
Take a csv schema definition and create a basic sql script with it.
generateSqlSchema(
csvFilepath = NULL,
schemaDefinition = NULL,
sqlOutputPath = NULL,
overwrite = FALSE
)
Path to schema file. Csv file must have the columns: "table_name", "column_name", "data_type", "is_required", "primary_key"
A schemaDefintiion data.frame` with the columns: tableName, columnName, dataType, isRequired, primaryKey
File to write sql to.
Boolean - overwrite existing file?
string containing the sql for the table