Lasso Soft Inc. > Home

[ database_registry->addDatasource ]


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). 

  • Syntax
local(dr) = database_registry

local(dr) = database_registry
#dr->addDatasource("MongoDBDS", false)

No examples found

Recent Comments

No Comments 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. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft