This function will create a database module skeleton with required elements already populated, based on user inputs. Common database module packages are imported automatically, but developers should add imports to the roxygen skeleton as necessary to both the UI and server functions to collect user info and create a DBI connection object, respectively.

dev_add_database_module(mod_name = NULL, display_name = NULL)

Arguments

mod_name

Required. A string, denoting the module suffix eg: 'mariadb'

display_name

Required. A string, denoting the module display name eg: 'MariaDB Server'. This is the 'user viewable' name that will appear in the database module selector dropdown.

Value

A .R file populated with a database module skeleton

See also

Other Development Functions: dev_add_data_model()