const classafMorphia::MorphiaConfigIds
sys::Obj afMorphia::MorphiaConfigIds
IoC Config
values as provided by Morphia. To change their value, override them in your AppModule. Example:
@Contribute { serviceType=ApplicationDefaults# } static Void contributeAppDefaults(Configuration config) { config[MorphiaConfigIds.mongoUrl] = `mongodb://localhost:27017/exampledb` }
- mongoUrl
const static Str mongoUrl := "afMorphia.mongoUrl"
Use to set the Mongo Connection URL.
@Contribute { serviceType=ApplicationDefaults# } static Void contributeAppDefaults(Configuration config) { config[MorphiaConfigIds.mongoUrl] = `mongodb://localhost:27017/exampledb` }