Skip to content

Support for cascading deletes #1104

@cmelchior

Description

@cmelchior

It should be possible to delete linked objects as well using some defined policy.

Suggestion 1: Possible policies:

  • NEVER
  • IF_LAST_LINK
  • ALWAYS

Suggestion 2: Try to provide the same semantics as the GC, i.e. root objects and strong/weak references. Once an object no longer has any references it is deleted.

Cocoa issue: realm/realm-swift#1186

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions