Skip to content

del() empties entire storage #49

@BigBlueHat

Description

@BigBlueHat

So...this seems to be close to the root of the new problems.

  1. Store some stuff.
  2. db.jsonld.del({}, console.log.bind(console))
  3. db.get({}, (err, list) => console.log(list.length)) ... returns 0

Doing the same with db.del({}, console.log.bind(console)) doesn't empty anything--which would be the expected behavior.

I'm reading through the code now to see where I can help. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions