Doctrine CouchDB ODM
  1. Doctrine CouchDB ODM
  2. CODM-1

Add converions according to $class->properties[$name]['type']

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None

      Description

      In the ORM we have the Doctrine\DBAL\Types namespace that we have to mirror to Doctrine\ODM\CouchDB\Types. Methods would have to be "convertPhpToJsonValue()" and "convertJsonToPhpValue()" that need to be called during hydration and saving inside the Persister.

      Possible Types for now:

      • String (this is both VARCHAR + CLOB of DBs)
      • Integer
      • Array (uncasted values)
      • Float/Double * Boolean

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Lukas Kahwe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: