Skip to content
Advertisement

Tag: mongodb-query

MongoDB – Update parts of object

I have the collection that stores documents per some execution Flow. Every Process includes “processes” and each process includes steps. So I end up with a ‘flows’ collection that has documents that look like this: A couple of notes here: Each flow contains many processes Each process contains at least one step, it is possible that in different processes the

Encrypt password fields in mongodb

I have following code, it insert the userName and password into database but the password is stored in plain text format. I mean when I’ll look into the db I can see the inserted password. I want to store password in encrypted format How can I achieve this? Answer According to the conversation in the comments, what you mean is

Advertisement