So, while building a webpage, I'd like to add a feature where you can change your password, email etc.. And I have all that info stored inside my database kinda like this:
// This is what it looks like in mongodb compass
Credentials: Array
0:
"email"
1:
"password"
how could I update 0 or 1?