The [database_registry->getDatabaseById] method searches Lasso's internal databases to find the database with the specified ID. 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->getDatabaseById(#intID)
The example below will display the string representation of the map data for the database whose ID is 5.
Code
local(dr) = database_registry
#dr->doWithClose => {^
#dr->getDatabaseById(5)
^}
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