Metahkg Docs
Customize
Visit Metahkg Docs on GitLab
Set theme to dark (⇧+D)

Remove Category

Log into mongodb

mongosh mongodb://<username>:<password>@localhost:30000/metahkg

List the categories

metahkg> db.category.find().pretty()

Find the id of the one you want to remove.

Remove

WARNING: DO NOT remove category 1 , or the output might not be as expected.

metahkg> db.category.deleteOne({ id: <id> })