Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
/levelupPublic archive
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

clear() method #648

Description

@iddan

A DB method for removing all the keys and values. Currently doing it like:

db.createKeyStream().on("data",key=>{db.del(key);});

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsemver-minorNew features that are backward compatible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions