Tag Link | [Lasso_DatasourceModuleName] | Category | Administration |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 3.0 |
Change | Unchanged | Data Source | Any |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x |
[Lasso_DatasourceModuleName] returns the name of the Lasso database connector that hosts a specified database.
The returned value will usually be one of "SQLiteConnector" for the built
[Lasso_DatasourceModuleName: 'Database Name']
Required Parameters | |
---|---|
Database Name | The name of the database for which the module name should be returned. |
To list all of the databases available through Lasso with their associated data source:
Use the [Lasso_DatasourceModuleName] tag to display the data source used by each database listed by the [Database_Names] ... [/Database_Names] container tag.
[Database_Names]
<br>[Database_NameItem]
[Lasso_DatasourceModuleName: (Database_NameItem)]
[/Database_Names]
<br>Contacts.fp5 FMRemoteDataSource
<br>People.fp5 FMRemoteDataSource
<br>Contacts InternalMySQLDS
<br>Lasso_Admin InternalMySQLDS
<br>Lasso_Internal InternalMySQLDS
<br>Site InternalMySQLDS
To check what data source a database is being served by:
Use the [Lasso_DatasourceModuleName] tag. The following example displays what data source is being used to serve the Contacts database.
<br>Contacts.fp5 is being served by [Lasso_DatasourceModuleName].
<br>Contacts is being served by FMRemoteDataSource.