Lasso Soft Inc. > Home

[ database_registry->getDatasourceName ]

Method

The [database_registry->getDatasourceName] method takes in the ID for a data source and returns its name.

  • Syntax
database_registry->getDatasourceName(#ds_id)
Examples
  • Beginner

Display a Data Source Name

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

Recent Comments

No Comments found

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft