This section describes how to add data sources to Lasso 9.
Adding Filemaker, MySQL and SQLite datasources
Adding data sources to Lasso 9 is quicker and simpler than Lasso 8.x as there is only one place you need to go in the Lasso Server Admin to give your code access to your databases. The following example shows you how to create a MySQL data source.
You have now setup databases in Lasso 9 Server Admin that can be accessed in your code through the use of the
inline(-database='database_name' ...)
tag. (See the Language Guide for more information on the
inline
tag.)
Adding JDBC datasources
Adding JDBC data sources follows the same procedure as other data sources, but first one must add the necessary JDBC connector to the JDBCDrivers folder in Lasso9.