1
0
mirror of synced 2025-02-10 01:09:26 +03:00

Merge pull request #6788 from kejwmen/fix/custom-types-docs

[Docs] Type::convertToDatabaseValue is always called
This commit is contained in:
Marco Pivetta 2017-10-24 08:46:02 +02:00 committed by GitHub
commit 2129801ac1

View File

@ -49,8 +49,6 @@ you wish. Here is an example skeleton of such a custom type class:
The following assumptions are applied to mapping types by the ORM: The following assumptions are applied to mapping types by the ORM:
- If the value of the field is *NULL* the method
``convertToDatabaseValue()`` is not called.
- The ``UnitOfWork`` never passes values to the database convert - The ``UnitOfWork`` never passes values to the database convert
method that did not change in the request. method that did not change in the request.
- The ``UnitOfWork`` internally assumes that entity identifiers are - The ``UnitOfWork`` internally assumes that entity identifiers are