You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/reference/mapping.adoc
+184Lines changed: 184 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,190 @@ The following outlines what type conversion, if any, will be done on the propert
59
59
60
60
When querying and updating `MongoTemplate` will use the converter to handle conversions of the `Query` and `Update` objects that correspond to the above rules for saving documents so field names and types used in your queries will be able to match what is in your domain classes.
61
61
62
+
[[mapping-conversion]]
63
+
== Data mapping and type conversion
64
+
65
+
This section explain how types are mapped to a MongoDB representation and vice versa. Spring Data MongoDB supports all types that can be represented as BSON, MongoDB's internal document format.
66
+
In addition to these types, Spring Data MongoDB provides a set of built-in converters to map additional types. You can provide your own converters to adjust type conversion, see <<mapping-explicit-converters>> for further details.
0 commit comments