The [database_registry->getDatasourceId] method takes in the name of a data source and returns the ID used in Lasso's internal SQLite databases.
database_registry->getDatasourceId(#ds_name)
Code
local(dr) = database_registry
#dr->doWithClose => {^
#dr->getDatasourceID('MySQLDS')
^}
Result
1
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