gorm-mongodb icon indicating copy to clipboard operation
gorm-mongodb copied to clipboard

Request scoped bean databaseName+"DB" is not working

Open bond- opened this issue 6 years ago • 0 comments

As per http://gorm.grails.org/latest/mongodb/manual/index.html#lowLevelApi

A request scoped bean is also available for the default database (typically the name of your application, unless specified by the databaseName config option, plus the suffix "DB").

This doesn't seem to be working. Can you please update the documentation or if it's a bug please fix it.

I have the following in databaseName = 'lm' and using def lmDB in controller doesn't work.

bond- avatar Nov 26 '18 19:11 bond-