doctrine / doctrine/common

DCOM-311: Design API to convert values to DB-level values

Open
#626 0 comments 0 reactions 1 assignee Claimed by @guilhermeblanco View on GitHub
Dominant language
PHP
Stars
5.8k
Forks
284
PR merge metrics
No merged PRs in 30d

Description

Jira issue originally created by user @ocramius:

We currently use DBAL types to convert from PHP-side values to DB values:
1. we need to stop referencing types by string: the conversion should be part of the mapping
2. we need to be able to dump the code for the conversion (to allow inlining)
3. the DB value definition must own:
- the column where the value needs to be saved
- the table where the value is saved (eases STI/JTI decisions)
- the strategy to fetch the field (lazy/eager/etc)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.