mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
map jsonb to object vice versa #6241
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @videni on GitHub (May 19, 2019).
Originally assigned to: @Ocramius on GitHub.
Save a plain object using jsonb, when fetch it out, it is automatically mapped to that object again. doctrine-json-odm is a solution, but it is better to use object table mapping instead of serializer.
features required:
@Ocramius commented on GitHub (May 19, 2019):
JSONB is vendor-specific, and we cannot build ORM features for it unless iall other vendors also support it.
Closing as
won't fix: as much as I'd love to basically tell people "just use PostgreSQL", this is not the project where that can be proposed.