Skip to content

Support Cascading Deletes #746

Open
Open

Description

@simonask
No description provided.

Activity

  1. kneth commented on May 21, 2015

    @kneth
    Contributor

    Android/Java issue: realm/realm-java#1104

  2. added and removed on Aug 12, 2015
  3. fryossi commented on Nov 10, 2016

    @fryossi

    Please include a solution for updating an existing object (delete the children before update).

  4. finnschiermer commented on Nov 10, 2016

    @finnschiermer
    Contributor

    @fryossi Could you be more specific, I'm not sure I understand exactly what you're asking for?

  5. fryossi commented on Nov 10, 2016

    @fryossi

    As @snowpong wrote:

    If you call copyToRealmOrUpdate() on an existing root object, it will overwrite the child objects with their new data. Note: You'll have orphaned children if the updated root object no longer refers to them. For example Person "Bob" refers to two Dogs, "Fox" and "Rex". But then "Fox" dies and when you call copyToRealmOrUpdate() with a new version of "Bob" you'll still have "Fox" dangling in Realm but "Bob" no longer refers to it.

  6. 11 remaining items

  7. bmunkholm commented on Jun 21, 2018

    @bmunkholm
    Contributor

    @VenomVendor I would love to be able to promise that - pending a common understanding of "soon" ;-) While core already has some support for this, we also need to solve it in the context of Sync before we are ready to expose it in SDKs. There are some constraints on that front that makes it hard for us to predict timelines. But this is one of the major features that soon will be highest on the priority list. The best I can say right now is that it's not abandoned, we will get it done - it's likely in the top-5 priority list of bigger items that we hope to tackle "soon". I know that's pretty vague...Not sure if that helps you.

  8. alihesari commented on Jun 23, 2018

    @alihesari

    @bmunkholm Thanks for your explanation. We use Realm-js for a project. This feature is fifth priority in your list and expressing the order of priority does not help us much to plan. If you can provide an approximate date to add this feature.

  9. bmunkholm commented on Jun 24, 2018

    @bmunkholm
    Contributor

    As we unfortunately can’t provide a timeline, I would suggest you to not depend on this feature for your project.

  10. pedrosimao commented on Sep 1, 2018

    @pedrosimao

    I would love to see this on Realm JS.

  11. RealmBot commented on Apr 17, 2020

    @RealmBot

    ➤ Jørgen Edelbo commented:

    Does embedded objects solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions