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

Rename 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 rename.

Rename

WARNING: If you wish to rename category 1 , please use an appropriate name (e.g. General).

metahkg> db.category.updateOne({ id: <id> }, { $set: { name: "<new-category-name>" } })