Browse Source

Polishing.

Refine wording about Id field naming.

See #4694
issue/4755
Mark Paluch 2 years ago
parent
commit
977cc5311a
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 2
      src/main/antora/modules/ROOT/pages/mongodb/mapping/mapping.adoc

2
src/main/antora/modules/ROOT/pages/mongodb/mapping/mapping.adoc

@ -55,7 +55,7 @@ Additionally, the name of the document field can be customized via the `@Field`
| `_id` | `_id`
| `@Field("x")` `@Id` `String` y | `@Field("x")` `@Id` `String` y
| `x` | `_id` (`@Field(name)` is ignored, `@Id` takes precedence)
|=== |===
The following outlines what type conversion, if any, will be done on the property mapped to the _id document field. The following outlines what type conversion, if any, will be done on the property mapped to the _id document field.

Loading…
Cancel
Save