Doctrine MongoDB ODM
  1. Doctrine MongoDB ODM
  2. MODM-1

Using Doctrine\Common\Collections\Collection

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0ALPHA1
    • Fix Version/s: 1.0.0ALPHA1
    • Component/s: None
    • Labels:
      None

      Description

      Collections of objects in mongodb entities/documents should be handled like in the ORM through the Common collections.
      This makes it possible to use similar transparent lazy-loading strategies, without $em->loadEntityAssociations which is contrary to the idea of transparent persistence.
      Also this would make mongo entities/documents compatible with orm/relational entities, that is, using the same class(es) as a mongo and orm entity.

      This goes for other potential upcoming projects, like couchdb, too. We should always encourage the use of the Doctrine Common collections in domain models.

        Activity

        Roman S. Borschel created issue -
        Jonathan H. Wage made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jonathan H. Wage made changes -
        Affects Version/s 1.0.0ALPHA1 [ 10064 ]
        Fix Version/s 1.0.0ALPHA1 [ 10064 ]

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Roman S. Borschel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: