Create local cache from a Moodle Database.
mdl_create_cache(
con = mdl_get_connection(use_cache = FALSE),
format = c("sqlite"),
tbl_prefix = "mdl_",
output_dir = mdl_get_cache_dir(),
output_filename = mdl_get_cache_filename()
)invisible(NULL)
a database connection (to a moodle database)
output format (mysql, csv)
Moodle DB table prefix
where does the cache go
filename (in the case of sqlite output), or prefix (in_case of CSV download)