Uploaded image for project: 'Doctrine CouchDB ODM'
  1. Doctrine CouchDB ODM
  2. CODM-1

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 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

        lsmith Lukas Kahwe created issue -

          People

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

            Dates

            • Created:
              Updated: