The [database_registry->getDatasourceName] method takes in the ID for a data source and returns its name.
database_registry->getDatasourceName(#ds_id)
The following example looks up and displays the name for the data source whose ID in the internal Lasso databases is 4.
Code
local(dr) = database_registry
#dr->doWithClose => {^
#dr->getDatasourceName(4)
^}
Result
SQLiteConnector
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