Converts a MySQL schema file to a sqlite schema. Facilitates easier creation of in-memory (i.e. sqlite) tables.
Source:R/devtools.R
convert_schema_to_sqlite.Rd
Converts a MySQL schema file to a sqlite schema. Facilitates easier creation of in-memory (i.e. sqlite) tables.
Examples
if (FALSE) { # \dontrun{
mem_conn <- DBI::dbConnect(RSQLite::SQLite(), dbname = ":memory:")
translated_schema <- convert_schema_to_sqlite("~/documents/my_cool_schema.sql")
DBI::dbSendQuery(mem_conn, schema)
} # }