Skip to content

Commit b2bcaa2

Browse files
mp911deapp
authored and
app
committed
Polishing.
Refine wording about Id field naming. See spring-projects#4694
1 parent 189ed6b commit b2bcaa2

File tree

1 file changed

+1
-1
lines changed
  • src/main/antora/modules/ROOT/pages/mongodb/mapping

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Additionally, the name of the document field can be customized via the `@Field`
5555
| `_id`
5656

5757
| `@Field("x")` `@Id` `String` y
58-
| `x`
58+
| `_id` (`@Field(name)` is ignored, `@Id` takes precedence)
5959
|===
6060

6161
The following outlines what type conversion, if any, will be done on the property mapped to the _id document field.

0 commit comments

Comments
 (0)