View source: R/mdl_get_connection.R
mdl_get_connection | R Documentation |
Returns a connection to a Moodle database or the cached version if available.e
mdl_get_connection(use_cache = TRUE, config = "default")
use_cache |
If TRUE (the default) connection to the local cache is returned. |
config |
Select configuration from config file |
a DBI connection object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.