Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-720

Ability to call flush only for a given entity

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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
        Benjamin Eberlei added a comment -

        Rescheduled for 2.2

        Show
        Benjamin Eberlei added a comment - Rescheduled for 2.2
        Hide
        Benjamin Eberlei added a comment -
        Show
        Benjamin Eberlei added a comment - Code here, please review https://github.com/doctrine/doctrine2/pull/166
        Hide
        Benjamin Eberlei added a comment -

        This was implemented and is in master.

        Show
        Benjamin Eberlei added a comment - This was implemented and is in master.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: