-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Updating Doctrine field types #2920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1418,12 +1418,19 @@ using. The following types are supported in Doctrine: | |
* ``date`` | ||
* ``time`` | ||
* ``datetime`` | ||
* ``datetimetz`` | ||
|
||
* **Other Types** | ||
|
||
* ``boolean`` | ||
* ``object`` (serialized and stored in a ``CLOB`` field) | ||
* ``array`` (serialized and stored in a ``CLOB`` field) | ||
* ``simple_array`` (serialized using :phpfunction:`implode()` and :phpfunction:`explode()`, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. New in doctrine 2.3 |
||
with a comma as delimiter, and stored in a ``CLOB`` field) | ||
* ``json_array`` (serialized using :phpfunction:`json_encode()` and :phpfunction:`json_decode()`, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. New in doctrine 2.3 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the () shuld get removed from the phpfunction role |
||
and stored in a ``CLOB`` field) | ||
* ``blob`` (mapped to a resource stream) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. New in doctrine 2.2 |
||
* ``guid`` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. New in doctrine 2.3 |
||
|
||
For more information, see Doctrine's `Mapping Types documentation`_. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As of doctrine 1.0