@baris Thanks, now that it's a builtin function, it's even better.
How about notifications that refers to the deleted topic, is these not required to be deleted?
@baris Thanks, now that it's a builtin function, it's even better.
How about notifications that refers to the deleted topic, is these not required to be deleted?
I just want a quick solution.
If you look at the code, I already use the db methods, but the db doesn't provide method to iterate the keys so I have to call redis client directly.
Hi,
Since nodebb does not remove post from the database (only marking it as deleted), I have created this script to remove the post
from the database (redis only).
https://gist.github.com/char101/501566ff853797678442
Put it in the same location as config.json, modify as needed, and run with:
$ node remove_post.js.