diff --git a/en/cookbook/custom-mapping-type-value-sql.rst b/en/cookbook/custom-mapping-type-value-sql.rst new file mode 100644 index 000000000..83d19e968 --- /dev/null +++ b/en/cookbook/custom-mapping-type-value-sql.rst @@ -0,0 +1,8 @@ +Database-level field value conversion using custom mapping types +================================================================ + +.. sectionauthor:: Jan Sorgalla + +When creating entities, you sometimes have the need to transform field values +before they are saved to the database. In Doctrine you can use Custom Mapping +Types to solve this (see: :ref:`my-reference-label`). diff --git a/en/reference/basic-mapping.rst b/en/reference/basic-mapping.rst index 0e1ace490..146c71d6f 100644 --- a/en/reference/basic-mapping.rst +++ b/en/reference/basic-mapping.rst @@ -300,6 +300,8 @@ list: - ``scale``: (optional, default 0) The scale for a decimal (exact numeric) column. (Applies only if a decimal column is used.) +.. _reference-basic_mapping-custom_mapping_types: + Custom Mapping Types --------------------