Skip to content

Commit d028c07

Browse files
committed
DATAMONGO-1404 - Document UUID mapping.
1 parent 3de02cf commit d028c07

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/asciidoc/reference/mapping.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ In addition to these types, Spring Data MongoDB provides a set of built-in conve
9898
| native
9999
| `{"bin" : { "$binary" : "AQIDBA==", "$type" : "00" }}`
100100

101+
| `java.util.UUID` (Legacy UUID)
102+
| native
103+
| `{"uuid" : { "$binary" : "MEaf1CFQ6lSphaa3b9AtlA==", "$type" : "03" }}`
104+
101105
| `Date`
102106
| native
103107
| `{"date" : ISODate("2019-11-12T23:00:00.809Z")}`

0 commit comments

Comments
 (0)