David Rogers
08/26/2022, 4:36 PM// throws 'Datasource defined in the application event handler has no name.'
getPageContext().getDataSource("foo").getDatabase()
is there a way to pull the db name out of a datasource definition?zackster
08/26/2022, 6:22 PMDavid Rogers
08/26/2022, 6:31 PMthis.datasources.foo = {
class: '...',
bundleName: '...',
bundleVersion: '...',
connectionString: "...databasename=...",
username : dbUser,
password : dbPass
}
i guess we never tell lucee what it is, we just provide a connection string