The [database_registry->addDatasource] method is used internally to add a data source to the table of datasources. It takes in a string of the name of the data source to add and an optional boolean specifying whether the data source is active (true - the default) or not (false).
local(dr) = database_registry
#dr->addDatasource("MongoDBDS")
local(dr) = database_registry
#dr->addDatasource("MongoDBDS", false)
No examples found
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments