LassoScript Utility
Basics Browse Detail


Tag Link [Lasso_DatasourceIs] Category Administration
Type Substitution Source Available Yes
Support Preferred Version 8.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LDML Sets Lasso 8.5, Lasso 8.0


[Lasso_DatasourceIs] takes two parameters: the name of a database and the name of a data source. It returns True if the database is hosted by the data source or False otherwise. The data source name should be the internal name which is reported by Site Administration or JDBC.


[Lasso_DatasourceIs: (Database_Name), 'sqlite']


Required Parameters
Database Name The name of the database to check.
Datasource Type The name of the data source to check.


See the Lasso 8 Language Guide for examples of how to use this tag.