Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-720

Ability to call flush only for a given entity

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      In a nutshell, this change would mean that flush() can optionally accept an entity as an argument. When that happens, the resulting changeset will be limited to that entity and any entity reachable from it.

      The IRC transcript contains more details.

        Activity

        Hide
        beberlei Benjamin Eberlei added a comment -

        This was implemented and is in master.

        Show
        beberlei Benjamin Eberlei added a comment - This was implemented and is in master.
        Hide
        beberlei Benjamin Eberlei added a comment -
        Show
        beberlei Benjamin Eberlei added a comment - Code here, please review https://github.com/doctrine/doctrine2/pull/166
        Hide
        beberlei Benjamin Eberlei added a comment -

        Rescheduled for 2.2

        Show
        beberlei Benjamin Eberlei added a comment - Rescheduled for 2.2

          People

          • Assignee:
            beberlei Benjamin Eberlei
            Reporter:
            amirabiri Amir Abiri
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: