The [database_registry->listActiveDatasources] method returns a [queriable_select] with each member being a map of the data source information stored in Lasso's internal databases.
database_registry->listActiveDatasources
The following example uses a query expression to go through and display all the names of the data sources available to the instance.
Code
local(dr) = database_registry
#dr->doWithClose => {^
with ds in #dr-> listActiveDatasources
sum #ds->find('name') + '\n'
^}
Result
MySQLDS PostgreSQL ODBC SQLiteConnector filemakerds
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