| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
DEFAULT_DATABASE_NAME |
The default database name if none is specified |
static java.lang.String |
PREFIX |
The prefix |
static java.lang.String |
SETTING_CODECS |
All MongoDB codecs |
static java.lang.String |
SETTING_CONNECTIONS |
All MongoDB connections |
static java.lang.String |
SETTING_CONNECTION_STRING |
The connection string |
static java.lang.String |
SETTING_DATABASE_NAME |
The database name |
static java.lang.String |
SETTING_DECIMAL_TYPE |
Whether to use the decimal type |
static java.lang.String |
SETTING_DEFAULT_MAPPING |
The default mapping |
static java.lang.String |
SETTING_ENGINE |
|
static java.lang.String |
SETTING_HOST |
The host |
static java.lang.String |
SETTING_OPTIONS |
The client options |
static java.lang.String |
SETTING_PASSWORD |
The password |
static java.lang.String |
SETTING_PORT |
The port |
static java.lang.String |
SETTING_STATELESS |
|
static java.lang.String |
SETTING_STRING_IDS_DEFAULT_STORED_AS |
Global default storage type for String id fields when no per-domain
id storedAs: ... mapping is declared. |
static java.lang.String |
SETTING_URL |
The URL |
static java.lang.String |
SETTING_USERNAME |
The username |
The default database name if none is specified
The prefix
All MongoDB codecs
All MongoDB connections
The connection string
The database name
Whether to use the decimal type
The default mapping
The host
The client options
The password
The port
Global default storage type for String id fields when no per-domain
id storedAs: ... mapping is declared. Accepted values are the names (or hex
aliases) 'string' (default, current behavior) and 'objectid'.
When set to 'objectid', every domain that declares String id
without an explicit storedAs will persist _id as a BSON ObjectId,
while keeping the String ergonomics in application code. Domains that use
natural string keys (slug, email, UUID) should opt out per-domain via
static mapping = { id storedAs: String }.
The URL
The username