const mixinafMorphia::MorphiaConfigIds
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` }
- intSequencesCollectionName
const static Str intSequencesCollectionName := "afMorphia.intSequencesCollectionName"
The name of the collection used by IntSequences to store last ID information.
- 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` }