Skip to content

Add deleteObject(key) to ReadWriteTransaction #1555

@designatednerd

Description

@designatednerd

As raised by #1551, when you remove something from a list its reference is deleted, but the object the reference was referring to may become orphaned if there are no other references to it.

Long-term we should be looking into something similar to what the web client is doing with garbage collection, but as a short-term workaround, we can add (with sufficient warnings about potentially creating invalid references) an option to delete the value for a particular key if the developer is able to know for certain that something should be completely removed from the DB.

Metadata

Metadata

Labels

cachingenhancementIssues outlining new things we want to do or things that will make our lives as devs easier

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions