[CODM-1] Add converions according to $class->properties[$name]['type'] Created: 21/Sep/10  Updated: 21/Sep/10

Status: Open
Project: Doctrine CouchDB ODM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Lukas Kahwe Assignee: Benjamin Eberlei
Resolution: Unresolved Votes: 0
Labels: None


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

Generated at Fri Aug 28 23:05:41 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.