I have a message document for storing messages. Each message is matched with unique post id.
Every time I need to delete/update, I first convert the whole document into dictionary. Then I remove or update the message based on post id. In the end, I insert dictionary back to database. This way is very slow (1 sec ~ 2 sec). I wonder if there is a better way like SELECT query?
Thank you very much