The [database_registry->getDatabaseByAlias] method searches Lasso's internal databases to match the specified string with a database's unique alias. It then returns a map, the keys of which are the column names for the table that tracks the databases, and the values are the values for the found database.
database_registry->getDatabaseByAlias('lasso_email')
The example below will display the string representation of the map data for the "lasso_email" database by searching for it by its unique alias.
Code
local(dr) = database_registry
#dr->doWithClose => {^
#dr->getDatabaseByAlias('lasso_email')
^}
Result
map(alias = lasso_email, enabled = Y, id = 5, id_datasource = 4, id_host = 1, name = lasso_email)
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