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

Source

const static Str intSequencesCollectionName := "afMorphia.intSequencesCollectionName"

The name of the collection used by IdSequences to store last ID information.

mongoUrl

Source

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`
}